sap r3 table relations

29
SAP Table Relations version 1.0.0 compiled by Christopher Solomon with contributions by various SAP Professionals

Upload: dkotsilas

Post on 16-Nov-2014

757 views

Category:

Documents


11 download

TRANSCRIPT

Page 1: SAP R3 Table Relations

SAP Table Relationsversion 1.0.0

compiled by

Christopher Solomonwith

contributions byvarious SAP Professionals

Page 2: SAP R3 Table Relations

Table Key

Link Key

One-to-One

One-to-Many

One One

One Many

SAP Table Name(Table Description)

SAP Field Name (Field Description)

Useful Fields

SAP Table Information

How to use this document?

SAP Field Name (Field Description)

SAP Table Name(Table Description)

Transparent Table Cluster Table

This document displays and describes the relationships and links between the various SAP database tables. These relationships aredisplayed graphically as described below:

Page 3: SAP R3 Table Relations

Master Data Tables

CEPC = Profit Center Master Data TableCSKS = Cost Center MasterKNA1 = Cutomer Master (General Data)LFA1 = Vendor Master (General Data)MARA = Material Master (General Data)SKB1 = G/L Account Master (Company Code)T001W = Plants/BranchesT001 = Company Codes

Page 4: SAP R3 Table Relations

SAP - FI/CO

FinancialAccounting

Special PurposeLedger

Controlling

AccountsPayable

GeneralLedger

AccountsReceivable

Reconcillation Ledger

CustomLedger

Profit CenterAccounting

Cost CenterAccounting

Tables:BSADBSASBSEGBSESBSIKBSIS

Page 5: SAP R3 Table Relations

FI/COTable Mapping

Page 6: SAP R3 Table Relations

All

FI

docu

men

ts

Closed items

Open Items

Closed items

Closed items

Open Items

Open Items

Duplicate Invoices

VBLNR

LFC1(Vendor master (transaction figures))Vendor (LIFNR)Company Code (BUKRS)Fiscal Year (GJAHR)

KNC1(Customer master (trans figures))Customer (KUNNR)Company Code (BUKRS)Fiscal Year (GJAHR)

BSAS(Accounting: Secondary index for G/Laccounts (cleared items))

Company Code (BUKRS)G/L Account (HKONT)Clearing Date (AUGDT)Clearing Doc (AUGBL)Allocation No (ZUONR)Fiscal Year (GJAHR)Document No (BELNR)Line Items (BUZEI)

BSIP(Index for vendor validation of doubledocuments)Company Code (BUKRS)Vendor (LIFNR)Currency (WAERS)Document Date (BLDAT)Reference Doc (WRBTR)Amount (WRBTR)Document No (BELNR)Fiscal Year (GJAHR)Line Items (BUZEI)

BSIK(Accounting: Secondary index forvendors)

Company Code (BUKRS)Vendor (LIFNR)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)

BSAK(Accounting: Secondary index forvendors (cleared items))Company Code (BUKRS)Vendor (LIFNR)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)

BVOR(Intercompany posting procedures)Intercompany No (BVORG)Company Code (BUKRS)Fiscal Year (GJAHR)Document No (BELNR)

PAYR(Payment transfer medium file)Paying Company (ZBUKR)House Bank (HBKID)Account (HKTID)Payment Method (ZLSCH)Check No (CHECKT)

BSAD(Accounting: Secondary index forcustomers (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)

BKPF(Accounting document header)Company Code (BUKRS)Document No (BELNR)Fiscal Year (GJAHR)

BSEG(Accounting document segment)Company Code (BUKRS)Document No (BELNR)Fiscal Year (GJAHR)Line Item (BUZEI)

BSIS

Company Code (BUKRS)G/L Account (HKONT)Clearing Date (AUGDT)Clearing Doc (AUGBL)Allocation No (ZUONR)Fiscal Year (GJAHR)Document No (BELNR)Line Items (BUZEI)

BSID(Accounting: Secondary index forcustomers)

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)

Page 7: SAP R3 Table Relations

All FI d

ocum

ents

One time accounts

Tax documents

Financial Accounting

Physical

Logical

BKPF(Accounting document header)

Company CodeDocument NoFiscal Year

BSECBSEDBSEGBSESBSET

Company CodeDocument NoFiscal YearLine Item

Company CodeDocument NoFiscal YearLine Item

BKPF(Accounting document header)Company CodeDocument NoFiscal Year

