‎2010 Aug 27 8:39 AM
Dear All,
I have created a program to create Sales Return Oder by calling this BAPI_CUSTOMERRETURN_CREATE and it creates a Sales Order Return succesfully, my problem is that, quantiy is always Zero '0'. I tried to debug and check the content of RETURN_ITEMS_IN-target_qty before it calls the BAPI, it has a quantity. What would be the problem why am I getting zero quantity on the SO created.
Please help.
‎2010 Aug 27 9:06 AM
Hi,
For updating the quantity,
Use REQ_QTY in structure return_schedules_in to update the quantity
and pass item number to the field ITM_NUMBER
Set 'X' to the field REQ_QTY in structure return_schedules_inx
and pass item number to the field ITM_NUMBER
Hope it helps.
Sujay
‎2010 Aug 27 8:43 AM
‎2010 Aug 27 9:06 AM
Hi,
For updating the quantity,
Use REQ_QTY in structure return_schedules_in to update the quantity
and pass item number to the field ITM_NUMBER
Set 'X' to the field REQ_QTY in structure return_schedules_inx
and pass item number to the field ITM_NUMBER
Hope it helps.
Sujay
‎2010 Aug 27 9:35 AM
Hi,
Pass the quantity the schedule lines as well. REQ_QTY = '10.000'.
For ur convinience:
item_sl-ITM_NUMBER= '000001'.
item_sl-SCHED_LINE = '0001'.
item_sl-target_qty = '10.000'.
item_sl-REQ_DATE = sy-datum
APPEND item_sl.May it helps you.
Regards,
DS.