Question:
I try to delete a sales order item with FM BAPI_SALESORDER_CHANGE with :
Export :
salesdocument = sales order number
order_header_inx : updateflag = U
Tables :
return
order_item_inx : item = item number to delete and updateflag = D.
Table return says :
ORDER_HEADER_IN has been processed successfully
Planned arrivals MGX 4000000166 has been saved
I use then FM BAPI_TRANSACTION_COMMIT with commit work and wait option.
But no item is deleted in my sales order.
Is it the rigth way to do it ?
Document tation on FM BAPI_SALESORDER_CHANGE specifies that it is possible to delete an item.
How to do it ?
_________________
Regards,
Thomas.
Answer:
Hi,
You also need to populate the order_item_in table with one record populating just the item number (POSNR).
Hope that helps.
Vasim
Answer:
Thanks you very much.
That's what I needed.
You're a little bit more explicit than SAP documentation...
_________________
Regards,
Thomas.