cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for return sales order

Former Member
0 Kudos

Hi,

what BAPI that can be used for Return Sales Order? BAPI SALES_ORDER_CREATEFROMDAT2 cant work, I get return message as error : 'Unpermitted combination of business object BUS2032 and sales document type category H'.

thanks alots.

Alia

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The BAPI - BAPI_CUSTOMERRETURN_CREATE will work prefectly if you fill-in the table for schedules for all line items.

If the schedules table is not filled, even though all remaining tables are populated correctly, you will find that the quantities will be zero.

Regards,

Raj

FredericGirod
Active Contributor
0 Kudos

Hi Alia,

Go to transaction BAPI, and in the tree go to :

Sales and Distribution -> Sales -> SalesOrder

You will have a list of all the BAPI for the Sales Order. If you want a list of Sales Order, maybe you need the GetList BAPI : BAPI_SALESORDER_GETLIST

Rgd

Frédéric

Former Member
0 Kudos

Hi Frederic,

thanks. I am looking for BAPI to goods return from customer.

thanks alots.

alia

Former Member
0 Kudos

Hi,

I think you can use BAPI - BAPI_CUSTOMERRETURN_CREATE

Hope this helps..

Sri

Former Member
0 Kudos

Hi Sri, thanks a million. It works perfectly.

Many thanks.

Alia

Former Member
0 Kudos

I am trying to use this bapi but without luck.

My interface is populated with a qty of 1 but the Change Warranty Returns screen shows a qty of 0.

Any suggestions?

Thanks,

Steve

Former Member
0 Kudos

Hi Steve,

did you put '1' or '1000'?

Alia

Former Member
0 Kudos

Hi Alia.

The input is 1 not 1000. Sholud it be 1000?

I was just assigned this problem yesterday and am trying to understand the process.

Can you send me your header parameters? Also, do you know function of the logic_switch parameter?

Thanks,

Steve