You are on page 1of 36

SAP Table Relations

version 1.0.0
compiled by

Christopher Solomon
with
contributions by
various SAP Professionals

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


(Table Description)

SAP Table Information

SAP Field Name (Field Description)

SAP Field Name (Field Description)

Useful Fields

Link Key
One-to-One
One

One
One-to-Many

One

SAP Table Name


(Table Description)

Many

Master Data Tables

CEPC = Profit Center Master Data Table


CSKS = Cost Center Master
KNA1 = Cutomer Master (General Data)
LFA1 = Vendor Master (General Data)
MARA = Material Master (General Data)
SKB1 = G/L Account Master (Company Code)
T001W = Plants/Branches
T001 = Company Codes

SAP - FI/CO

Accounts
Payable

Reconcillation Ledger

General
Ledger

Financial
Accounting

Special Purpose
Ledger

Custom
Ledger
Accounts
Receivable
Controlling

Profit Center
Accounting

Tables:
BSAD
BSAS
BSEG
BSES
BSIK
BSIS

Cost Center
Accounting

FI/CO
Table Mapping

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

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

VBLNR
BKPF
(Accounting document header)
Company Code (BUKRS)
Document No (BELNR)
Fiscal Year (GJAHR)
All FI
documents

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)

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

Closed items

Open Items
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)

Open Items

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

Open Items

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)

Closed items

Closed items

BSIK
(Accounting: Secondary index for
vendors)
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 for
vendors (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)

BSAS
(Accounting: Secondary index for G/L
accounts (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)

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

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

SAP FI/CO
Financial Accounting

RFBLG
(Cluster for accounting
document)

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

BSEC
BSED
BSEG
BSES
BSET

Physical

BSEG
(Accounting document
segment)

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

F
ll

do

um

en

ts

One time accounts

Ta

do

cu

en

Company Code
Document No
Fiscal Year
Line Item

BSEC
(One-time account data
document segment)
Company Code
Document No
Fiscal Year
Line Item

ts
BSET
(Tax data document
segment)
Company Code
Document No
Fiscal Year
Line Item

Logical

SAP FI/CO
Special Purpose Ledger

Controlling
Profit Center
Accounting

GLPCA
(EC-PCA: Actual Line Items)
Record No (GL_SIRID)

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)

Example of a Custom
Ledger
ZZGLO

ROBJNR

COBJNR

Object (OBJNR)
ROBJNR

GLPCO
(EC-PCA: Object Table for Account
Assignment Elements)
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)
GLPCC
(EC-PCA: Transaction Attributes)
Object (OBJNR)

________________________________________________________
Cost Center
Accounting
COSP
(CO Object: Cost Totals - External
Postings)
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)

Reconcillation
Ledger
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)

CO

BJ

NR

COFIO2
(Transaction-dependent fields for
reconciliation ledger)
Object (OBJNR)

ROBJNR

COFIO1
(Object Table for Reconciliation
Ledger COFIT)
Object (OBJNR)

SAP FI/CO
Accounts Payable

Vendor Master Data

Purchasing Data

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

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

General Data

Company Code Data

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
Accounts Receivable

Customer Master Data

Sales Area Data

General Data

Company Code Data

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

KNA1
(General Data in Customer Master)

KNB1
(Customer master (company code))

Customer No (KUNNR)

Customer No (KUNNR)
Company Code (BUKRS)

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

KNVD
(Customer master record sales
request form)
Customer No (KUNNR)
Sales Org (VKORG)
Distribution Ch (VTWEG)
Division (SPART)
Output Type (NA_KSCHL)
Mess Language (SPRAS)

KNB5
(Customer master (dunning data))
Customer No (KUNNR)
Company Code (BUKRS)
Dunning Area (MABER)

SAP FI/CO
Master Data
Cost Elemet

Profit Center

Cost Center

CEPC
(Profit center master data table)
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 on
chart of accounts))
COA (KTOPL)
Cost Element (KSTAR)

