Field mapping: SAP to Trustpair

Many of Trustpair's customers use SAP as an ERP.

In the following sections, you can find the exact mapping between the SAP columns and Trustpair columns to fit the requirements described in the last sections.

Mapping the VMF (Vendor Master File)

The third-party repository file is used to extract the information needed for the ongoing audit of vendors. It is an aggregation of data from different SAP tables.
The tables used are :

  • LFA1 - Vendor Master (General Section)
  • LFBK - Vendor Master (Bank Details)
  • TIBAN - IBAN
  • BNKA - Bank master record

Here is the correspondence of the fields of the Trustpair file and the SAP elements for legal and natural person:

SAP S/4HANA Data Element (BP)SAP ECC6 Data ElementName of the column in Trustpair file
BUT000-NAME1LFA1-NAME1company_name
BUT000-ADDR_COMM-COUNTRYLFA1-LAND1company_registration_country_code
TAXNUMLFA1-STCD1 / LFA1-STCD2company_registration
DFK_TAX_ID-TAXNUMLFA1-STCEGtax_number
BUT0ID-IDNUMBER (Type B001)LFA1-KRAUSduns
TIBAN-IBANTIBAN-IBANiban
BUT0BK-BANKNLFBK-BANKNbank_account_number
BNKA-SWIFTBNKA-SWIFTbic_code
BNKA-RCCODEBNKA-RCCODErouting_number
BUT0BK-BKONTLFBK-BKONTcontrol_key
BUT000-PARTNERLFA1-LIFNRsupplier_id
LFA1-LOEVMsupplier_status
BUT000-TYPESTKZNN/A
BUT000-NAME_FIRSTNAME2first_name
BUT000-NAME_LASTNAME1last_name
TAXNUMSTCD1natural_person_tax_number
BUT000-COUNTRYLFA1-LAND1natural_person_country_code

Mapping the pending payments

The pending payments file is used to extract the information necessary for the ongoing analysis of scheduled transfers to vendors. It is an aggregation of data from different SAP tables.
This file completes the vendor data with the history of payments pending bank settlement.
The tables used are :

  • LFA1 - Vendor Master (General Section)
  • LFBK - Vendor Master (Bank Details)
  • TIBAN - IBAN
  • BNKA - Bank master record
  • BSIK - Accounting: Secondary Index for Vendors
  • PAYP - Payment program - data on paid item

NB : The file contains a functional field whose content does not correspond directly to a value stored in SAP. This is the payment_status which, in the case of pending payments, must be filled in with the value pending.

Here the correspondence of the fields of the Trustpair file and the SAP elements :

SAP S/4HANA Data Element (BP)SAP ECC6 Data ElementName of the column in the Trustpair file
BUT000-NAME1LFA1-NAME1company_name
BUT000-ADDR_COMM-COUNTRYLFA1-LAND1company_registration_country_code
TAXNUMLFA1-STCD1 / LFA1-STCD2company_registration
DFK_TAX_ID-TAXNUMLFA1-STCEGtax_number
BUT0ID-IDNUMBER (Type B001)LFA1-KRAUSduns
TIBAN-IBANTIBAN-IBANiban
BUT0BK-BANKNLFBK-BANKNbank_account_number
BNKA-SWIFTBNKA-SWIFTbic_code
BNKA-RCCODEBNKA-RCCODErouting_number
BUT0BK-BKONTLFBK-BKONTcontrol_key
BUT000-PARTNERLFA1-LIFNRsupplier_id
LFA1-LOEVMsupplier_status
BSIK-DMBTRamount
BSIK-WAERSpayment_currency
N/A (calculated element, must be pending)payment_status
BSIK-AUGBLpayment_id
BSIK-AUGDTexecution_date
BSIK-BELNRinvoice_id
BSIK-XBLNRinvoice_number
PAYP-IDbatch_id

Mapping the payment history

The payment history file is used to extract the information needed at the start of the project for the initial audit.
It is an aggregation of data from different SAP tables.
This file completes the vendor data with the history of payments made to vendors.
The tables used are :

  • LFA1 - Vendor Master (General Section)
  • LFBK - Vendor Master (Bank Details)
  • TIBAN - IBAN
  • BNKA - Bank master record
  • BSAK - Accounting: Secondary Index for Vendors (Cleared Items)
  • PAYP - Payment program - data on paid item

NB : The file contains a functional field whose content does not correspond directly to a value stored in SAP. This is the payment_status which, in the case of payment history, must be filled in with the value paid.

Here the correspondence of the fields of the Trustpair file and the SAP elements :

SAP S/4HANA Data Element (BP)SAP ECC6 Data ElementName of the column in the Trustpair file
BUT000-NAME1LFA1-NAME1company_name
BUT000-ADDR_COMM-COUNTRYLFA1-LAND1company_registration_country_code
TAXNUMLFA1-STCD1 / LFA1-STCD2company_registration
DFK_TAX_ID-TAXNUMLFA1-STCEGtax_number
BUT0ID-IDNUMBER (Type B001)LFA1-KRAUSduns
TIBAN-IBANTIBAN-IBANiban
BUT0BK-BANKNLFBK-BANKNbank_account_number
BNKA-SWIFTBNKA-SWIFTbic_code
BNKA-RCCODEBNKA-RCCODErouting_number
BUT0BK-BKONTLFBK-BKONTcontrol_key
BUT000-PARTNERLFA1-LIFNRsupplier_id
LFA1-LOEVMsupplier_status
BSAK-DMBTRamount
BSAK-WAERSpayment_currency
N/A (calculated element, must be paid)payment_status
BSAK-AUGBLpayment_id
BSAK-AUGDTexecution_date
BSAK-BELNRinvoice_id
BSAK-XBLNRinvoice_number
PAYP-IDbatch_id