‎2007 May 03 2:42 PM
Hi Experts,
I m using BAPI_SALESORDER_CREATEFROMDAT1 to create a sale order but the quantity is not getting updated in the sale order.
I passed target qty field but not getting updated
Regards,Prem
‎2007 May 03 2:45 PM
Hi,
Please check this link for sample codes.
https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Simpleprogramtocreatesalesorderusing+BAPI
Regards,
Ferry Lianto
‎2007 May 03 2:45 PM
Hi,
Please check this link for sample codes.
https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Simpleprogramtocreatesalesorderusing+BAPI
Regards,
Ferry Lianto
‎2007 May 03 2:48 PM
See below code
data : so_item like BAPISDITM occurs 0 with header line.
data : S_ORDER_SCHEDULES_IN LIKE BAPISCHDL OCCURS 0 WITH HEADER LINE.
so_item-TARGET_QTY = '10'.
append so_item.
S_ITEM_IN-REQ_QTY = '10'.
append s_item.
Hope this help you
Reward points if it is helpful
Thanks
Seshu