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

Inline Commit Vs OO ABAP Commit Work

BH2408
Active Contributor
0 Likes
1,275

Hello Experts,

When we are trying to save the BAPI with Commit work in Report it is considering the Inline Commit and created the records but when trying to do the same with Class few times it was working fine but most of the time it is not working. Do we have any seperate OO ABAP Commit work?

I have searching for the Transaction services and I am not sure where we are spliting the commit.

BR,

Bharani

4 REPLIES 4
Read only

Former Member
1,059

i dont get the Problem...

what is OO commit? and what is INLINE-Commit?

there ar eexplizit and implizit commits.

make sure u do a BAPI_COMMIT_WORK when commiting a BAPI . if u call this via OO i bet there are also 2 methods.

what do u mean by "Splitting the commit"?

regards

Stefan Seeburger

Read only

0 Likes
1,059

Hi Stefan,

Greetings!!!

When we are have same logic in the REPORT with BAPI_COMMIT V1 , V2 and V3 Updates and creating the LFA1 entry successfully, But where as when we are doing with Class and Methods with Commit work for bapi_bupa_fs_create_from_data2, it is not extending the Roles.

Regards,

Bharani

Read only

0 Likes
1,059

You are not really clear in exposing the problem.

And the description of your problem is quite vague, without a snip of the meaningful code.

i'd follow in debug the 2 flows (report and classes) and see how the two code are filling structures and tables of the BAPI.

Read only

TMSingh_SAP
Participant
1,059

hi Bharani,

it is not like that that BAPI will work at one place and when using in class..it will not work.

try using wait for few seconds..and see

Thanks,

Mohan