I need to call two BAPIs back to back to register data in the SAP system

In order to register data at the SAP system I need to call two BAPIs, first BAPI create order slips and save data in the memory and the other BAPI updates data stored in the memory to SAP database.    The create order BAPI does not have commit functionality so we need 'Commit' BAPI to register data in database.   I am not sure how to call two BAPIs one after the other. Can anyone please help? I have one more doubt: While calling the BAPI function if I select 'commit transaction' as 'true', do we really need the second BAPI to commit the changes to datrabase?
0 answers