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

Former Member
0 Likes
449

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
Read only

Former Member
0 Likes
422

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
Read only

Former Member
0 Likes
423

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

Read only

Former Member
0 Likes
422

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...