Tax Determination

Standard field mappings

The following table lists the SAP field mappings to Tax Determination standard fields in the RFC_CALCULATE_TAXES_DOC.

Table 1. Standard fields
RFC Fields Tax Determination Request Field Notes
ITEM_PO LnItm.lnItmId
POS_NO LnItm.LnItmNm
GROUP_ID N/A
COUNTRY N/A
DIVISION N/A
PROD_CODE Default to the prod_code, but if that is null, the connector will use MATNR instead (if it's not null).
MATNR LnItm.goodSrv Default to the prod_code, but if that is null, the connector will use MATNR instead (if it's not null).
GROUP_PROD_CODE N/A
QUANTITY LnItm.qnty
UNIT LnItm.qntyUMCd
APAR_IND LnItm.trnTp APAR_IND: 'V' = AP ; 'A' = AR If APAR_IND is AR, then trnTp is set to "SALE". If APAR_IND is AP, then trnTp is set to "PURCHASE". If TAX_TYPE is 3, then APAR_IND is either: RENTAL_NO_OPTION_OWN_AR or RENTAL_NO_OPTION_OWN_AP.
TAX_TYPE LnItm.trnTp APAR_IND: 'V' = AP ; 'A' = AR If APAR_IND is AR, then trnTp is set to "SALE". If APAR_IND is AP, then trnTp is set to "PURCHASE". If TAX_TYPE is 3, then APAR_IND is either: RENTAL_NO_OPTION_OWN_AR or RENTAL_NO_OPTION_OWN_AP.
EXEMP_IND N/A
TAX_DATE Doc.docDt
TXJCD_ST LnItm.shipTo,LnItm,billTo,LnItm.LSP,LnItm.LU The connector will default all of these values to the TXJCD_ST value. However, the ZZTWE values will take precedence if they are populated.
TXJCD_SF LnItm.shipFrom,LnItm.LOA,LnItm.LOR The connector will default all of these values to the TXJCD_SF value. However, the ZZTWE values will take precedence if they are populated.
TXJCD_POA LnItm.LOA Takes precedence over TXJCD_SF.
TXJCD_POO LnItm.LOR Takes precedence over TXJCD_SF.
AMOUNT LnItm.grossAmt GROSS_AMOUNT takes precedence over AMOUNT if it's not null.
GROSS_AMOUNT LnItm.grossAmt GROSS_AMOUNT takes precedence over AMOUNT if it's not null.
FREIGHT_AM LnItm.grossAmt If FREIGHT_AM is not null, GROSS_AMOUNT or AMOUNT will be modified.
EXEMPT_AMT N/A
ACCNT_NO LnItm.custrVend
ACCNT_CLS N/A
COST_OBJECT LnItm.specRulesCds
PTP_IND LnItm.mtDlvrCd
EXCERTIF N/A
EXREASON N/A
USER_DATA N/A