sap tables and their relation ships in different modules

61
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

Upload: hari-krishna

Post on 07-Nov-2014

166 views

Category:

Documents


14 download

TRANSCRIPT

Page 1: SAP Tables and Their Relation ships in different modules

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

Page 2: SAP Tables and Their Relation ships in different modules

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)

SKB1 = G/L Account Master (Company Code) T001W = Plants/BranchesT001 = Company Codes

Page 3: SAP Tables and Their Relation ships in different modules

SAP - FI/CO

AccountsPayable

Reconcillation Ledger

General Financial Special PurposeLedger Accounting Ledger

CustomLedger

AccountsReceivable

Controlling

Profit Center Cost CenterAccounting Accounting

Tables:BSADBSASBSEGBSESBSIKBSIS

Page 4: SAP Tables and Their Relation ships in different modules

FI/COTable Mapping

Page 5: SAP Tables and Their Relation ships in different modules

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)

Page 6: SAP Tables and Their Relation ships in different modules

BKPF(Accounting document header)

Company CodeDocument NoFiscal Year

SAP FI/CO

Financial Accounting

RFBLG(Cluster for accounting document)

BSECBSED

PhysicalBSEGBSESBSET

BSEG(Accounting document segment)

Page 7: SAP Tables and Their Relation ships in different modules

FIdocuments

All

Company CodeDocument NoFiscal YearLine Item

Page 8: SAP Tables and Their Relation ships in different modules

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

Page 9: SAP Tables and Their Relation ships in different modules

SAP FI/CO

Page 10: SAP Tables and Their Relation ships in different modules

Controlling Special Purpose Ledger

Page 11: SAP Tables and Their Relation ships in different modules

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)

________________________________________________________

Page 12: SAP Tables and Their Relation ships in different modules

Cost CenterAccounting

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)

Page 13: SAP Tables and Their Relation ships in different modules

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)

Page 14: SAP Tables and Their Relation ships in different modules

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)

Page 15: SAP Tables and Their Relation ships in different modules

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)

Cost Element (KSTAR)

Page 16: SAP Tables and Their Relation ships in different modules

General Ledger

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 of accounts: description))Language (SPRAS)COA (KTOPL)G/L Account (SAKNR)

Page 17: SAP Tables and Their Relation ships in different modules

SAP - Materials Management

Purchasing

Materials Management Materials Management Financial Accounting Accounts Payable

InvoiceVerification

Tables:EKKOEKPOKNMTMAKT

Page 18: SAP Tables and Their Relation ships in different modules

KNMT(Customer-Material Info Record Data

Table)

makt-matnr = knmt-matnr and

makt-spras = sy-langu

MAKT(Material

Description)

MDKP(MRP Header)

EKKO(Purchasing Doc

Header)

MDKP-DTNUM =MDTB-DTNUM

EKPO-EBELN =EKKO-EBELN

MDTB(MRP Detail)

EKPO(Purchasing Doc

Item)

MM

Page 19: SAP Tables and Their Relation ships in different modules

Table Mapping

Page 20: SAP Tables and Their Relation ships in different modules

SAP MM - Purchasing

Purchasing Requisition

STXH EBANEBKN(Purchase Requisition Account

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

Page 21: SAP Tables and Their Relation ships in different modules

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)

EKET(Delivery Schedules)

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

EKPO EINA(Purchasing Document Item) (Purch Info Record: General Data)

Purchasing Doc (EBELN) Info Record (INFNR)Item (EBELP)

EKKN(Account Assignment in PurchasingDocument)

Purchasing Doc (EBELN)Item (EBELP)Account Assignment (ZEKKN)

EKKO EORD(Purchasing Document Header) (Purchasing Source List)

Purchasing Doc (EBELN) Material No (MATNR)Plant (WERKS)Source List No (ZEORD)

Page 22: SAP Tables and Their Relation ships in different modules

SAP MM - Purchasing

Goods Receipt