CSKB
(Cost elements (data dependent on
controlling area))
Controlling Area (KOKRS)
COA (KTOPL)
Cost Element (KSTAR)
Valid to Date (DATBI)
CEPCT
(Texts for Profit Center Master Data)
Language (SPRAS)
Profit Center (PRCTR)
Valid to Date (DATBI)
Controlling Area (KOKRS)

CSKT
(Cost Center Texts)
Language (SPRAS)
Controlling Area (KOKRS)
Cost Center (KOSTL)
Valid to Date (DATBI)

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

General Ledger

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

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

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

SAP - Materials Management

Purchasing

Materials Management

Invoice
Verification

Tables:
EKKO
EKPO
KNMT
MAKT

Materials Management

Financial Accounting

Accounts Payable

KNMT
(Customer-Material
Info Record Data
Table)
makt-matnr = knmt-matnr
and
makt-spras = sy-langu

MAKT
(Material
Description)

EKKO
(Purchasing Doc
Header)

MDKP
(MRP Header)

MDKP-DTNUM =
MDTB-DTNUM
EKPO-EBELN =
EKKO-EBELN

EKPO
(Purchasing Doc
Item)

MDTB
(MRP Detail)

MM
Table Mapping

SAP MM - Purchasing
Purchasing Requisition

STXH
(STXD SAPscript text file header)

EBAN
(Purchase Requisition)

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

Purchasing Req (BANFN)


Item (BNFPO)

STXL
(STXD SAPscript text file lines))
(RELID)
Texts (TDOBJECT)
Text Name (TDNAME)
Text Id (TDID)
Language (TDSPRAS)
(SRTF2)

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

SAP MM - Purchasing
Purchase Orders
S011
(PURCH: Purch. Group Statistics)

S012
(PURCHIS: Purchasing Statistics)

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

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)

EINE
(Purchasing Info Record: Purchasing
Organization Data)
Info Record (INFNR)
Purchasing Org (EKORG)
Info Record Type (ESOKZ)
Plant (WEKS)

EKET
(Delivery Schedules)
Purchasing Doc (EBELN)
Item (EBELP)
Delivery Schedule (ETENR)
EKPO
(Purchasing Document Item)
Purchasing Doc (EBELN)
Item (EBELP)

EINA
(Purch Info Record: General Data)
Info Record (INFNR)

EKKO
(Purchasing Document Header)
Purchasing Doc (EBELN)

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

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

SAP MM - Purchasing
Goods Receipt

MKPF
(Header: Material Document)

MSEG
(Document Segment: Material)

Document No (MBLNR)
Fiscal Year (MJAHR)

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

EKBE
(History of Purchasing Document)

MVER
(Material consumption)

Purchasing Doc (EBELN)


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

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

S011
(PURCHIS: Purchasing Group
Statistics)
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 current
stocks)
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 Vendor
Evaluation)
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)

SAP MM - Master Data

Purchasing Data

Basic Data

MARC
(Material Master: C Segment)

MAKT
(Material Descriptions)

Material No (MATNR)
Plant (WERKS)

Material No (MATNR)
Language (SPRAS)

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

Accounting Data

MARA
(Material Master: General Data)

MBEW
(Material Valuation)

Material No (MATNR)

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

MARM
(Units of Measure)
Material No (MATNR)
UOM (MEINH)

SAP MM - Purchasing

Purchasing Info Record

KONP
(Conditions (Item))

KONH
(Conditions (Header))

Condition No (KNUMH)
Seq No (KOPOS)

Condition No (KNUMH)

EINA
(Purchasing Info Record: General
Data)

