dfd sap tables

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

Upload: julio-castro

Post on 18-Apr-2015

382 views

Category:

Documents


13 download

TRANSCRIPT

Page 1: Dfd Sap Tables

SAP Table Relationsversion 1.0.0

compiled by

Christopher Solomonwith

contributions byvarious SAP Professionals

Page 2: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

SAP - FI/CO

FinancialAccounting

Special PurposeLedger

Controlling

AccountsPayable

GeneralLedger

AccountsReceivable

Reconcillation Ledger

CustomLedger

Profit CenterAccounting

Cost CenterAccounting

Tables:BSADBSASBSEGBSESBSIKBSIS

Page 5: Dfd Sap Tables

FI/COTable Mapping

Page 6: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

SAP - Materials Management

Materials Management Financial AccountingMaterials Management Accounts Payable

Purchasing

InvoiceVerification

Tables:EKKOEKPOKNMTMAKT

Page 13: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

Project Planning

SAP - Project Planning

Page 20: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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: Dfd Sap Tables

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

Page 30: Dfd Sap Tables

VBAK ( Header Pedido )

Auart : tipo da ordemVbtyp : tipo documentoVbeln : número da ordem

VBAP ( Item Pedido )

Vbeln : número da ordemPosnr : número do itemMatnr : materialArktx : descriçãoPstyv : tipo do item

VBAK-Vbeln = VBAP-Vbeln

LIPS ( Item Remessa/Delivery/Fornecimento )

Vbeln : número da remessaPosnr : número do itemVgbel : número do documento origemVgpos : número do item origem

VBAP-Vbeln = LIPS-VgbelVBAP-Vposnr = LIPS-Vgpos

VBRK ( Header Doc. Faturamento/Billing )

Vbeln : número doc.faturamentoZukri+7(10) : número fornecimento

VBRP ( Item Doc. Faturamento/Billing )

Vbeln : número doc.faturamentoVgbel : número da remessa (doc.origem)Vgpos : número do item da remessaAubel : número do pedidoAupos : número do item do pedidoVgtyp : tipo do documento de origemMatnr : materialFkimg : qtd. faturada

VBAP-Vbeln = VBRP-AubelVBAP-Posnr = VBRP-Aupos

LIPS-Vbeln = VBRP-VgbelLIPS-Posnr = VBRP-Vgpos

VBRK-Vbeln = VBRP-Vbeln

J_1BNFLIN ( Item Nota Fiscal )

RefKey : documento de origemRefitm : item do documento de origem

VBRP-Vbeln = J_1BNFLIN-RefkeyVBRP-Posnr = J_1BNFLIN-Refitm

MSEG ( Item do Documento de Material )

Mblnr : número do doc. materialMjahr : ano do documento do material

MSEG-Mblnr = J_1BNFLIN-refkey(10)MSEG-Mjahr = J_1BNFLIN-refkey+10(04)

BKPF ( Documento Contábil )

Awkey : documento referência

BKPF-Awkey = J_1BNFLIN-RefKey

VBAP-Vbeln = VBRP-VgbelVBAP-Posnr = VBRP-VgposNo caso de faturamento antecipado

VBFA ( Relacionamento entre os documentos de venda )

Vbelv : Documento precedentePosnv : Item doc.precedenteVbeln : Documento SubsequentePosnn : Item doc.subsequente

KONV ( Condição do Item do Pedido)

Knumv : número da condiçãoKposn : item do pedidoKschl : tipo de condiçãoKbetr : montante ou perc. da condição

KONV-Knumv = VBAK-KnumvKONV-Kposn = VBAP-posnr

M_J1BAB ( Índice por Nº referencia )

RefKey : documento de origem

OU PARA MELHOR PERFORMANCE

VBRP-Vbeln = M_J1BAB-Refkey

Verificar chave do índice

Page 31: Dfd Sap Tables

VBRK ( Header Doc. Faturamento/Billing )

Vbeln : número doc.faturamentoZukri+7(10) : número fornecimento

VBRP ( Item Doc. Faturamento/Billing )

Vbeln : número doc.faturamentoVgbel : número da remessa (doc.origem)Vgpos : número do item da remessaAubel : número do pedidoAupos : número do item do pedidoVgtyp : tipo do documento de origemMatnr : materialFkimg : qtd. faturada

VBRK-Vbeln = VBRP-Vbeln

J_1BNFLIN ( Item Nota Fiscal )

RefKey : documento de origemRefitm : item do documento de origem

VBRP-Vbeln = J_1BNFLIN-RefkeyVBRP-Posnr = J_1BNFLIN-Refitm

EKPO ( Item do Pedido de Compra )

Ebeln :número do pedido de compraEbelp :número do item do ped.de compra

EKPO-Ebeln = VBRP-AubelEKPO-Ebelp = VBRP-Aupos

BKPF ( Documento Contábil )

Awkey : documento referência

BKPF-Awkey = J_1BNFLIN-RefKey

Maurício Mião 01/09/98

