2021 Feb 04 9:04 PM
Hello Everyone,
Has anyone has a knowledge base document or a SAP Note where the limitations/deviations of BAPI_ACC_DOCUMENT_POST against the standard postings (FB60) has been documented.
In our project we have observed one such scenario and want to understand if it is limitation or if there is something missing with respect to config.
We have derivation strategy configured in the system which determines fiduciary funds account and offsets P&L account, this works perfectly while posting through FB60 but the same derivation strategy is not getting triggered for the postings happen through custom program as they use BAPI_ACC_DOCUMENT_POST.
For simple Example: When you post FB60 with GL and Vendor Account info, posting will have four lines because of the derivation rule and gets offset into a different account. Where as the same info posted through the BAPI has only 2 line items of GL and Vendor.
When debugged standard FB60, the additional lines (derivation strategy) are being determined from FM: FM_GL_ACC_TRUSTFUND_ADD_LINES and are getting added from SAPMF05A program of FB60 but the same code is not getting triggered with BAPI posting.
Let me know if any of you came across this scenario and how it has been addressed.
Thanks,
Uday S.
2021 Feb 05 3:35 PM
Hi Uday. Derivation strategies apply for both online and batch input. You should trace the rule and watch out its conditions and values
Consider the note
2256783 - FMDERIVE:Trace Display Log Not Availabable in
Batch Input
2021 Feb 05 8:45 PM
Hi Emmanuel,
Thank You for your response, unfortunately SAP Note 2256783 is not applicable in our landscape as we are in S/4 HANA system.
Any other means to check ?
Thanks,
Uday S.