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

Difference between BAPI_ACC_GL_POSTING_POST and BAPI_ACC_GL_POSTING_CHECK

Former Member
0 Likes
591

Hi everyone,

Could anyone tell me the difference between BAPI_ACC_GL_POSTING_CHECK and BAPI_ACC_GL_POSTING_POST.

Regards,

Tom

1 ACCEPTED SOLUTION
Read only

former_member194416
Contributor
0 Likes
480

These check BAPIES simulate all process that the record BADI will made and show you if there is a error. So you should first use BAPI_ACC_GL_POSTING_CHECK and if there is no error then you can call BAPI_ACC_GL_POSTING_POST this way you'll see if your operation can be finished successfully without actually processing it and you won't consume any new number in number range.

3 REPLIES 3
Read only

Former Member
0 Likes
480

Hi

The BAPIs do the same thing, only the BAPI_ACC_GL_POSTING_CHECK simulates the posting without to save the document, so it can be used to run the posting in test mode.

Max

Read only

former_member194416
Contributor
0 Likes
481

These check BAPIES simulate all process that the record BADI will made and show you if there is a error. So you should first use BAPI_ACC_GL_POSTING_CHECK and if there is no error then you can call BAPI_ACC_GL_POSTING_POST this way you'll see if your operation can be finished successfully without actually processing it and you won't consume any new number in number range.

Read only

Former Member
0 Likes
480

Thanks a lot MAX and Gungor.