cancel
Showing results for 
Search instead for 
Did you mean: 

Salesorder created using BAPI_SALESORDER_CREATEFROMDAT2 not visible in VBAK

Former Member
0 Kudos

Hi Experts,

I created sales order using BAPI_SALESORDER_CREATEFROMDAT2, further salesorder ID was also indicated after creation.

But the same order ID is not visible in SD standard table VBAK.

Pls guide me to a valid standard CREATE BAPI for Sales order.

Regards,

Romi Malik

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Romi,

If you created a document through BAPI and it does not appear in the database afterwards, the logical conclusion is that ...

No it wasn't really created

With BAPIs for sales order data loading, there is no automatic COMMIT! (check SAP notes).

You need to add the call to BAPI BAPI_TRANSACTION_COMMIT to save to DB.

Regards,

Franck

Former Member
0 Kudos

Hi Frank,

After executing create BAPI, Sales order ID 13332 was generated, When I checked in VBAK there only 13331, 13333 were shown. ID 13332 was missing.