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_ACC_DOCUMENT_CHECK & BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi Experts,

Can there be a situation where the BAPI - BAPI_ACC_DOCUMENT_CHECK will succeed and the BAPI -BAPI_ACC_DOCUMENT_POST will fail? If yes, what is the probability of this situation happening?

Thanks & Regards,

Sreeraj

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear Sreeraj,

The situations would be multiple, but to be precise I'll provide you one scenario where this BAPI would be failing to do the posting. The scenario is like this:

1. If you consider GL posting using F-02 by changing any of the reference fields XREF1, or XREF2, the BAPI has to consider the varying screens of each of the line items which internally depends on Transaction Variants of different screens of the Document, which the BAPI will fail to do so.

2. Also, if there is a Taxation to be done for each Item, still it should consider the above scenario and fill the WITH tables accordingly.

Hope this helps,

Regards,

-Wahid Hussain.

2 REPLIES 2

Former Member
0 Kudos

Dear Sreeraj,

The situations would be multiple, but to be precise I'll provide you one scenario where this BAPI would be failing to do the posting. The scenario is like this:

1. If you consider GL posting using F-02 by changing any of the reference fields XREF1, or XREF2, the BAPI has to consider the varying screens of each of the line items which internally depends on Transaction Variants of different screens of the Document, which the BAPI will fail to do so.

2. Also, if there is a Taxation to be done for each Item, still it should consider the above scenario and fill the WITH tables accordingly.

Hope this helps,

Regards,

-Wahid Hussain.

Former Member
0 Kudos

Thanks Wahid for the information....

So for these 2 scenarios, BAPI_ACC_DOCUMENT_CHECK would be successful and BAPI_ACC_DOCUMENT_POST will fail.

Is that what you meant? Is there any other scenario where this situation occurs?

Thanks & Regards,

Sreeraj

Edited by: Sreeraj Pulickal on Jul 28, 2010 10:50 AM