Relacionamentos entre as tabelas SAP

EKKO ( Header Pedido de Compra )

Ebeln :número do pedido de compraKnumv :número da condição

KONV ( Condição do Item do Pedido)

Knumv : número da condiçãoKposn : item do pedidoKschl : tipo de condiçãoKbetr : montante ou perc. da condição

EKPO-Ebeln = EKKO-Ebeln

KONV-Knumv = EKKO-KnumvKONV-Kposn = EKPO-Ebeln

KONH ( Condição do Programa de Remessa )

Knumh : número da condição

KONH-VAKEY = EKPO-EBELN + EKPO-EBELP

KONP ( Condição do Programa de Remessa Item )

Knumh : número da condiçãoKschl : tipo de condiçãoKbetr : montante ou perc. da condição

KNUMH

M_J1BAB ( Índice por Nº referencia )

RefKey : documento de origem

OU PARA MELHOR PERFORMANCE

VBRP-Vbeln = M_J1BAB-Refkey

Verificar chave do índice

MR1M / MR3M Rev.fatura logística

EKBE ( Historico do pedido de compras )

Ebeln :número do pedido de compraEbelp : item pedidoVgabe : 2 - entrada de fatura (valores fixos)Belnr : número documento contabilBuzei : item doc

RBKP ( Header Doc.revisão fatura logistica )

Belnr : número documento contabilXblnr : número nota fiscal fatura

RSEG (Item Doc.revisão fatura logistica)

Belnr : número documento contabilBuzei : item doc.faturaMenge : quantidade faturada

Page 32: Dfd Sap Tables

CABN ( Característica do produto )

Atinn : código internoAtnam : descrição

AUSP ( Valores das Características )

Objek : objeto ( Ex. Cód. Material )Atinn : código interno caract.Atwrt : valor da característicaAtflv : valor interno em pto.flutuanteKlart : tipo de classe

AUSP-Atinn = CABN-AtinnAUSP-Objek = MARA-matnr por exemplo

CAWN ( Valores possíveis da característica )

Atinn : código internoAtwrt : valor ( código externo )Atzhl : numerador ( número do item )

CAWNT ( Descrição da Característica )

Atinn : código interno característicaAtzhl : númerador da característicaSpras : idiomaAtwtb : descrição da característica

AUSP-Atinn = CAWN-AtinnAUSP-Atwrt = CAWN-Atwrt

CAWNT-Atinn = CAWN-AtinnCAWNT-Spras = Sy-languCAWNT-Atzhl = CAWN-Atzhl

TVBUR ( Agência de Vendas )

Vkbur : código agênciaAdrnr : código do endereço

SADR ( Endereço da Agência de Vendas )

Adrnr : código do endereçoName1..4 : descrição do endereçoNatio : versão do endereço

TVKBT ( Descrição da Agência de Vendas )

Vkbur : código da agênciaSpras : idiomaBzei : descrição

SADR-Adrnr = TVBUR-Adrnr

TVKBT-Vkbur = TVBUR-Vkbur

KSSK ( Tipos de classe por material )

Objek : Código do materialKlart : Tipo de classeClint : Código interno do tipo de classe

KLAH ( Classes do material )

Clint : Código interno do tipo de classeClass : código da classeKlart : Tipo de classeKLAH-Clint = KSSK-Clint

UMA ENTRADA PARA CADA CLASSEDE CADA TIPO

MM01 - Visão de Classificação

Page 33: Dfd Sap Tables

M_ORDNA( Ordem Pai - Filho )

Lead_aufnr : ordem paiAufnr : ordem filhoMaufnr : ordem superior com relação a filho

CAUFV( Ordem de Produçao Header )

Aufnr : número da ordemObjnr : objeto da ordemPlnbez : material da ordemStlbez : material da ordem pai

M_ORDNA-Aufnr = CAUFV-Aufnr

COSP( Custos Externos da Ordem Pr )

Objnr : objeto custoWrttp : categoria do valor ( Plan/Real)Kstar : classe do custo ( GGP/MOD)Wog999 : valor em moedaHrkft : chave custo

COSP-Objnr = CAUFV-Objnr

AUFK( Ordem de Produçao Header Dados mestre )

Aufnr : número da ordemObjnr : objeto da ordemAuart : tipo da ordem

COSP-Objnr = AUFK-Objnr

COSS( Custos Internos da Ordem Pr )

Objnr : objeto custoWrttp : categoria do valor ( Plan/Real)Kstar : classe do custo Wog999 : valor em moeda

COSP-Objnr = AUFK-Objnr

AFPO( Ordem de Produçao Item )

Aufnr : número da ordemPosnr : item da ordem

AUFK-Aufnr = AFPO-Aufnr

JEST( Status individual por objeto )

Objnr : número do objetoAUFK-Aufnr = JEST-Objnr

COKEY( Header Custos )

Hrkft : chave custoMatnr : código do materialWerks : centro

COKEY-Hrkft = COSP-Hrkft

