Sovos Docs

RFC_FORCE_TAXES_DOC

This call is used to save the tax amount to the Tax Determination audit tables without performing tax calculations.

When creating the accounting document, the tax amounts generated by the input data for the audit file and the tax amounts in the general ledger should be the same. If these amounts are different, SAP will force the tax data to the external system.

SAP will also force tax data to the external system if the document currency and the local currency are different.

The following table lists the field mappings from SAP to Tax Determination. The RFC field is the name of the field in the SAP remote function call:

RFC FieldTax Determination Request FieldNotes
POS_NO LnItm.lnItmNm
GROUP_IDN/A
COUNTRYN/A
DIVISIONN/A
MATNRLnItm.goodSrvDefault to the prod_code, but if that is null, the connector will use matnr instead (if it is not null).
PROD_CODELnItm.goodSrvDefault to the prod_code, but if that is null, the connector will use matnr instead (if it is not null).
GROUP_PROD_CODEN/A
QUANTITYLnItm.qnty
UNITLnItm.qntyUMCd
APAR_INDLnItm.trnTp APAR_IND: 'V' = AP ; 'A' = ARIf 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_TYPELnItm.trnTp
EXEMP_INDN/A
TAX_DATEDoc.docDt
TXJCD_STLnItm.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_SFLnItm.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_POALnItm.LOATakes precedence over TXJCD_SF.
TXJCD_POOLnItm.LOR Takes precedence over TXJCD_SF.
AMOUNTLnItm.grossAmt GROSS_AMOUNT takes precedence over AMOUNT if it is not null.
GROSS_AMOUNTLnItm.grossAmtGROSS_AMOUNT takes precedence over AMOUNT if it is not null.
FREIGHT_AMLnItm.grossAmtIf FREIGHT_AM is not null, GROSS_AMOUNT or AMOUNT will be modified.
EXEMPT_AMTN/A
REP_DATELnItm.accntDt
CREDIT_INDLnItm.devCredIndr
ACCNT_NOLnItm.custrVend
ACCNT_CLSN/A
COST_OBJECTLnItm.specRulesCd s
PTP_INDLnItm.myDlvrCd
EXCERTIFN/A
EXREASONN/A
USER_DATAN/A
ENTITY_USELnItm.myEndUseCd
LOC_CODELnItm.shipFromTakes precedence over TXJCD_SF.
TXJCD_LSPLnItm.LSPTakes precedence over TXJCD_ST.
TXJCD_LOU LnItm.LUTakes precedence over TXJCD_ST.
TXJCD_BT LnItm.billTo Takes precedence over TXJCD_ST.
GL_ACCNTLnItm.CustAttrbGL_ACCOUNT_NUMBER
SLS_OFFICELnItm.CustAttrbSALES OFFICE
SLS_GRPLnItm.CustAttrbSALES GROUP
COST_CENTERLnItm.CustAttrbCOST_CENTER
MAT_GRPLnItm.CustAttrbMATERIAL GROUP
CUST_GRPLnItm.CustAttrb CUSTOMER GROUP
CLNT_REG_NOLnItm.myRegNm.cod e
CLNT_STATLnItm.myRegNm.sta tus
CUST_REG_NOLnItm.custVendReg Nm.code
CUST_STATLnItm.custVendReg Nm.status
VNDR_REG_NOLnItm.custVendReg Nm.code
VNDR_STATLnItm.custVendReg Nm.status
DEL_INS LnItm.dlvrInsAmt
CUSTOM_DUTY_AMOUNTLnItm.custmsDutTr fAmt
DISCOUNT_TYPLnItm.discnt.tp
DISCOUNT_AMOUNTLnItm.discnt.amt
MODE_TRANSPORTLnItm.myMTCd
DELV_TERM LnItm.myDlvrCd
WEIGHT_UOMLnItm.wgtUMCd
ITEM_WEIGHTLnItm.ItmWgt
TT_DATELnItm.titleTrnsDt
ACCNT_DATEN/A
PYMNT_DUE_DATELnItm.pmtDueDt
PYMNT_RECVD_DATELnItm.pmtDueDt
SERV_PERF_DATELnItm.srvcPerfDt
CNTRCT_END_DATELnItm.contrctEndD t
CNTRCT_STRT_DATELnItm.contrctStar tDt
TRNS_DOC_DATEDoc.docDt
CNTRY_ORIGINLnItm.cntryOfOrig n
REG_OF_ORIGINLnItm.regOrignDes tCd
NAT_OF_TRNSLnItm.natureOfTrn
LOAD_PNT LnItm.portLoadUnl oad
ORG_DOC_NUMLnItm.origDocNm
ORG_TRNS_DATELnItm.origTrnDt
CNTRCT_NMBRN/A
CNTRCT_AMNTN/A
AUDIT_UPDDoc.CustAttrbAUDIT_UPD
DROP_SHIP_IND LnItm.dropShipInd
CF_BYPASSN/AThis field should have the value X when executing central finance scenarios.