S011(PURCHIS: Purchasing GroupStatistics)Statistics (SSOUR)

MKPF MSEGVersion (VRSIO)Month (SPMON)

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

Page 23: SAP Tables and Their Relation ships in different modules

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)

Page 24: SAP Tables and Their Relation ships in different modules

SAP MM - Purchasing

Purchasing Info Record

KONP KONH(Conditions (Item)) (Conditions (Header))

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)

Page 25: SAP Tables and Their Relation ships in different modules

SAP - Project Planning

Project Planning

Page 26: SAP Tables and Their Relation ships in different modules

PROJ(Project Definition)

Page 27: SAP Tables and Their Relation ships in different modules

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)

Page 28: SAP Tables and Their Relation ships in different modules

PP

Page 29: SAP Tables and Their Relation ships in different modules

Table Mapping

Page 30: SAP Tables and Their Relation ships in different modules

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.

Page 31: SAP Tables and Their Relation ships in different modules

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)

PRTE(Scheduling Data for Project Item)

Project Number (PSPHI)WBS Element Number (POSNR)

PRHIS(Standard WBS, Edges (Hierarchy pointers))

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)

Page 32: SAP Tables and Their Relation ships in different modules

SAP - Sales and Distribution

SalesFinacial Accounting Accounts Receivable

Shipping Sales and Distribution

Materials Mgmt. Material MasterBilling

Tables:KONVLIKPLIPSVBAKVBAPVBBEVBEHVBEPVBFAVBLBVBLKVBPAVBRKVBRPVBUKVBUPVEKPVEPOVEPVG

Page 33: SAP Tables and Their Relation ships in different modules

Sales/Order Document Shipping/Delivery Document Billing Document

Page 34: SAP Tables and Their Relation ships in different modules

VBBE VBLB(Sales (Release Order

Requirements) Data)

VBLB-VBELN=

VBBE-VBELN=VBAK-VBELN

VBPAVBAK-VBELN

(Partner Table)

VBPA-VBELN=VBAK VBAK-VBELN

(Sales VBPA-POSNR=VBAP-POSNR

Doc:Header)

VBLK VEPO(SD:Delivery Note (SD Doc:Shipping

Header) Item content)

VEPO-VBELN = VEPO-VENUM =LIKP-VBELN VEKP-VENUM

VEPO-VBELN =VBLK-VBELN

VEKP

LIKP(SD Doc:Shipping

Unit Header)(Sales

Doc:DeliveryHeader) VTTP-VBELN =

LIKP-VBELN

KONV(Condition Table)

VBRK-KNUMV =KONV-KNUMV

VBSK(Collective Proc.for a Sales Doc

Header)

VBSS(Collective Proc.:Sales Documents)

VKDFS

Page 35: SAP Tables and Their Relation ships in different modules

VEPVG(Delivery Due

Index)

VKDFS(SD Index:

Billing Initiator)

VAPMA(SD Index:

Order Itemsby Material)

VAKPA(SD Index: Order by

VBAK-VBELN =VBAP-VBELN

VBAP(Sales Doc:Item

VBEP-VBELN = Info)VBAK-VBELN

VBEP-VBELN =VBAP-VBELN VBKD-VBELN =

and VBAP-VBELNVBAP-POSNR = andVBEP-POSNR VBKD-POSNR =

VBAP-POSNR

VBEPVBKD

(Sales Doc:(Sales Business Data)

Doc:Schedule

VTTP(Shipment Item)

VBPA-VBELN =LIPS-VBELN = VTTK-TKNUM =

LIPS-VGBELLIKP-VBELN VTTP-TKNUM

VTTKLIPS-VGBEL = (Shipment Header)VBAP-VBELN

andLIPS-VGPOS =

LIPSVBAP-POSNR(Sales LIPS-VBELN =

Doc:Delivery VBRP-VGBEL

Items) LIPS-POSNR=VBRP-VGPOS

VBRK(Billing: Header

data)

VBRK-VBELN =VBRP-VBELN

VBRP(Billing: Item data)

(SD Index:Billing Initiator)

NAST(Message Status)

VRPMA(SD Index: Billing

Items per Material)

VRKPA(SD Index: Bills

by Partner Function)

Page 36: SAP Tables and Their Relation ships in different modules

Partner Function) Lines)