Company CodeDocument NoFiscal YearLine Item

BSEG(Accounting documentsegment)

BSEC(One-time account datadocument segment)

BSET(Tax data documentsegment)

RFBLG(Cluster for accountingdocument)

SAP FI/CO

Page 8: SAP R3 Table Relations

Profit CenterAccounting

ROBJNR

COBJNR

Cost CenterAccounting

Special Purpose Ledger

COBJNR

ROBJNR

________________________________________________________

Example of a CustomLedger

ReconcillationLedger

ROBJNR

SAP FI/CO

ZZGLO

Object (OBJNR)

ZZGLT

Ledger(RLDNR)Record Type (RRCTY)Version (RVERS)Fiscal Year (GJAHR)Object (ROBJNR)Object (SOBJNR)Currency (RTCUR)UOM (RUNIT)Debit/Credit Ind (DRCRX)Period (RPMAX)

ZZGLO

Record No (GL_SIRID)

COFIT(Totals records - reconciliation ledger)

Ledger(RLDNR)Record Type (RRCTY)Version (RVERS)Fiscal Year (GJAHR)Object (ROBJNR)Object (COBJNR)Object (SOBJNR)Currency (RTCUR)UOM (RUNIT)Debit/Credit Ind (DRCRX)Period (RPMAX)

COFIO2(Transaction-dependent fields forreconciliation ledger)Object (OBJNR)

COFIO1(Object Table for ReconciliationLedger COFIT)

Object (OBJNR)

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)

GLPCA(EC-PCA: Actual Line Items)

Record No (GL_SIRID)

GLPCO(EC-PCA: Object Table for AccountAssignment Elements)

Object (OBJNR)

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)

GLPCC(EC-PCA: Transaction Attributes)

Object (OBJNR)

Controlling

Page 9: SAP R3 Table Relations

Accounts Payable

Vendor Master Data

Company Code DataGeneral DataPurchasing Data

LFM1(Vendor master record purchasingorganization data)Vendor No (LIFNR)Purch Org (EKORG)

LFM2(Vendor Master Record: PurchasingData)Vendor No (LIFNR)Purch Org (EKORG)Sub-range (LTSNR)Plant (WERKS)

LFA1(Vendor master (general section))Vendor No (LIFNR)

LFB1(Vendor master (company code))Vendor No (LIFNR)Company Code (BUKRS)

LFBK(Vendor master (bank details))

Vendor No (LIFNR)Bank Cntry (BANKS)Bank Key (BANKL)Bank Acc (BANKN)

LFB5(Vendor master (dunning data))

Vendor No (LIFNR)Company Code (BUKRS)Dunning Area (MABER)

SAP FI/CO

Page 10: SAP R3 Table Relations

Accounts Receivable

Customer Master Data

Company Code DataGeneral DataSales Area Data

SAP FI/CO

KNA1(General Data in Customer Master)

Customer No (KUNNR)

KNB1(Customer master (company code))

Customer No (KUNNR)Company Code (BUKRS)

KNB5(Customer master (dunning data))

Customer No (KUNNR)Company Code (BUKRS)Dunning Area (MABER)

KNVP(Customer Master Partner Functions)

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)Partner Function (PARVW)Partner Counter (PARZA)

KNVV(Customer Master Sales Data)

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)

KNVD(Customer master record salesrequest form)

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)Output Type (NA_KSCHL)Mess Language (SPRAS)

Page 11: SAP R3 Table Relations

Master Data

Cost CenterProfit Center

General Ledger

Cost Elemet

SAP FI/CO

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)

CSKS(Cost center master)Controlling Area (KOKRS)Cost Center (KOSTL)Valid to Date (DATBI)

CSKA(Cost elements (data dependent onchart of accounts))COA (KTOPL)Cost Element (KSTAR)

CSKT(Cost Center Texts)Language (SPRAS)Controlling Area (KOKRS)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)

CSKU(Cost Element Texts)Language (SPRAS)COA (KTOPL)Cost Element (KSTAR)

SKB1(G/L account master (company code))Company Code (BUKRS)G/L Account (SAKNR)

SKA1(G/L accounts master (chart ofaccounts))COA (KTOPL)G/L Account (SAKNR)

SKAT(G/L account master record (chart ofaccounts: description))Language (SPRAS)COA (KTOPL)G/L Account (SAKNR)

Page 12: SAP R3 Table Relations

SAP - Materials Management

Materials Management Financial AccountingMaterials Management Accounts Payable

