2008 Jul 21 10:10 AM
I want to delete Sales order line item but it deleting complete sales order
I am using bapi sales_order_change.
How to delete Line item insted of sales order ?
thanks
I want to delete Sales order line item but it deleting complete sales order
I am using bapi sales_order_change.
How to delete Line item insted of sales order ?
thanks
2008 Jul 21 10:19 AM
Use the correct parameters (read the help documentation on this bapi).
Regards,
John.
2008 Jul 21 10:19 AM
Hi Jim,
try with :
BAPI_SALESORDER_CHANGE
Sales Order: Change Sales Order
refer to the link below for other BAPI's:
http://www.sapbapi.com/bapi-list/
With luck,
Pritam.
2008 Jul 21 10:20 AM
Hi,
Set UPDATEFLAG in ORDER_ITEM_INX.
Possible UPDATEFLAGS:
U = change
D = delete
I = add
Regards,
Pole
2008 Jul 21 10:22 AM
Try with the below solution:
Set the field ORDER_HEADER_INX-UPDATEFLAG to 'U'.
Set the field ORDER_ITEM_INX-UPDATEFLAG to 'D'. Enter the line item details in the ORDER_ITEM_IN for deletion.
Regards,
Kiran Bobbala