Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue faced in using FM RFC_CALCULATE_TAXES1 while Retrieving Total tax amount and amount from Vertex tax software .

parthphadke1
Discoverer
0 Kudos

Hi Experts,

 

We are facing an issue in SAP ECC  while retrieving tax rate from VERTEX Tax Software using RFC call.

We are using Function Module RFC_CALCULATE_TAXES1 to retrieve Total tax rate and Total tax amount.

We are populating RFC target sys: VERTEX and the remaining fields in TAX_DATA as follows :-

CLIENT                           500

COMP_CODE                   1100

DIVISION                       1003

COUNTRY                       US

POS_NO                          000000

ACCNT_NO                     10556976

TXJCD_ST                       0414305601

TXJCD_IND                     1

APAR_IND                       A

TXJCD_L1                       02

TXJCD_L2                       03

TXJCD_L3                       04

TXJCD_L4                       01

MATNR                           MAT1

AMOUNT                        1000

CURRENCY                     US

When we execute the FM using the above values , the  fields TAXAMOV [Total tax amount] and TAXPCOV [Total tax rate] in the exporting Structure  COM_TAX are getting populated incorrectly when compared with the data in the VERTEX.

Has anyone encountered such situations? If so, please let us know how the issue was resolved.

Regards,

Parth.

1 REPLY 1

Former Member
0 Kudos

Have not seen the Vertex retrieval as incorrect, but have seen the calculation done by the program outside of Vertex be incorrect.  What do you get?  What should you get?  I would expect you to discover that what you think is correct is wrong.  I assume that once you have the tax rates for those 4 jurisdiction codes, you are doing some calculation...or is that all done in Vertex and sent to the program?  What is the accumulated tax percentage rate for jurisdictions 02/03/04/01?  Do all of these jurisdiction codes actually exist? 02 is Alaska?  What county would 03 be? 04 city of ? , and what then would be 01 jurisdiction?