‎2011 Sep 10 7:10 PM
Hello Folks -
I am using BAPI_ACC_DOCUMENT_POST for creating FI document (GL/AP/AR Invoice). I have hit a major road block because of Tax Lines. Since this BAPI does not calculate taxes automatically (need to be passed explicitely to ACCOUNTTAX), I would like to know how it needs to be done.
1. External Tax System (VERTEX) is being used.
2. Since the tax needs to be calculated separately and then passed to BAPI, I used the FM CALCULATE_TAX_FROM_NET_AMOUNT. However this is creating another problem. Since tax is calculated from external tax system, I do not understand how to pass the Tax Jurisdiction Code to this FM. I have the Company Code, Tax Code and Amount, but not the jurisdiction code. Tried using the RFC 'RFC_DETERMINE_JURISDICTION' using sample Location data and got the tax jurisdiction code. But I am not sure how to get this Location data (country, state, region, pincode etc). I guess these needs to be taken from ADRC, but not sure whether address number should be taken from Company Code Master (T001), Cost Center Master (CSKS), Project Master (PRPS).
I am not sure whether I need to stop using the BAPI and go with other approaches like BDC / RFBIBL00 / FIDCC2 Idoc for resolving the tax calculation issue.
Please let me know the best approach for solving the above issue.
Thanks,
Vijay
‎2011 Sep 10 10:25 PM
Hello,
In my experience please choose method BDC for posting FI document in this scenario...
BDC can capture the screen sequence of standard program flow logic after pressing enter in online transaction, which makes life easy...
I have seen in BAP / IDOC (which also use FM) to post it can do most of important data transfer but some subtle which standard program calculates in online transaction can not capture....
Thanks
‎2020 Sep 11 2:09 PM
Hi,
I have requirement to read RFC call data from Sabrix tax system. Using EXIT_SAPLFYTX_USER_001 to map SAP data.
Q: ACCOUNTTAX / CURRENCYAMOUNTS tables not filling with right data while doing RFC call? Can anyone tell me which FM to use before calling BAPI_ACC_DOCUMENT_POST.