07-28-2010 7:14 AM
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
07-28-2010 7:31 AM
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.
07-28-2010 7:31 AM
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.
07-28-2010 9:40 AM
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