EINE
(Purchasing Info Record: Purchasing
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 =
PRTE-POSNR
and
PRPS-PSPHI=
PRTE-PSPHI

PRTE
(Schedule Data for
Proj. Item)

PRTX-PRPSPNR =
PRTE-POSNR

PRTX
(Texts(WBS))

PRTX-PRTXTKY =
PSTX-PRTXTKY

PRPS-PSPNR =
PRHIS-POSNR
and
PRPS-PSPHI=
PRHIS-PSPHI

PSTX
(Project Texts
(Header))
PRHIS
(Proj. Hierarchy for
WBS Element)

PSTX-PRTXTKY =
PSTT-PRTXTKY

PSTT
(Project Texts)

PP
Table Mapping

SAP PP - Project Planning

PROJECTS
Project and WBS element numbers have a domain with a conversion
function module which converts it from 8 numc input to 24 char on output.

PROJ
(Project definition)
Project Number (PSPNR)
Project Name (PSPID)

PRTE
(Scheduling Data for Project Item)
PRPS
(WBS (Work Breakdown Structure)
Element Master Data))

Project Number (PSPHI)


WBS Element Number (POSNR)

Project Number (PSPHI)


WBS Element Number (PSPNR)
WBS Name (POSID)

PRTX
(PS Texts (WBS))
WBS Element Number (PRPSPNR)
Text Identifier (PRTXTKY)
PRHIS
(Standard WBS, Edges (Hierarchy
pointers))
Project Number (PSPHI)
WBS Element Number (POSNR)

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

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

SAP - Sales and Distribution

Sales
Finacial Accounting

Shipping

Accounts Receivable

Sales and Distribution

Materials Mgmt.
Billing

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

Material Master

Sales/Order Document

VBBE
(Sales
Requirements)

Shipping/Delivery Document

VBLB
(Release Order
Data)

VBBE-VBELN=
VBAK-VBELN

VBLB-VBELN=
VBAK-VBELN

VBPA
(Partner Table)

VBPA-VBELN=
VBAK-VBELN
VBPA-POSNR=
VBAP-POSNR

VBAK
(Sales
Doc:Header)

VBLK
(SD:Delivery Note
Header)

VEPO
(SD Doc:Shipping
Item content)

VEPO-VBELN =
LIKP-VBELN
VEPO-VBELN =
VBLK-VBELN

VKDFS
(SD Index:
Billing Initiator)
VAPMA
(SD Index:
Order Items
by Material)

VAKPA
(SD Index:
Order by
Partner Function)

VBEP-VBELN =
VBAK-VBELN

VBEP-VBELN =
VBAP-VBELN
and
VBAP-POSNR =
VBEP-POSNR

VBEP
(Sales
Doc:Schedule
Lines)
VBELN
POSNR
ETENR

VBEH
(Schedule Line
History)

VBKD-VBELN =
VBAP-VBELN
and
VBKD-POSNR =
VBAP-POSNR

KONV
(Condition Table)

VEPO-VENUM =
VEKP-VENUM

VEKP
(SD Doc:Shipping
Unit Header)

LIKP-VBELN

VBAP
(Sales Doc:Item
Info)

VBSK
(Collective Proc.
for a Sales Doc
Header)

VBRK-KNUMV =
KONV-KNUMV

VBSS
(Collective Proc.:
Sales Documents)

LIKP
(Sales
Doc:Delivery
VTTP-VBELN =
Header)

VBAK-VBELN =
VBAP-VBELN

VEPVG
(Delivery Due
Index)

Billing Document

VTTP
(Shipment Item)
VBPA-VBELN =
LIPS-VGBEL

LIPS-VBELN =
LIKP-VBELN

LIPS-VGBEL =
VBAP-VBELN
and
LIPS-VGPOS =
VBAP-POSNR

VBKD
(Sales Doc:
Business Data)

VKDFS
(SD Index:
Billing Initiator)

VBRK
(Billing: Header
data)

VTTK-TKNUM =
VTTP-TKNUM

VTTK
(Shipment Header)

LIPS
(Sales
Doc:Delivery
Items)

LIPS-VBELN =
VBRP-VGBEL
LIPS-POSNR=
VBRP-VGPOS

NAST
(Message Status)
VBRK-VBELN =
VBRP-VBELN

VRPMA
(SD Index:
Billing Items per
Material)

VBRP
(Billing: Item data)

VBFA
(Doc. Flow)

vbelv = preceeding document


vbeln = subsequent doc

VBUK
(Header Status)

vbeln = document number

VBUP
(Item Status))

vbeln = document number


