Application Development 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: 

bapi

Former Member
0 Kudos

hi,

what is the exact difference between 'CIMMIT WORK' statement and 'BAPI_TRANSACTION_COMMIT'.

i know that BAPI's will use their dedicated structures and function modules, thats why we are using 'BAPI_TRANSACTION_COMMIT'.

i want to know that cant't we use 'CIMMIT WORK'?

if no why?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Krishna,

COMMIT WORK will completes 1 LUW, it will not refresh the buffer.

where as 'BAPI_TRANSACTION_COMMIT' will do the same and also refresh the buffer.

Reward if it helps,

Satish

2 REPLIES 2

Former Member
0 Kudos

Hi Krishna,

COMMIT WORK will completes 1 LUW, it will not refresh the buffer.

where as 'BAPI_TRANSACTION_COMMIT' will do the same and also refresh the buffer.

Reward if it helps,

Satish

Former Member
0 Kudos

It is same as COMMIT-WORK. in addition to that it will call BAPI RETURN function module as well as refreshes buffers. That's the only advantage. the memory can be available for other applications.. and BAPI RETURN ensures that BAPI comepletes all it's steps succesfuuly...