There are many FM's to get tax details from external system. Few of them are below and what are details to pass to get exact tax details
- CALCULATE_TAX_FROM_GROSSAMOUNT
Parameters to pass:
I_BUKRS - Company Code
I_MWSKZ - Tax Code
I_TXJCD - Tax Jurisdiction Code
I_WAERS - Currency
I_WRBTR - Amount
- CALCULATE_TAX_FROM_NET_AMOUNT
Parameters to pass:
I_BUKRS - Company Code
I_MWSKZ - Tax Code
I_TXJCD - Tax Jurisdiction Code
I_WAERS - Currency
I_WRBTR - Amount
Parameters to pass:
TAX_ITEM_IN-BUKRS - Company Code
TAX_ITEM_IN-MWSKZ - Tax Code
TAX_ITEM_IN-TXJCD - Tax Jurisdiction Code
TAX_ITEM_IN-WAERS - Currency
TAX_ITEM_IN-WRBTR - Amount
- DETERMINE_TXJCD_EXTERNALLY
This FM will be used to show in dialog mode as F4 help
Parameters to pass:
COUNTRY - Country
REGION - State
ZIPCODE - Postal Code
- RFC_DETERMINE_JURISDICTION
This FM needs to be called with RFC Destination. Most of the time you will find destinations in TTXD table
Parameters to pass:
LOCATION_DATA-COUNTRY - Country
LOCATION_DATA-REGION - State
LOCATION_DATA-ZIPCODE - Postal Code
I will keep adding more FM's as soon as i come across but i think above 4 FM's mostly solve most of the requirements. Please share if you know any other FM's with parameters to pass.
This blog is not to conflict any other blogs, there are many but i just thought to have all these at one place because requirements are different at different places.
Thank you.