;use with VBAP and LIPs

VRKPA
(SD Index:
Bills by Partner
Function)

SD
Table Mapping

SAP SD - Sales Tables


VKDFS
(SD Index:Billing Initiator)
Billing Cat (FKTYP)
Sales Org (VKORG)
Billing Date (FKDAT)
Customer (KUNNR)
Billing Type (FKART)
Country (LLAND)
Sales doc (VBELN)

STXL
(STXD SAPscript text file lines)

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

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)

VBUK
(Header Status)
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)

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

STXH
(STXD SAPscript text file header)

VBFA
(Sales Document Flow)
VBAK
(Sales Document :Header)
Sales doc (VBELN)

VBAP
(Sales Document : Item Info)

Preceding Sales Doc (VBELV)


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

VBUP
(Item Status)
Sales doc (VBELN)
Item (POSNR)

To Shipping through
LIPS
LIPS-VGBEL = VBAP-VBELN
and
LIPS-VGPOS = VBAP-POSNR

Sales doc (VBELN)


Item (POSNR)

VBKD
(Sales Document : Business Data)

VBEP
(Sales Document : Schedule Lines)

Sales doc (VBELN)


Item (POSNR)

Sales doc (VBELN)


Item (POSNR)
Schedle Line (ETENR)

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

VBPA
(Sales Document :Partner)
Sales doc (VBELN)
Item (POSNR)
Partner Function (PARVW)

SAP SD - Shipping Tables


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

VBLK
(SD:Delivery Note Header)
Delivery Document Number (VBELN)
VTTP-VBELN =
LIKP-VBELN

VTTK-TKNUM =
VTTP-TKNUM

VBLK-VBELN =
LIKP-VBELN

VTTK
(Shipment Header)
Shipment Number (TKNUM)

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

LIKP
(Sales Doc:Delivery Header)
Delivery Document Number (VBELN)

VTFA
(Shipment Doc. Flow)
Shipment Number (TKNUM)
Preceeding Doc. (VBELV)

VEPO-VENUM =
VEKP-VENUM

VBUK
(Header Status)
Delivery doc (VBELN)

VBFA
(Sales Document Flow)

LIPS-VBELN =
LIKP-VBELN

Preceding Sales Doc (VBELV)


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

VEPO-VBELN =
LIPS-VBELN
and
VEPO-POSNR =
LIPS-POSNR

VEKP
(SD Doc:Shipping Unit Header)
Shipping Unit Number(VENUM)

VBUP
(Item Status)
Deliverydoc (VBELN)
Item (POSNR)

From Sales throughVBAP


LIPS-VGBEL = VBAP-VBELN
and
LIPS-VGPOS = VBAP-POSNR

LIPS
(Sales Doc:Delivery Items)
Delivery Document Number (VBELN)
Item (POSNR)

To Biling through VBRP


VBRP-VGBEL = LIPS-VBELN
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)

VRPMA
(SD Index: Billing Items per Material)

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
(Collective Processing for a Sales
Document Header)

VBSS
(Collective Processing: Sales
Documents)

Grouped Delivery (SAMMG)

Grouped Delivery (SAMMG)


Sales doc (VBELN)

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

VBRK
(Billing: Header Data)
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)

VBUK
(Header Status)
Sales doc (VBELN)

VBRP
(Billing: Item Data)
Billing doc (VBELN)
Item (POSNR)
VBFA
(Sales Document Flow)

From Shipping through


LIPS
VBRP-VGBEL = LIPS-VBELN
and
VBRP-VGPOS = LIPS-POSNR
VBUP
(Sales Document: Item Status)
Sales doc (VBELN)
Item (POSNR)

Preceding Sales Doc (VBELV)


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

SAP SD - Links to FI Tables

Customer Master Data

Sales Area Data

General Data