Purchasing

InvoiceVerification

Tables:EKKOEKPOKNMTMAKT

Page 13: SAP R3 Table Relations

MMTable Mapping

MAKT(Material

Description)

KNMT(Customer-MaterialInfo Record Data

Table)

makt-matnr = knmt-matnr and

makt-spras = sy-langu

EKKO(Purchasing Doc

Header)

EKPO(Purchasing Doc

Item)

EKPO-EBELN =EKKO-EBELN

MDKP(MRP Header)

MDTB(MRP Detail)

MDKP-DTNUM =MDTB-DTNUM

Page 14: SAP R3 Table Relations

Purchasing Requisition

SAP MM - Purchasing

STXH(STXD SAPscript text file header)

Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)

EBAN(Purchase Requisition)

Purchasing Req (BANFN)Item (BNFPO)

EBKN(Purchase Requisition AccountAssignment)Purchasing Req (BANFN)Item (BNFPO)Preg Account Assignment (ZEBKN)

STXL(STXD SAPscript text file lines))

(RELID)Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)(SRTF2)

Page 15: SAP R3 Table Relations

Purchase Orders

SAP MM - Purchasing

S011(PURCH: Purch. Group Statistics)

Statistics (SSOUR)Version (VRSIO)Month (SPMON)Day (SPTAG)Week (SPWOC)Posting Period (SPBUP)Purchasing Org (EKORG)Purchasing Group (EKGRP)Vendor No (LIFNR)

S012(PURCHIS: Purchasing Statistics)

Statistics (SSOUR)Version (VRSIO)Month (SPMON)Day (SPTAG)Week (SPWOC)Posting Period (SPBUP)Purchasing Org (EKORG)Purchasing Group (EKGRP)Material No (MATNR)Plant (WERKS)Info Record Category (ESOKZ)Material Group (MATKL)Info Record (INFNR)Country (LAND1)

EKET(Delivery Schedules)

Purchasing Doc (EBELN)Item (EBELP)Delivery Schedule (ETENR)

EKPO(Purchasing Document Item)

Purchasing Doc (EBELN)Item (EBELP)

EKKN(Account Assignment in PurchasingDocument)Purchasing Doc (EBELN)Item (EBELP)Account Assignment (ZEKKN)

EKKO(Purchasing Document Header)

Purchasing Doc (EBELN)

EORD(Purchasing Source List)

Material No (MATNR)Plant (WERKS)Source List No (ZEORD)

EINA(Purch Info Record: General Data)

Info Record (INFNR)

EINE(Purchasing Info Record: PurchasingOrganization Data)

Info Record (INFNR)Purchasing Org (EKORG)Info Record Type (ESOKZ)Plant (WEKS)

Page 16: SAP R3 Table Relations

Goods Receipt

MKPF(Header: Material Document)

Document No (MBLNR)Fiscal Year (MJAHR)

SAP MM - Purchasing

MSEG(Document Segment: Material)

Document No (MBLNR)Fiscal Year (MJAHR)Line Item (ZEILE)

EKBE(History of Purchasing Document)

Purchasing Doc (EBELN)Item (EBELP)Account Assign (ZEKKN)Trans Type (VGABE)Fiscal Year (MJAHR)Document No (MBLNR)Line Item (ZEILE)

MVER(Material consumption)

Material NO (MATNR)Plant (WERKS)Fiscal Year (GJAHR)Period (PERKZ)Follow-on Records (ZAHLR)

S011(PURCHIS: Purchasing GroupStatistics)Statistics (SSOUR)Version (VRSIO)Month (SPMON)Day (SPTAG)Week (SPWOC)Posting Period (SPBUP)Purchasing Org (EKORG)Purchasing Group (EKGRP)Vendor No (LIFNR)

S031(Statistics: Movements for currentstocks)

Statistics (SSOUR)Version (VRSIO)Month (SPMON)Day (SPTAG)Week (SPWOC)Posting Period (SPBUP)Plant (WERKS)Material No (MATNR)Storage Loc (LGORT)

S013(PURCHIS: Statistics for VendorEvaluation)

Statistics (SSOUR)Version (VRSIO)Month (SPMON)Day (SPTAG)Week (SPWOC)Posting Period (SPBUP)Purchasing Org (EKORG)Purchasing Group (EKGRP)Vendor No (LIFNR)Material No (MATNR)Plant (WERKS)Info Record Cat (ESOKZ)Info Record (INFNR)

