2018 Sep 24 2:43 PM
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
2018 Sep 24 3:33 PM
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
2018 Sep 24 4:52 PM
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
2018 Sep 26 1:29 PM
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.
2018 Sep 25 8:50 PM
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