Skip to Content
Former Member
May 05, 2010 at 02:40 PM

ihave2create sales order using userexits if confirmed qty is LT ordered qty


Hi All,

if confirmed Quantity is less than ordered quantity the i have to create saperate sales order for each line item which comes under this condition.(VBEP-BMENG is less than VBEP-WMENG.)

i am writting code in MV45AFZZ in user exit USEREXIT_SAVE_DOCUMENT_PREPARE

and i am using Bapi (BAPI_SALESDOCU_CREATEFROMDATA1) for this but iam not able to create separate sales order (ie Split sales orders).

Thanks in Advance,

Sudhakar Reddy .A