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
368

Hi,

i am directly executing the bapi

BAPI_SALESORDER_CREATEFROMDAT2

with required input fields

i am getting message that sales order is created and has been saved.

when i goto va03 to see the sales order i am getting message that the sales order is not in database

why im getting like this?

is not possible to execute the bapi directly ? we have to call tht bapi through program only ?

Thanks & Regards,

Azhar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
339

Guess you are executing the BAPI in SE37 with required parameters. Note that the BAPI doesnt have implicit commit, so you have to use BAPI: BAPI_TRANSACTION_COMMT in the transaction sequence to actually save the document in the database.

2 REPLIES 2
Read only

Former Member
0 Likes
339

Hi,

check wheather u are getting Message in Return TABLES Parameter,u wil get ur sales order number in ur RETURN tables as S message Type.

Regards,

Morris Bond.

Read only

Former Member
0 Likes
340

Guess you are executing the BAPI in SE37 with required parameters. Note that the BAPI doesnt have implicit commit, so you have to use BAPI: BAPI_TRANSACTION_COMMT in the transaction sequence to actually save the document in the database.