Page 17: SAP R3 Table Relations

Accounting DataBasic DataPurchasing Data

SAP MM - Master Data

MARC(Material Master: C Segment)

Material No (MATNR)Plant (WERKS)

MLAN(Tax Classification: Material)Material No (MATNR)Country (ALAND)

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)

MBEW(Material Valuation)

Material No (MATNR)Valuation Area (BWKEY)Valuation Type (BWTAR)

Page 18: SAP R3 Table Relations

Purchasing Info Record

KONP(Conditions (Item))

Condition No (KNUMH)Seq No (KOPOS)

KONH(Conditions (Header))

Condition No (KNUMH)

EINA(Purchasing Info Record: GeneralData)

Info Record (INFNR)

EINE(Purchasing Info Record: PurchasingOrganization Data)

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 MM - Purchasing

Page 19: SAP R3 Table Relations

Project Planning

SAP - Project Planning

Page 20: SAP R3 Table Relations

PPTable Mapping

PROJ(Project Definition)

PRPS(WBS Elements)

PRPS-PSPHI =PROJ-PSPNR

PRTE(Schedule Data for

Proj. Item)

PRPS-PSPNR =PRTE-POSNR

andPRPS-PSPHI=PRTE-PSPHI

PRTX(Texts(WBS))

PRTX-PRPSPNR =PRTE-POSNR

PRHIS(Proj. Hierarchy for

WBS Element)

PRPS-PSPNR =PRHIS-POSNR

andPRPS-PSPHI=PRHIS-PSPHI

PSTX(Project Texts

(Header))

PSTT(Project Texts)

PRTX-PRTXTKY =PSTX-PRTXTKY

PSTX-PRTXTKY =PSTT-PRTXTKY

Page 21: SAP R3 Table Relations

PROJECTSProject and WBS element numbers have a domain with a conversionfunction module which converts it from 8 numc input to 24 char on output.

PROJ(Project definition)

Project Number (PSPNR)Project Name (PSPID)

PRPS(WBS (Work Breakdown Structure)Element Master Data))

Project Number (PSPHI)WBS Element Number (PSPNR)WBS Name (POSID)

PRHIS(Standard WBS, Edges (Hierarchypointers))

Project Number (PSPHI)WBS Element Number (POSNR)

PRTE(Scheduling Data for Project Item)

Project Number (PSPHI)WBS Element Number (POSNR)

PRTX(PS Texts (WBS))

WBS Element Number (PRPSPNR)Text Identifier (PRTXTKY)

PSTX(PS Texts (Header))Text Identifier (PRTXTKY)PS text description (PSTXTTI)

PSTT(PS texts (description))Text Identifier (PRTXTKY)PS text: Description(PTKTEXT)

SAP PP - Project Planning

Page 22: SAP R3 Table Relations

SAP - Sales and Distribution

Sales and Distribution

Finacial Accounting

Billing

Accounts ReceivableSales

Material Master

Shipping

Materials Mgmt.

Tables: KONV LIKP LIPS VBAK VBAP VBBE VBEH VBEP VBFA VBLB VBLK VBPA VBRK VBRP VBUK VBUP VEKP VEPO VEPVG

Page 23: SAP R3 Table Relations

VBAK(Sales

Doc:Header)

VBEP(Sales

Doc:ScheduleLines)

VBAP(Sales Doc:Item

Info)

VBAK-VBELN =VBAP-VBELN

VBEP-VBELN =VBAP-VBELN

andVBAP-POSNR =VBEP-POSNR

VBEP-VBELN =VBAK-VBELN

LIKP(Sales

Doc:DeliveryHeader)

LIPS(Sales

Doc:DeliveryItems)

LIPS-VBELN =LIKP-VBELN

LIPS-VGBEL =VBAP-VBELN

andLIPS-VGPOS =VBAP-POSNR

VBPA-VBELN =LIPS-VGBEL

VBPA(Partner Table)

VBPA-VBELN=VBAK-VBELN

VBPA-POSNR=VBAP-POSNR

VBFA(Doc. Flow)

VBUP(Item Status))

VBUK(Header Status)

vbelv = preceeding documentvbeln = subsequent doc

vbeln = document number

vbeln = document number;use with VBAP and LIPs

VBRK(Billing: Header

data)

KONV(Condition Table)

VBRK-KNUMV =KONV-KNUMV

VEPVG(Delivery Due

Index)