VBELNPOSNRETENR

VBFA vbelv = preceeding document(Doc. Flow) vbeln = subsequent doc

VBUKvbeln = document number SD(Header Status)

Page 37: SAP Tables and Their Relation ships in different modules

VBEH(Schedule Line

History)

Table MappingVBUP vbeln = document number

(Item Status)) ;use with VBAP and LIPs

Page 38: SAP Tables and Their Relation ships in different modules

VKDFS(SD Index:Billing Initiator)

SAP SD - Sales TablesSTXL(STXD SAPscript text file lines)

Page 39: SAP Tables and Their Relation ships in different modules

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)

VBFA(Sales Document Flow)

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

Page 40: SAP Tables and Their Relation ships in different modules

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)

To Shipping throughLIPS

LIPS-VGBEL = VBAP-VBELNVBAP and(Sales Document : Item Info) LIPS-VGPOS = VBAP-POSNR

Sales doc (VBELN)Item (POSNR)

VBKDVBEP (Sales Document : Business Data)(Sales Document : Schedule Lines) Sales doc (VBELN)Sales doc (VBELN) Item (POSNR)Item (POSNR)Schedle Line (ETENR)

VBEH VBPA(Schedule Line History) (Sales Document :Partner)Sales doc (VBELN) Sales doc (VBELN)Item (POSNR) Item (POSNR)Schedle Line (ETENR) Partner Function (PARVW)

Page 41: SAP Tables and Their Relation ships in different modules

SAP SD - Shipping Tables

Page 42: SAP Tables and Their Relation ships in different modules

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

VTTK-TKNUM =VTTP-TKNUM

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)

VTTP-VBELN =

LIKP-VBELN

VBUK(Header Status)

Delivery doc (VBELN)

VBUP(Item Status)

Deliverydoc (VBELN)Item (POSNR)

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)

Page 43: SAP Tables and Their Relation ships in different modules

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

Page 44: SAP Tables and Their Relation ships in different modules

SAP SD - Billing Tables

Page 45: SAP Tables and Their Relation ships in different modules

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)

Grouped Delivery (SAMMG) Grouped Delivery (SAMMG)Sales doc (VBELN)

NAST(Billing: Header Data)

Page 46: SAP Tables and Their Relation ships in different modules

VBRK(Billing: Header Data)VRPMA

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

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

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

VBUK(Header Status)Sales doc (VBELN)

Page 47: SAP Tables and Their Relation ships in different modules

From Shipping throughLIPSVBRP-VGBEL = LIPS-VBELN

andVBRP-VGPOS = LIPS-POSNR

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)

Page 48: SAP Tables and Their Relation ships in different modules

SAP SD - Links to FI Tables

Page 49: SAP Tables and Their Relation ships in different modules

Sales Area Data

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 (

Customer Master Data

General Data

KNA1(General Data in Customer Master)

Customer No (KUNNR)

Company Code Data

KNB1(Customer master (company code))

Customer No (KUNNR)Company Code (BUKRS)

KNB5(Customer master (dunning data))

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

Page 50: SAP Tables and Their Relation ships in different modules

SAP SD - Links to MM Tables

Page 51: SAP Tables and Their Relation ships in different modules

Sales Data

MARC(Material Master: C Segment)

Material No (MATNR)Plant (WERKS)

MVKE(Material Master: Sales Data)

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

T179(Materials: Product Hierarchies)

Product Hierarchy (PRODH)

*use to ge text for hiearchy levels

MLAN(Tax Classification: Material)

Material No (MATNR)Country (ALAND)

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

Sales Text Data

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

Page 52: SAP Tables and Their Relation ships in different modules