Skip to Content
0
Former Member
Mar 29, 2010 at 11:28 AM

BAPI_SALESORDER_CHANGE

76 Views

Hi All,

I am trying to add a line item to a Sales Order using BAPI_SALESORDER_CHANGE (from exit USEREXIT_SAVE_DOCUMENT of SAPMV45A prog).

When I execute the the BAPI separately with my parameters it works fine, but from my code in the USEREXIT or even from a test report program, I am unable to append the line item.

I am effectively passing just mat. no., item categ. and qty., using salesdocument, order_header_inx, order_item_in, order_item_inx, return parameters of BAPI. Also tried passinf schedule lines. But no go.

Please advice if I am missing soemthing. Please help.

Thanks.