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 for commiting in External System !

Former Member
0 Likes
1,418

Hi Gurus,

I am currently using BAPI_TRANSACTION_COMMIT function module to commit in the External System.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' DESTINATION gc_sabrix.

But the above statment is giving me short dump.

Please guide on how to do a Commit in the External System.

Many Thanks,

Madan

4 REPLIES 4
Read only

Former Member
0 Likes
1,029

Hi,

You can use this FM to commit the transaction in the SAP system..

Try to use COMMIT work ( in the function module/BAPI..that you are using ....) in the external system

Or try to keep wrapper FM for the BAPI and call the BAPI_TRANSACTION_COMMIT in the wrapper FM along with the required FM this will call the BAPI in the external system and then commit the transaction..

You need not call the BAPI_TRANSACTION_COMMIT explicity in a separate call..

Regards

Shiva

Read only

0 Likes
1,029

Hi Shiva,

I am using RFC_UPDATE_TAXES_DOC to update tax docs in an external system.

Once I successfully update tax in the external system, I need to do a commit.

Can you please explain me more clearly on how to go abou this.

Thanks,

Madan

Read only

0 Likes
1,029

Hi Gurus,

Any pointers on this one please.

Read only

Former Member
0 Likes
1,029

hii madan,

For orders you can read the data from the IDOC() and populate the BAPI_BUSPROCESSND_CREATEMULTI then call

BAPI_BUSPROCESSND_SAVE and then call BAPI_TRANSACTION_COMMIT to commit the data in the database tables.

regards,

Shweta