Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem when using BAPI to create return order

Former Member
0 Likes
585

Hi All,

I need urgent Information.

I am using BAPI_CUSTOMERRETURN_CREATE and BAPI_CUSTOMERRETURN_CHANGE to create and change quantity of return order. In both cases I am getting the result that quantity value is not getting updated.

are these BAPIs are correct to fulfil my requirement, if yes could you please clarify?

other wise, can I use BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE?

and could you please some details about quantity change in Outbound delivery?

I am using BAPI_OUTB_DELIVERY_CHANGE for this

2 REPLIES 2
Read only

Former Member
0 Likes
447

Hi

<u>You need to do exeute a BAPI_TRANSACTION_COMMIT after the succesful execution of both the function modules BAPI_CUSTOMERRETURN_CREATE and BAPI_CUSTOMERRETURN_CHANGE.</u>

<b>I mean, please insert CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' function module in the program, after each function module call</b>.

Hope this will help.

Please reward suitable points.

Regards

- Atul

Read only

Former Member
0 Likes
447

Hi Arvind,

Are you entering the quantities in the schedule lines if not that may be the issue. The qty in the item line is not used in the BAPI but the UOM is still being used from the item line.

Thanks

Deep