VBBE(Sales

Requirements)

VBBE-VBELN=VBAK-VBELN

VBEH(Schedule Line

History)

VBELNPOSNRETENR

VEPO(SD Doc:Shipping

Item content)

VEPO-VBELN =LIKP-VBELN

VEKP(SD Doc:Shipping

Unit Header)

VEPO-VENUM =VEKP-VENUM

VBRP(Billing: Item data)

VBRK-VBELN =VBRP-VBELN

VBLK(SD:Delivery Note

Header)

VEPO-VBELN =VBLK-VBELN

LIPS-VBELN =VBRP-VGBELLIPS-POSNR=VBRP-VGPOS

SDTable Mapping

Sales/Order Document Shipping/Delivery Document Billing Document

VBLB(Release Order

Data)

VBLB-VBELN=VBAK-VBELN

VBKD(Sales Doc:

Business Data)

VBKD-VBELN =VBAP-VBELN

andVBKD-POSNR =VBAP-POSNR

VKDFS(SD Index:

Billing Initiator)

VAPMA(SD Index:Order Itemsby Material)

VAKPA(SD Index:Order by

Partner Function)

VBSK(Collective Proc.for a Sales Doc

Header)

VBSS(Collective Proc.:Sales Documents)

NAST(Message Status)

VKDFS(SD Index:

Billing Initiator)

VRPMA(SD Index:

Billing Items perMaterial)

VRKPA(SD Index:

Bills by PartnerFunction)

VTTK(Shipment Header)

VTTP(Shipment Item)

VTTK-TKNUM =VTTP-TKNUM

VTTP-VBELN =LIKP-VBELN

Page 24: SAP R3 Table Relations

VBAK(Sales Document :Header)

Sales doc (VBELN)

VBAP(Sales Document : Item Info)

Sales doc (VBELN)Item (POSNR)

VBUP(Item Status)

Sales doc (VBELN)Item (POSNR)

VBEP(Sales Document : Schedule Lines)

Sales doc (VBELN)Item (POSNR)Schedle Line (ETENR)

VBPA(Sales Document :Partner)

VBKD(Sales Document : Business Data)

Sales doc (VBELN)Item (POSNR)Partner Function (PARVW)

Sales doc (VBELN)Item (POSNR)

VBEH(Schedule Line History)Sales doc (VBELN)Item (POSNR)Schedle Line (ETENR)

SAP SD - Sales Tables

VBUK(Header Status)

Sales 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)

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)

VAKPA(SD Index:Order by Partner Function)

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)

STXH(STXD SAPscript text file header)

Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)

STXL(STXD SAPscript text file lines)

(RELID)Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)(SRTF2)

To Shipping through LIPSLIPS-VGBEL = VBAP-VBELN

andLIPS-VGPOS = VBAP-POSNR

VBFA(Sales Document Flow)

Preceding Sales Doc (VBELV)Preceding Item (POSNV)Subsequent Sales doc (VBELN)Subsequent Item (POSNN)Document Cat (VBTYP_N)

Page 25: SAP R3 Table Relations

LIPS-VBELN =LIKP-VBELN

VEPO-VBELN =LIPS-VBELN

andVEPO-POSNR =

LIPS-POSNR

VEPO-VENUM =VEKP-VENUM

VBLK-VBELN =LIKP-VBELN

SAP SD - Shipping Tables

VBLK(SD:Delivery Note Header)

Delivery Document Number (VBELN)

LIKP(Sales Doc:Delivery Header)

Delivery Document Number (VBELN)

LIPS(Sales Doc:Delivery Items)

Delivery Document Number (VBELN)Item (POSNR)

VEKP(SD Doc:Shipping Unit Header)

Shipping Unit Number(VENUM)

VEPO(SD Doc:Shipping Item content)Delivery Document Number (VBELN)Delivery Item (POSNR)Shipping Unit Number (VENUM)Shipping Unit Item (VEPOS)

VBUK(Header Status)

Delivery doc (VBELN)

From Sales through VBAPLIPS-VGBEL = VBAP-VBELN

andLIPS-VGPOS = VBAP-POSNR

To Biling through VBRPVBRP-VGBEL = LIPS-VBELN

andVBRP-VGPOS = LIPS-POSNR

VBUP(Item Status)

Deliverydoc (VBELN)Item (POSNR)

VTTK-TKNUM =VTTP-TKNUM

VTTP-VBELN =LIKP-VBELN

