How to use this document? This document displays and describes the relationships and links between the various SAP database tables. These relationships are displayed graphically as described below: Table Key Transparent Table Cluster Table SAP Table Name SAP Table Information SAP Table Name (Table Description) (Table Description) SAP Field Name (Field Description) SAP Field Name (Field Description) Useful Fields Link Key One-to-One One One
61
Embed
SAP Tables and Their Relation ships in different modules
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
How to use this document?
This document displays and describes the relationships and links between the various SAP database tables. These relationships are displayed graphically as described below:
Table Key
Transparent Table Cluster Table
SAP Table Name SAP Table Information SAP Table Name(Table Description) (Table Description)
SAP Field Name (Field Description)SAP Field Name (Field Description)
Useful Fields
Link Key
One-to-OneOne One
One-to-Many
One Many
Master Data Tables
CEPC = Profit Center Master Data Table CSKS = Cost Center MasterKNA1 = Cutomer Master (General Data) LFA1 = Vendor Master (General Data) MARA = Material Master (General Data)
General Financial Special PurposeLedger Accounting Ledger
CustomLedger
AccountsReceivable
Controlling
Profit Center Cost CenterAccounting Accounting
Tables:BSADBSASBSEGBSESBSIKBSIS
FI/COTable Mapping
BVOR(Intercompany posting procedures)Intercompany No (BVORG)Company Code (BUKRS)Fiscal Year (GJAHR)Document No (BELNR)
BSAD(Accounting: Secondary index for customers (cleared items))Company Code (BUKRS)Customer (KUNNR)Special G/L Trans (UMSKS)Special G/L Ind (UMSKZ)Clearing Date (AUGDT)Clearing Doc (AUGBL)Allocation No (ZUONR)Fiscal Year (GJAHR)Document No (BELNR)Line Items (BUZEI)
BSID(Accounting: Secondary index for customers)
Company Code (BUKRS)Customer (KUNNR)Special G/L Trans (UMSKS)Special G/L Ind (UMSKZ)Clearing Date (AUGDT)Clearing Doc (AUGBL)Allocation No (ZUONR)Fiscal Year (GJAHR)Document No (BELNR)Line Items (BUZEI)
BSIPPAYR (Index for vendor validation of double(Payment transfer medium file) documents)Paying Company (ZBUKR) Company Code (BUKRS)House Bank (HBKID) Vendor (LIFNR)Account (HKTID) Currency (WAERS)Payment Method (ZLSCH) Document Date (BLDAT)Check No (CHECKT) Duplicate Invoices Reference Doc (WRBTR)
Amount (WRBTR)VBLNR Document No (BELNR)
Fiscal Year (GJAHR)Line Items (BUZEI)
BKPF
(Accounting document header)Company Code (BUKRS)
BSIKDocument No (BELNR) (Accounting: Secondary index forFiscal Year (GJAHR) vendors)
Company Code (BUKRS)
All
FIdo
cum
ents Vendor (LIFNR)
Closed items Special G/L Trans (UMSKS)Open ItemsSpecial G/L Ind (UMSKZ)Clearing Date (AUGDT)Clearing Doc (AUGBL)Allocation No (ZUONR)
BSEG Fiscal Year (GJAHR)(Accounting document segment) Document No (BELNR)Company Code (BUKRS) Line Items (BUZEI)Document No (BELNR)Fiscal Year (GJAHR)
Line Item (BUZEI) Closed items BSAKOpen Items(Accounting: Secondary index forvendors (cleared items))Company Code (BUKRS)Vendor (LIFNR)Special G/L Trans (UMSKS)Special G/L Ind (UMSKZ)
Closed itemsClearing Date (AUGDT)
Open Items Clearing Doc (AUGBL)Allocation No (ZUONR)Fiscal Year (GJAHR)Document No (BELNR)Line Items (BUZEI)
KNC1(Customer master (trans figures))
BSAS Customer (KUNNR)
BSIS (Accounting: Secondary index for G/L Company Code (BUKRS)accounts (cleared items)) Fiscal Year (GJAHR)
Company Code (BUKRS) Company Code (BUKRS)G/L Account (HKONT) G/L Account (HKONT)Clearing Date (AUGDT) Clearing Date (AUGDT)Clearing Doc (AUGBL) Clearing Doc (AUGBL) LFC1Allocation No (ZUONR) Allocation No (ZUONR) (Vendor master (transaction figures))Fiscal Year (GJAHR) Fiscal Year (GJAHR) Vendor (LIFNR)Document No (BELNR) Document No (BELNR) Company Code (BUKRS)Line Items (BUZEI) Line Items (BUZEI) Fiscal Year (GJAHR)
BKPF(Accounting document header)
Company CodeDocument NoFiscal Year
SAP FI/CO
Financial Accounting
RFBLG(Cluster for accounting document)
BSECBSED
PhysicalBSEGBSESBSET
BSEG(Accounting document segment)
FIdocuments
All
Company CodeDocument NoFiscal YearLine Item
BKPF(Accounting document header)Company CodeDocument NoFiscal Year
One time accounts
Tax
documents
BSEC(One-time account data document segment)
Company Code Logical Document No
Fiscal Year Line Item
BSET(Tax data document segment)
Company Code Document No Fiscal Year Line Item
SAP FI/CO
Controlling Special Purpose Ledger
Profit CenterAccounting
GLPCT(EC-PCA: Totals Table)
Ledger(RLDNR)Record Type (RRCTY)Plan Version (RVERS)Fiscal Year (GJAHR)Object (ROBJNR)Object (COBJNR)Object (SOBJNR)Currency (RTCUR)UOM (RUNIT)Debit/Credit Ind (DRCRX)Period (RPMAX)
GLPCA(EC-PCA: Actual Line Items)
Record No (GL_SIRID)
ROBJNR
GLPCO(EC-PCA: Object Table for Account Assignment Elements)
COBJNR Object (OBJNR)
GLPCC(EC-PCA: Transaction Attributes)
Object (OBJNR)
Example of a CustomLedger
ZZGLO
Object (OBJNR)ROBJNR
ZZGLT
Ledger(RLDNR)Record Type (RRCTY)
ZZGLOVersion (RVERS)Fiscal Year (GJAHR)
Record No (GL_SIRID)Object (ROBJNR)Object (SOBJNR)Currency (RTCUR)UOM (RUNIT)Debit/Credit Ind (DRCRX)Period (RPMAX)
COSP(CO Object: Cost Totals - ExternalPostings)Ledger (LEDNR)Object (J_OBJNR)Fiscal Year (GJAHR)Value Type (WRTTP)Version (VERSN)Cost Element (KSTAR)CO Key (HRKFT)CO Trans (VRGNG)Trading Part ID (VBUND)Trading Part BA (PARGB)Debit/Credit Ind (BEKNZ)Currency (TWAER)Period Block (PERBL)
COEP(CO object: period-related line items)Controlling Area (KOKRS)Document No (BELNR)Line Item (BUZEI)
COBK
Controlling Area (KOKRS)Document No (BELNR)
ReconcillationCOFIO2(Transaction-dependent fields for
Ledger reconciliation ledger)
COBJNRObject (OBJNR)
COFIT(Totals records - reconciliation ledger)
Ledger(RLDNR)Record Type (RRCTY)Version (RVERS)Fiscal Year (GJAHR) ROBJNRObject (ROBJNR)Object (COBJNR)Object (SOBJNR)Currency (RTCUR) COFIO1UOM (RUNIT) (Object Table for ReconciliationDebit/Credit Ind (DRCRX)
Ledger COFIT)Period (RPMAX)Object (OBJNR)
SAP FI/CO
Accounts Payable
Vendor Master Data
Purchasing Data General Data Company Code Data
LFM1 LFA1 LFB1(Vendor master record purchasing (Vendor master (general section)) (Vendor master (company code))organization data) Vendor No (LIFNR) Vendor No (LIFNR)Vendor No (LIFNR) Company Code (BUKRS)Purch Org (EKORG)
LFM2LFBK(Vendor Master Record: Purchasing LFB5(Vendor master (bank details))Data) (Vendor master (dunning data))Vendor No (LIFNR)Vendor No (LIFNR) Vendor No (LIFNR)Bank Cntry (BANKS)Purch Org (EKORG) Company Code (BUKRS)Bank Key (BANKL)Sub-range (LTSNR) Dunning Area (MABER)
Plant (WERKS) Bank Acc (BANKN)
SAP FI/CO
Accounts Receivable
Customer Master Data
Sales Area Data General Data Company Code Data
KNVP(Customer Master Partner Functions)
Customer No (KUNNR)Sales Org (VKORG) KNA1 KNB1Distribution Ch (VTWEG) (General Data in Customer Master) (Customer master (company code))Division (SPART)
Customer No (KUNNR) Customer No (KUNNR)Partner Function (PARVW)
Partner Counter (PARZA) Company Code (BUKRS)
KNVV(Customer Master Sales Data)
Customer No (KUNNR)KNB5
Sales Org (VKORG)(Customer master (dunning data))
Distribution Ch (VTWEG)Customer No (KUNNR)Division (SPART)Company Code (BUKRS)Dunning Area (MABER)
KNVD(Customer master record salesrequest form)
Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)Output Type (NA_KSCHL)Mess Language (SPRAS)
Profit Center
CEPC(Profit center master data table)Profit Center (PRCTR)Valid to Date (DATBI)Controlling Area (KOKRS)
CEPCT(Texts for Profit Center Master Data)Language (SPRAS)Profit Center (PRCTR)Valid to Date (DATBI)Controlling Area (KOKRS)
SAP FI/CO
Master Data
Cost CenterCost Elemet
CSKA(Cost elements (data dependent on
CSKS chart of accounts))(Cost center master) COA (KTOPL)Controlling Area (KOKRS) Cost Element (KSTAR)Cost Center (KOSTL)Valid to Date (DATBI)
CSKB(Cost elements (data dependent oncontrolling area))
Controlling Area (KOKRS)COA (KTOPL)Cost Element (KSTAR)Valid to Date (DATBI)
CSKT(Cost Center Texts)Language (SPRAS) CSKUControlling Area (KOKRS) (Cost Element Texts)Cost Center (KOSTL) Language (SPRAS)Valid to Date (DATBI) COA (KTOPL)
(STXD SAPscript text file header) (Purchase Requisition) Assignment)Texts (TDOBJECT) Purchasing Req (BANFN) Purchasing Req (BANFN)Text Name (TDNAME) Item (BNFPO) Item (BNFPO)Text Id (TDID) Preg Account Assignment (ZEBKN)Language (TDSPRAS)
STXL(STXD SAPscript text file lines))
(RELID)Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)(SRTF2)
SAP MM - Purchasing
Purchase Orders
S011 S012(PURCH: Purch. Group Statistics) (PURCHIS: Purchasing Statistics)
EINEStatistics (SSOUR) Statistics (SSOUR)(Purchasing Info Record: PurchasingVersion (VRSIO) Version (VRSIO)Organization Data)Month (SPMON) Month (SPMON)Info Record (INFNR)Day (SPTAG) Day (SPTAG)
Week (SPWOC) Week (SPWOC) Purchasing Org (EKORG)Posting Period (SPBUP) Posting Period (SPBUP) Info Record Type (ESOKZ)
Purchasing Org (EKORG) Purchasing Org (EKORG) Plant (WEKS)Purchasing Group (EKGRP) Purchasing Group (EKGRP)Vendor No (LIFNR) Material No (MATNR)
Plant (WERKS)Info Record Category (ESOKZ)Material Group (MATKL)Info Record (INFNR)Country (LAND1)
(Header: Material Document) (Document Segment: Material) Day (SPTAG)Document No (MBLNR) Document No (MBLNR) Week (SPWOC)Fiscal Year (MJAHR) Fiscal Year (MJAHR) Posting Period (SPBUP)
Line Item (ZEILE) Purchasing Org (EKORG)Purchasing Group (EKGRP)Vendor No (LIFNR)
S013(PURCHIS: Statistics for VendorEvaluation)
S031Statistics (SSOUR)Version (VRSIO)
EKBE MVER (Statistics: Movements for current Month (SPMON)(History of Purchasing Document) (Material consumption) stocks) Day (SPTAG)
Purchasing Doc (EBELN) Material NO (MATNR) Statistics (SSOUR) Week (SPWOC)Item (EBELP) Plant (WERKS) Version (VRSIO) Posting Period (SPBUP)Account Assign (ZEKKN) Fiscal Year (GJAHR) Month (SPMON) Purchasing Org (EKORG)Trans Type (VGABE) Period (PERKZ) Day (SPTAG) Purchasing Group (EKGRP)Fiscal Year (MJAHR) Follow-on Records (ZAHLR) Week (SPWOC) Vendor No (LIFNR)Document No (MBLNR) Posting Period (SPBUP) Material No (MATNR)Line Item (ZEILE) Plant (WERKS) Plant (WERKS)
Material No (MATNR) Info Record Cat (ESOKZ)
Storage Loc (LGORT) Info Record (INFNR)
Purchasing Data
MARC(Material Master: C Segment)
Material No (MATNR)Plant (WERKS)
MLAN(Tax Classification: Material)Material No (MATNR)Country (ALAND)
SAP MM - Master Data
Basic Data
MAKT(Material Descriptions)
Material No (MATNR)Language (SPRAS)
MARA(Material Master: General Data)
Material No (MATNR)
MARM(Units of Measure)Material No (MATNR)UOM (MEINH)
Accounting Data
MBEW(Material Valuation)
Material No (MATNR)Valuation Area (BWKEY)Valuation Type (BWTAR)
Condition No (KNUMH) Condition No (KNUMH)Seq No (KOPOS)
EINA EINE(Purchasing Info Record: General (Purchasing Info Record: PurchasingData) Organization Data)
Info Record (INFNR) Info Record (INFNR)Purchasing Org (EKORG)Info Record Type (ESOKZ)Plant (WERKS)
A017(Material Info Record (Plant-Specific))Application (KAPPL)Condition Type (KSCHL)Vendor (LIFNR)Material No (MATNR)Purchasing Org (EKORG)Plant (WERKS)Info Record Category (ESOKZ)Validity (DATBI)
SAP - Project Planning
Project Planning
PROJ(Project Definition)
PRPS-PSPHI =PROJ-PSPNR
PRPS(WBS Elements)
PRPS-PSPNR = PRHIS-POSNR
and PRPS-PSPHI= PRHIS-
PSPHI
PRPS-PSPNR = PRTE-POSNR
and PRPS-PSPHI= PRTE-
PSPHI
PRHIS (Proj. Hierarchy for
WBS Element)
PRTE(Schedule Data for PRTX-PRPSPNR =
PRTE-POSNRProj. Item)
PRTX(Texts(WBS))
PRTX-PRTXTKY = PSTX-PRTXTKY
PSTX(Project Texts
(Header))
PSTX-PRTXTKY = PSTT-PRTXTKY
PSTT(Project Texts)
PP
Table Mapping
SAP PP - Project Planning
PROJECTSProject and WBS element numbers have a domain with a conversion function
module which converts it from 8 numc input to 24 char on output.
SAP SD - Sales TablesSTXL(STXD SAPscript text file lines)
Billing Cat (FKTYP)Sales Org (VKORG)Billing Date (FKDAT)Customer (KUNNR)Billing Type (FKART)Country (LLAND)Sales doc (VBELN)
VAPMA(SD Index:Order Items by Material)
Material No (MATNR)Sales Org (VKORG)Trans Group (TRVOG)Document Date (AUDAT)Distribution Channel (VTWEG)Division (SPART)Document Type (AUART)Sold-to-Party (KUNNR)Sales Office (VKBUR)Sales Group (VKGRP)Customer PO No (BSTNK)User Name (ERNAM)Sales Ord (VBELN)Item (POSNR)
STXH(STXD SAPscript text file header)
Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)
VBAK(Sales Document :Header)
Sales doc (VBELN)
VBUK(Header Status)
Sales doc (VBELN)
VBUP(Item Status)
Sales doc (VBELN) Item (POSNR)
(RELID)Texts (TDOBJECT) Text Name (TDNAME) Text Id (TDID) Language (TDSPRAS) (SRTF2)
Partner No (KUNDE)Partner Function (PARVW)Sales Org (VKORG)Trans Group (TRVOG)Document Date (AUDAT)Sales Office (VKBUR)Sales Group (VKGRP)Distribution Channel (VTWEG)Division (SPART)Document Type (AUART)Customer PO No (BSTNK)Sold-to-Party (KUNNR)User Name (ERNAM)Sales Ord (VBELN)
VBLK(SD:Delivery Note Header)Delivery Document Number (VBELN)
VBLK-VBELN =LIKP-VBELN
LIKP(Sales Doc:Delivery Header)Delivery Document Number (VBELN)
LIPS-VBELN =LIKP-VBELN
VEPO-VBELN = LIPS-VBELN
and VEPO-POSNR =
LIPS-POSNR
VEPO(SD Doc:Shipping Item content)Delivery Document Number (VBELN)Delivery Item (POSNR)Shipping Unit Number (VENUM)Shipping Unit Item (VEPOS)
VEPO-VENUM =VEKP-VENUM
VEKP(SD Doc:Shipping Unit Header)
Shipping Unit Number(VENUM)
LIPSFrom Sales throughVBAP(Sales Doc:Delivery Items)LIPS-VGBEL = VBAP-VBELN To Biling through VBRP
and Delivery Document Number (VBELN) VBRP-VGBEL = LIPS-VBELNLIPS-VGPOS = VBAP-POSNR Item (POSNR) and
VBRP-VGPOS = LIPS-POSNR
SAP SD - Billing Tables
VRKPA(Sales Index: Bills by Partner Functions)Partner No (KUNDE)Partner Function (PARVW)Sales Org (VKORG)Billing Date (FKDAT)Distribution Channel (VTWEG)Billing Type (FKART)Payer (KUNNR)Sold-to-Party (KUNNR)SD Doc Cat (VBTYP)User Name (ERNAM)Billing Doc (VBELN)
VKDFS(SD Index: Billing Initiator)
Billing Cat (FKTYP) Sales Org (VKORG) Billing Date (FKDAT) Customer (KUNNR) Billing Type (FKART) Country (LLAND) Sales doc (VBELN)
VBSK VBSS(Collective Processing for a Sales (Collective Processing: SalesDocument Header) Documents)
(SD Index: Billing Items per Material) Billing doc (VBELN)
Material No (MATNR)Sales Org (VKORG)Billing Date (FKDAT)Distribution Channel (VTWEG)Billing Type (FKART)Payer (KUNNR)Sold-to-Party (KUNNR)SD Doc Cat (VBTYP)User Name (ERNAM)Billing Doc (VBELN)Item (POSNR)