RFC_FORCE_TAXES_DOC is used to force the tax amount to be written to the 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 (invoice) currency and the local (company) currency are different.
Here are the field mappings from SAP to GTD, with RFC Field being the name of the field in the SAP Remote Function Call:
RFC Field | GTD Request Field | Notes |
POS_NO | LnItm.lnItmNm | |
GROUP_ID | N/A | |
COUNTRY | N/A | |
DIVISION | N/A | |
MATNR | LnItm.goodSrv | Default to the prod_code, but if that is null, the Adapter will use matnr instead (if it is not null). |
PROD_CODE | LnItm.goodSrv | Default to the prod_code, but if that is null, the Adapter will use matnr instead (if it is not null). |
GROUP_PROD_CODE | N/A | |
QUANTITY | LnItm.qnty | |
UNIT | LnItm.qntyUMCd | |
APAR_IND | LnItm.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_TYPE | LnItm.trnTp | |
EXEMP_IND | N/A | |
TAX_DATE | Doc.docDt | |
TXJCD_ST | LnItm.shipTo, LnItm,billTo, LnItm.LSP, LnItm.LU | The Adapter will default all of these values to the TXJCD_ST value. However, the ZZTWE values below will take precedence if they are populated. |
TXJCD_SF | LnItm.shipFrom, LnItm.LOA, LnItm.LOR | The Adapter will default all of these values to the TXJCD_SF value. However, the ZZTWE values below 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 overAMOUNT if it is not null. |
GROSS_AMOUNT | LnItm.grossAmt | GROSS_AMOUNT takes precedence overAMOUNT if it is not null. |
FREIGHT_AM | LnItm.grossAmt | If FREIGHT_AM is not null, GROSS_AMOUNT or AMOUNT will be modified. |
EXEMPT_AMT | N/A | |
REP_DATE | LnItm.accntDt | |
CREDIT_IND | LnItm.devCredIndr | |
ACCNT_NO | LnItm.custrVend | |
ACCNT_CLS | N/A | |
COST_OBJECT | LnItm.specRulesCd s | |
PTP_IND | LnItm.myDlvrCd | |
EXCERTIF | N/A | |
EXREASON | N/A | |
USER_DATA | N/A | |
ENTITY_USE | LnItm.myEndUseCd | |
LOC_CODE | LnItm.shipFrom | Takes precedence over TXJCD_SF. |
TXJCD_LSP | LnItm.LSP | Takes precedence over TXJCD_ST. |
TXJCD_LOU | LnItm.LU | Takes precedence over TXJCD_ST. |
TXJCD_BT | LnItm.billTo | Takes precedence over TXJCD_ST. |
GL_ACCNT | LnItm.CustAttrb | GL_ACCOUNT_NUMBER |
SLS_OFFICE | LnItm.CustAttrb | SALES OFFICE |
SLS_GRP | LnItm.CustAttrb | SALES GROUP |
COST_CENTER | LnItm.CustAttrb | COST_CENTER |
MAT_GRP | LnItm.CustAttrb | MATERIAL GROUP |
CUST_GRP | LnItm.CustAttrb | CUSTOMER GROUP |
CLNT_REG_NO | LnItm.myRegNm.cod e | |
CLNT_STAT | LnItm.myRegNm.sta tus | |
CUST_REG_NO | LnItm.custVendReg Nm.code | |
CUST_STAT | LnItm.custVendReg Nm.status | |
VNDR_REG_NO | LnItm.custVendReg Nm.code | |
VNDR_STAT | LnItm.custVendReg Nm.status | |
DEL_INS | LnItm.dlvrInsAmt | |
CUSTOM_DUTY_AMOUNT | LnItm.custmsDutTr fAmt | |
DISCOUNT_TYP | LnItm.discnt.tp | |
DISCOUNT_AMOUNT | LnItm.discnt.amt | |
MODE_TRANSPORT | LnItm.myMTCd | |
DELV_TERM | LnItm.myDlvrCd | |
WEIGHT_UOM | LnItm.wgtUMCd | |
ITEM_WEIGHT | LnItm.ItmWgt | |
TT_DATE | LnItm.titleTrnsDt | |
ACCNT_DATE | N/A | |
PYMNT_DUE_DATE | LnItm.pmtDueDt | |
PYMNT_RECVD_DATE | LnItm.pmtDueDt | |
SERV_PERF_DATE | LnItm.srvcPerfDt | |
CNTRCT_END_DATE | LnItm.contrctEndD t | |
CNTRCT_STRT_DATE | LnItm.contrctStar tDt | |
TRNS_DOC_DATE | Doc.docDt | |
CNTRY_ORIGIN | LnItm.cntryOfOrig n | |
REG_OF_ORIGIN | LnItm.regOrignDes tCd | |
NAT_OF_TRNS | LnItm.natureOfTrn | |
LOAD_PNT | LnItm.portLoadUnl oad | |
ORG_DOC_NUM | LnItm.origDocNm | |
ORG_TRNS_DATE | LnItm.origTrnDt | |
CNTRCT_NMBR | N/A | |
CNTRCT_AMNT | N/A | |
AUDIT_UPD | Doc.CustAttrb | AUDIT_UPD |
DROP_SHIP_IND | LnItm.dropShipInd | |
CF_BYPASS | N/A | This field should have the value X when executing Central Finance Scenarios. |