Company Code 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 sales
request form)
Customer No (KUNNR)
Sales Org (VKORG)
Distribution Ch (VTWEG)
Division (SPART)
Output Type (

KNA1
(General Data in Customer Master)

KNB1
(Customer master (company code))

Customer No (KUNNR)

Customer No (KUNNR)
Company Code (BUKRS)

KNB5
(Customer master (dunning data))
Customer No (KUNNR)
Companu Code (BUKRS)
Dunning Area (MABER)

SAP SD - Links to MM Tables

Material Master Data

Sales Data
MARC
(Material Master: C Segment)
Material No (MATNR)
Plant (WERKS)

Basic Data

MAKT
(Material Descriptions)
Material No (MATNR)
Language (SPRAS)
STXH
(STXD SAPscript text file header)
Texts (TDOBJECT)
Text Name (TDNAME)
Text Id (TDID)
Language (TDSPRAS)

MVKE
(Material Master: Sales Data)
Material No (MATNR)
Sales Org (VKORG)
Distribution Chan (VTWEG)
Product Hierarchy (PRODH)

Sales Text Data

MARA
(Material Master: General Data)
Material No (MATNR)

T179
(Materials: Product Hierarchies)
Product Hierarchy (PRODH)
STXL
(STXD SAPscript text file lines)

*use to ge text for hiearchy levels


MARM
(Units of Measure)
MLAN
(Tax Classification: Material)
Material No (MATNR)
Country (ALAND)

Material No (MATNR)
UOM (MEINH)

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

Contributions by

Master Data
Jim Lewis (Whittman-Hart, inc.)

MM
Jim Lewis (Whittman-Hart, inc.)
Michael Rhodes (MedPartners, inc.)

FI/CO

HR

Michael Rhodes (MedPartners, inc.)

PP

SD
Paul Evans (Whittman-Hart, inc.)
Krishna Prasad (Whittman-Hart, inc.)
Russ Smith (Benteler)
Michael Rhodes (MedPartners, inc.)

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

VBAK ( Header Pedido )


Auart
Vbtyp
Vbeln

KONV ( Condio do Item do Pedido)


Knumv
Kposn
Kschl
Kbetr

: tipo da ordem
: tipo documento
: nmero da ordem

: nmero da condio
: item do pedido
: tipo de condio
: montante ou perc. da condio

VBRK ( Header Doc. Faturamento/Billing )


Vbeln
Zukri+7(10)

VBAK-Vbeln = VBAP-Vbeln

: nmero doc.faturamento
: nmero fornecimento

VBAP ( Item Pedido )


Vbeln : nmero da ordem
Posnr : nmero do item
Matnr : material
Arktx : descrio
Pstyv : tipo do item
VBAP-Vbeln = LIPS-Vgbel
VBAP-Vposnr = LIPS-Vgpos

VBRK-Vbeln = VBRP-Vbeln
VBAP-Vbeln = VBRP-Aubel
VBAP-Posnr = VBRP-Aupos
VBAP-Vbeln = VBRP-Vgbel
VBAP-Posnr = VBRP-Vgpos
No caso de faturamento
antecipado

LIPS ( Item Remessa/Delivery/Fornecimento )


Vbeln : nmero da remessa
Posnr : nmero do item
Vgbel : nmero do documento origem
Vgpos : nmero do item origem

VBRP ( Item Doc. Faturamento/Billing )


Vbeln
Vgbel
Vgpos
Aubel
Aupos
Vgtyp
Matnr
Fkimg

LIPS-Vbeln = VBRP-Vgbel
LIPS-Posnr = VBRP-Vgpos

: nmero doc.faturamento
: nmero da remessa (doc.origem)
: nmero do item da remessa
: nmero do pedido
: nmero do item do pedido
: tipo do documento de origem
: material
: qtd. faturada
VBRP-Vbeln = J_1BNFLIN-Refkey
VBRP-Posnr = J_1BNFLIN-Refitm
VBRP-Vbeln = M_J1BAB-Refkey

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

J_1BNFLIN ( Item Nota Fiscal )


RefKey
Refitm

MSEG ( Item do Documento de Material )


Mblnr
Mjahr

: documento de origem
: item do documento de origem
Verificar chave do ndice
OU PARA MELHOR PERFORMANCE

: nmero do doc. material


: ano do documento do material

M_J1BAB ( ndice por N referencia )


RefKey

: documento de origem

BKPF-Awkey = J_1BNFLIN-RefKey

BKPF ( Documento Contbil )


VBFA ( Relacionamento entre os
documentos de venda )
Vbelv
Posnv
Vbeln
Posnn

: Documento precedente
: Item doc.precedente
: Documento Subsequente
: Item doc.subsequente

Awkey

: documento referncia

Maurcio Mio
01/09/98
VBRK ( Header Doc. Faturamento/Billing )
Vbeln
Zukri+7(10)

Relacionamentos entre as
tabelas SAP

: nmero doc.faturamento
: nmero fornecimento

EKKO ( Header Pedido de Compra )

VBRK-Vbeln = VBRP-Vbeln

Ebeln :nmero do pedido de compra


Knumv :nmero da condio
VBRP ( Item Doc. Faturamento/Billing )
Vbeln
Vgbel
Vgpos
Aubel
Aupos
Vgtyp
Matnr
Fkimg

: nmero doc.faturamento
: nmero da remessa (doc.origem)
: nmero do item da remessa
: nmero do pedido
: nmero do item do pedido
: tipo do documento de origem
: material
: qtd. faturada

EKPO-Ebeln = VBRP-Aubel
EKPO-Ebelp = VBRP-Aupos
EKPO-Ebeln = EKKO-Ebeln

KONV ( Condio do Item do Pedido)


Knumv
Kposn
Kschl
Kbetr

EKPO ( Item do Pedido de Compra )


Ebeln
Ebelp

: nmero da condio
: item do pedido
: tipo de condio
: montante ou perc. da condio

:nmero do pedido de compra


:nmero do item do ped.de compra
KONV-Knumv = EKKO-Knumv
KONV-Kposn = EKPO-Ebeln

VBRP-Vbeln = J_1BNFLIN-Refkey
VBRP-Posnr = J_1BNFLIN-Refitm

KONH-VAKEY = EKPO-EBELN + EKPO-EBELP

VBRP-Vbeln = M_J1BAB-Refkey

J_1BNFLIN ( Item Nota Fiscal )


RefKey
Refitm

: documento de origem
: item do documento de origem
Verificar chave do ndice

KONH ( Condio do Programa de


Remessa )
Knumh

: nmero da condio

KONP ( Condio do Programa de


Remessa Item )
KNUMH

OU PARA MELHOR PERFORMANCE

Knumh
Kschl
Kbetr

: nmero da condio
: tipo de condio
: montante ou perc. da condio

M_J1BAB ( ndice por N referencia )


RefKey

: documento de origem

BKPF-Awkey = J_1BNFLIN-RefKey

BKPF ( Documento Contbil )


Awkey

MR1M / MR3M Rev.fatura logstica


RBKP ( Header Doc.reviso fatura
logistica )
Belnr
Xblnr

: nmero documento contabil


: nmero nota fiscal fatura

: documento referncia

RSEG (Item Doc.reviso fatura logistica)


Belnr
: nmero documento contabil
Buzei : item doc.fatura
Menge : quantidade faturada

EKBE ( Historico do pedido de compras )


Ebeln
Ebelp
Vgabe
Belnr
Buzei

:nmero do pedido de compra


: item pedido
: 2 - entrada de fatura (valores fixos)
: nmero documento contabil
: item doc

MM01 - Viso de Classificao


CABN ( Caracterstica do produto )
Atinn
Atnam

CAWN
( Valores possveis da caracterstica )

: cdigo interno
: descrio

Atinn
Atwrt
Atzhl

: cdigo interno
: valor ( cdigo externo )
: numerador ( nmero do item )

AUSP-Atinn = CABN-Atinn
AUSP-Objek = MARA-matnr por exemplo
CAWNT-Atinn = CAWN-Atinn
CAWNT-Spras = Sy-langu
CAWNT-Atzhl = CAWN-Atzhl

AUSP ( Valores das Caractersticas )


Objek
Atinn
Atwrt
Atflv
Klart

: objeto ( Ex. Cd. Material )


: cdigo interno caract.
: valor da caracterstica
: valor interno em pto.flutuante
: tipo de classe

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

CAW NT
( Descrio da Caracterstica )
Atinn
Atzhl
Spras
Atwtb

KSSK ( Tipos de classe por material )


Objek
Klart
Clint

: Cdigo do material
: Tipo de classe
: Cdigo interno do tipo de classe

UMA ENTRADA PARA CADA CLASSE


DE CADA TIPO

: cdigo interno caracterstica


: nmerador da caracterstica
: idioma
: descrio da caracterstica

KLAH ( Classes do material )

KLAH-Clint = KSSK-Clint

Clint
Class
Klart

: Cdigo interno do tipo de classe


: cdigo da classe
: Tipo de classe

TVBUR ( Agncia de Vendas )


Vkbur
Adrnr

: cdigo agncia
: cdigo do endereo

SADR-Adrnr = TVBUR-Adrnr

SADR
( Endereo da Agncia de Vendas )
TVKBT-Vkbur = TVBUR-Vkbur

TVKBT
( Descrio da Agncia de Vendas )
Vkbur
Spras
Bzei

: cdigo da agncia
: idioma
: descrio

Adrnr
Name1..4
Natio

: cdigo do endereo
: descrio do endereo
: verso do endereo

M_ORDNA
( Ordem Pai - Filho )
Lead_aufnr
Aufnr
Maufnr

: ordem pai
: ordem filho
: ordem superior com
relao a filho

CAUFV
( Ordem de Produao Header )
M_ORDNA-Aufnr
=
CAUFV-Aufnr

Aufnr
Objnr
Plnbez
Stlbez

: nmero da ordem
: objeto da ordem
: material da ordem
: material da ordem pai

COSP-Objnr = CAUFV-Objnr

COSP
( Custos Externos da Ordem Pr )
Objnr
: objeto custo
W rttp
: categoria do valor ( Plan/Real)
Kstar
: classe do custo ( GGP/MOD)
W og999 : valor em moeda
Hrkft
: chave custo

COSP-Objnr =
AUFK-Objnr

AUFK
( Ordem de Produao Header
Dados mestre )
Aufnr
Objnr
Auart

: nmero da ordem
: objeto da ordem
: tipo da ordem

AUFK-Aufnr = AFPO-Aufnr

AFPO
( Ordem de Produao Item )

COSS
( Custos Internos da Ordem Pr )
Objnr
W rttp
Kstar
W og999

: objeto custo
: categoria do valor ( Plan/Real)
: classe do custo
: valor em moeda

COSP-Objnr =
AUFK-Objnr

Aufnr
Posnr

: nmero da ordem
: item da ordem

COKEY-Hrkft = COSP-Hrkft

JEST
( Status individual por objeto )
Objnr

: nmero do objeto

COKEY
( Header Custos )
AUFK-Aufnr = JEST-Objnr

Hrkft
Matnr
W erks

: chave custo
: cdigo do material
: centro

ME11 / ME12 / ME13 Info Record Compras

EINA ( Info Record Compras Dados


Gerais )

A017 ( Info record Material Condies )

Infnr
Matnr
Lifnr

Lifnr : fornecedor
Matnr : material
Ekorg : organizao compras
W erks : centro
Datbi : fim validade
Datab : inicio validade
Knumh : cdigo da condio

: n. registro
: material
: fornecedor

EINA-Infnr = EINE-Infnr

EINE ( Info Record - Dados


Organizao Compras )
Infnr
: n. registro
Ekorg : organizao compras
Werks : centro

KONH-Knumh = A017-Knumh
A017-Lifnr = EINA-Lifnr
A017-Matnr = EINA-Matnr
A017-Ekorg = EINE-Ekorg
A017-Werks = EINE-Werks

KONH ( Condies Header )


Knumh : cdigo da condio
Datbi : fim validade
Datab : inicio validade

KONP-Knumh = KONH-Knumh

KONP ( Condies Item )


Knumh : cdigo da condio
Kbetr : valor
Kschl : tipo condio

PLKO ( Planos ou Roteiros Header )


PLNTY
PLNNR
PLNAL
LOEKZ
STATU

: tipo do plano
: nmero do plano
: numerador
: cdigo de eliminao 'x' - del
: status do plano

PLPO-PLNTY = PLKO-PLNTY
PLPO-PLNNR = PLKO-PLNNR
PLPO-PLNAL = PLKO-PLNAL

PLPO ( Planos ou Roteiros para


Material Item )
PLNTY
PLNNR
PLNAL
LOEKZ
ZAEHL
VPLTY
VPLNR
VPLAL

: tipo do plano
: nmero do plano
: numerador
: cdigo de eliminao 'x' - del
: numerador
: tipo plano de referencia
: nmero do plano referencia
: numerador plano referencia

MAPL-PLNTY = PLKO-PLNTY
MAPL-PLNNR = PLKO-PLNNR
MAPL-PLNAL = PLKO-PLNAL

MAPL ( Roteiros por material )


PLNTY
PLNNR
PLNAL
LOEKZ
MATNR
W ERKS

: tipo do plano
: nmero do plano
: numerador
: cdigo de eliminao 'x' - del
: material
: centro

TVBVK
( Grupo de Vendedores/Ag.Vendas )
Vkbur
Vkgrp

TVKGR-Vkgrp = TVBVK-Vkgrp

: Agncia de vendas
: Grupo de Vendedores

TVKGR ( Grupo de Vendedores )


Vkgrp

: grupo de vendedores

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

TVGRT
( Descrio do Grupo de Vendedores )
Vkgrp
Spras
Bezei

VTTK ( Transporte Header )


Tknum
Tdlnr
Dtmeng
Dtmev

: transporte
: transportadora
: unidade peso
: unidade volume

VTTK-Tknum =
VTTP-Tknum

VTTK-Tknum =
LTAK-Tanum

: transporte
: item
: fornecimento

VTTP-Vbeln = LIKP-Vbeln

LIKP ( Fornecimento Header )


Vbeln

: fornecimento

LTAK ( Ordem de Transferencia


Header )
Lgnum
Tanum
Kquit
Refnr
Vbeln

LTAK-Vbeln =
VTTP-Vbeln

VTTP ( Transporte Item )


Tknum
Tpnum
Vbeln

: grupode vendedores
: idioma
: descrio do grupo de vend.

: depsito
: N.ordem transferencia
: confirmado
: Referncia
: Fornecimento

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

LTAP (Ordem de transferncia


Item)
VTTP-Tknum =
LTAP-Tanum
VTTP-Tpnum =
LTAP-Orpos

Lgnum
Tanum
Tapos
Orpos

: depsito
: N. ordem transferencia
: item
: item OT que originou este
item

VBAK ( Header Pedido )


Auart
Vbtyp
Vbeln

: tipo da ordem
: tipo documento
: nmero da ordem

VBKD-Vbeln = VBAK-Vbeln
VBKD-posnr = 00000000

VBKD ( Dados comerciais )


Vbeln : nmero da ordem
Posnr : nmero do item

VBAP ( Item Pedido )


Vbeln : nmero da ordem
Posnr : nmero do item
Matnr : material
Arktx : descrio
Pstyv : tipo do item

VBKD-Vbeln = VBAK-vbeln
VBKD-posnr = VBAP-posnr

Dados comerciais do pedido de vendas - VA03

VK13 - Condies do material - Preo de venda

A004 ( Condies para


determinao preos do material )
Matnr : material
Vkorg : organizao de vendas
Vtweg : canal de distribuio
Datbi : fim validade
Datab : inicio validade
Knumh : cdigo da condio
Kschl : tipo de condio

KONH-Knumh = A004-Knumh

KONH ( Condies Header )


Knumh : cdigo da condio
Datbi : fim validade
Datab : inicio validade
KONP-Knumh = KONH-Knumh

KONP ( Condies Item )


Knumh : cdigo da condio
Kbetr : valor

You might also like