VTTP(Shipment Item)Delivery Doc Number(VBELN)Shipment Number (TKNUM)Shipment Item (TPNUM)

VTTK(Shipment Header)

Shipment Number (TKNUM)

VTFA(Shipment Doc. Flow)

Shipment Number (TKNUM)Preceeding Doc. (VBELV)

VBFA(Sales Document Flow)

Preceding Sales Doc (VBELV)Preceding Item (POSNV)Subsequent Sales doc (VBELN)Subsequent Item (POSNN)Document Cat (VBTYP_N)

Page 26: SAP R3 Table Relations

VRKPA(Sales Index: Bills by PartnerFunctions)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)

VRPMA(SD Index: Billing Items per Material)

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)

VKDFS(SD Index: Billing Initiator)

Billing Cat (FKTYP)Sales Org (VKORG)Billing Date (FKDAT)Customer (KUNNR)Billing Type (FKART)Country (LLAND)Sales doc (VBELN)

VBRK(Billing: Header Data)

Billing doc (VBELN)

VBUK(Header Status)Sales doc (VBELN)

VBRP(Billing: Item Data)Billing doc (VBELN)Item (POSNR)

VBSK(Collective Processing for a SalesDocument Header)

Grouped Delivery (SAMMG)

NAST(Billing: Header Data)

Application (KAPPL)Object (OBJKY)Output Type (KSCHL)Language (SPRAS)Mess Partner (PARNR)Partner Func (PARVW)Date (ERDAT)Time (ERUHR)

VBUP(Sales Document: Item Status)

Sales doc (VBELN)Item (POSNR)

VBFA(Sales Document Flow)

Preceding Sales Doc (VBELV)Preceding Item (POSNV)Subsequent Sales doc (VBELN)Subsequent Item (POSNN)Document Cat (VBTYP_N)

Grouped Delivery (SAMMG)Sales doc (VBELN)

VBSS(Collective Processing: SalesDocuments)

SAP SD - Billing Tables

From Shipping through LIPSVBRP-VGBEL = LIPS-VBELN

andVBRP-VGPOS = LIPS-POSNR

Page 27: SAP R3 Table Relations

Customer Master Data

Company Code DataGeneral DataSales Area Data

SAP SD - Links to FI Tables

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)Partner Function (PARVW)Partner Counter (PARZA)

Customer No (KUNNR)

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)

KNVP(Customer Master Partner Functions)

KNA1(General Data in Customer Master)

KNVV(Customer Master Sales Data)

KNVD(Customer master record salesrequest form)

Customer No (KUNNR)Sales Org (VKORG)Distribution Ch (VTWEG)Division (SPART)Output Type (

KNB1(Customer master (company code))

KNB5(Customer master (dunning data))

Customer No (KUNNR)Companu Code (BUKRS)Dunning Area (MABER)

Customer No (KUNNR)Company Code (BUKRS)

Page 28: SAP R3 Table Relations

Material Master Data

Sales Text DataBasic DataSales Data

MARC(Material Master: C Segment)

Material No (MATNR)Plant (WERKS)

Material No (MATNR)Sales Org (VKORG)Distribution Chan (VTWEG)Product Hierarchy (PRODH)

Material No (MATNR)Country (ALAND)

MVKE(Material Master: Sales Data)

MLAN(Tax Classification: Material)

Material No (MATNR)Language (SPRAS)

MAKT(Material Descriptions)

Material No (MATNR)

MARA(Material Master: General Data)

Material No (MATNR)UOM (MEINH)

MARM(Units of Measure)

Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)

(RELID)Texts (TDOBJECT)Text Name (TDNAME)Text Id (TDID)Language (TDSPRAS)(SRTF2)

STXH(STXD SAPscript text file header)

STXL(STXD SAPscript text file lines)

SAP SD - Links to MM Tables

Product Hierarchy (PRODH)

*use to ge text for hiearchy levels

T179(Materials: Product Hierarchies)

Page 29: SAP R3 Table Relations

SDPaul Evans (Whittman-Hart, inc.)

Krishna Prasad (Whittman-Hart, inc.)Russ Smith (Benteler)

Michael Rhodes (MedPartners, inc.)

FI/COMichael Rhodes (MedPartners, inc.)

MMJim Lewis (Whittman-Hart, inc.)

Michael Rhodes (MedPartners, inc.)

Master DataJim Lewis (Whittman-Hart, inc.)

Contributions by

PP

HR