Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
344

Hello,

iam using this bapi to create a sales order and passing Doc type, Sales Org, Dist. Channel, Division, Sold to Party, Ship to party, Purchase order No and in Item Details Iam passing Material Number and Quantity.It says that the sales doc. is created but when i go to check the sales document it isnt there either in vbak or va02..Where shud be the error ?

Thanks

Viky

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
320

Hi Viky,

After calling the Bapi, use the <b>CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.</b>

Regards,

Eric

2 REPLIES 2
Read only

Former Member
0 Likes
321

Hi Viky,

After calling the Bapi, use the <b>CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.</b>

Regards,

Eric

Read only

0 Likes
320

Thanks Eric,

I did so but it still gives me the same error

Viky