Page 34: Dfd Sap Tables

EINA ( Info Record Compras Dados Gerais )

Infnr : n. registroMatnr : materialLifnr : fornecedor

EINE ( Info Record - Dados Organização Compras )

Infnr : n. registroEkorg : organização comprasWerks : centro

A017 ( Info record Material - Condições )

Lifnr : fornecedorMatnr : materialEkorg : organização comprasWerks : centroDatbi : fim validadeDatab : inicio validadeKnumh : código da condiçãoEINA-Infnr = EINE-Infnr

A017-Lifnr = EINA-LifnrA017-Matnr = EINA-MatnrA017-Ekorg = EINE-EkorgA017-Werks = EINE-Werks

KONH ( Condições Header )

Knumh : código da condiçãoDatbi : fim validadeDatab : inicio validade

KONH-Knumh = A017-Knumh

KONP ( Condições Item )

Knumh : código da condiçãoKbetr : valorKschl : tipo condição

KONP-Knumh = KONH-Knumh

ME11 / ME12 / ME13 Info Record Compras

PLKO ( Planos ou Roteiros Header )

PLNTY : tipo do planoPLNNR : número do planoPLNAL : numeradorLOEKZ : código de eliminação 'x' - delSTATU : status do plano

PLPO ( Planos ou Roteiros para Material Item )

PLNTY : tipo do planoPLNNR : número do planoPLNAL : numeradorLOEKZ : código de eliminação 'x' - delZAEHL : numeradorVPLTY : tipo plano de referenciaVPLNR : número do plano referenciaVPLAL : numerador plano referencia

PLPO-PLNTY = PLKO-PLNTYPLPO-PLNNR = PLKO-PLNNRPLPO-PLNAL = PLKO-PLNAL

MAPL ( Roteiros por material )

PLNTY : tipo do planoPLNNR : número do planoPLNAL : numeradorLOEKZ : código de eliminação 'x' - delMATNR : materialWERKS : centro

MAPL-PLNTY = PLKO-PLNTYMAPL-PLNNR = PLKO-PLNNRMAPL-PLNAL = PLKO-PLNAL

Page 35: Dfd Sap Tables

TVBVK ( Grupo de Vendedores/Ag.Vendas )

Vkbur : Agência de vendasVkgrp : Grupo de Vendedores TVKGR ( Grupo de Vendedores )

Vkgrp : grupo de vendedores

TVGRT ( Descrição do Grupo de Vendedores )

Vkgrp : grupode vendedoresSpras : idiomaBezei : descrição do grupo de vend.

TVKGR-Vkgrp = TVBVK-Vkgrp

TVGRT-Vkgrp = TVKGR-VkgrpTVGRT-Spras = Sy-langu

VTTK ( Transporte Header )

Tknum : transporteTdlnr : transportadoraDtmeng : unidade pesoDtmev : unidade volume

LTAK ( Ordem de Transferencia Header )

Lgnum : depósitoTanum : N.ordem transferenciaKquit : confirmadoRefnr : ReferênciaVbeln : Fornecimento

VTTK-Tknum = LTAK-Tanum

VTTP ( Transporte Item )

Tknum : transporteTpnum : itemVbeln : fornecimento

LTAP (Ordem de transferência Item)

Lgnum : depósitoTanum : N. ordem transferenciaTapos : itemOrpos : item OT que originou este item

LIKP ( Fornecimento Header )

Vbeln : fornecimento

VTTK-Tknum = VTTP-Tknum

LTAK-Vbeln = VTTP-Vbeln

LTAK-Lgnum = LTAP-LgnumLTAK-Tanum = LTAP-Tanum

VTTP-Vbeln = LIKP-Vbeln

VTTP-Tknum = LTAP-TanumVTTP-Tpnum =LTAP-Orpos

Page 36: Dfd Sap Tables

VBAK ( Header Pedido )

Auart : tipo da ordemVbtyp : tipo documentoVbeln : número da ordem

VBAP ( Item Pedido )

Vbeln : número da ordemPosnr : número do itemMatnr : materialArktx : descriçãoPstyv : tipo do item

VBKD ( Dados comerciais )

Vbeln : número da ordemPosnr : número do item

VBKD-Vbeln = VBAK-VbelnVBKD-posnr = 00000000

VBKD-Vbeln = VBAK-vbelnVBKD-posnr = VBAP-posnr

Dados comerciais do pedido de vendas - VA03

VK13 - Condições do material - Preço de venda

A004 ( Condições para determinação preços do material )

Matnr : materialVkorg : organização de vendasVtweg : canal de distribuiçãoDatbi : fim validadeDatab : inicio validadeKnumh : código da condiçãoKschl : tipo de condição

KONH ( Condições Header )

Knumh : código da condiçãoDatbi : fim validadeDatab : inicio validade

KONH-Knumh = A004-Knumh

KONP ( Condições Item )

Knumh : código da condiçãoKbetr : valor

KONP-Knumh = KONH-Knumh