Hi,
I am using BAPI_ACC_DOCUMENT_POST to create some gl entries. When saving a sales document, we have customized a message type that trigger a program creating the gl entries. The program used BAPI_ACC_DOCUMENT_POST and is trigger in update task. The problem is that we are getting a dump because the BAPI is calling the MF CALCULATE_TAX_DOCUMENT which at one point call a screen (300). The error description is POSTING_ILLEGAL_STATEMENT, CALL SCREEN is not allowed program "SAPLTAX1".
I have tried to search the OSS notes but I could not find one that describe the same problem. Moreover my SAP version does not support direct tax posting. (SAP_APPL--> SAPKH60007). I'm a bit lost as what to do to make use of the BAPI
Have one of you ever encounter the same problem and can you please advise? Thank you.