0% found this document useful (0 votes)
229 views8 pages

AP 学习日志 - SAP 中常用且重要的数据库表 标签:

This document lists important tables used in SAP for materials, vendors, purchasing, inventory management, invoice verification, customizing and master data, and production planning. It provides an overview of commonly used tables for materials like MARA, MAKT, MARM; vendors like LFA1, LFB1; purchasing documents like EKKO, EKPO; inventory documents like ISEG, MKPF; and production planning like TPKPT, TPKSF, TPKTX. It also explains how SAP checks transaction code authorizations using tables like TSTC, TSTCT, USOBT, and TSTCA.

Uploaded by

Junling Xu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
229 views8 pages

AP 学习日志 - SAP 中常用且重要的数据库表 标签:

This document lists important tables used in SAP for materials, vendors, purchasing, inventory management, invoice verification, customizing and master data, and production planning. It provides an overview of commonly used tables for materials like MARA, MAKT, MARM; vendors like LFA1, LFB1; purchasing documents like EKKO, EKPO; inventory documents like ISEG, MKPF; and production planning like TPKPT, TPKSF, TPKTX. It also explains how SAP checks transaction code authorizations using tables like TSTC, TSTCT, USOBT, and TSTCA.

Uploaded by

Junling Xu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

AP 学习日志--SAP 中常用且重要的数据库表 (2008-12-08 10:40:00)

标签:it 

Materials

MARA - Material Master: General data


MAKT - Material Master: Description
MARM - Material Master: Unit of Measure
MAPE - Material master: Export control file
MARC - Material master: Plant data
MARD - Material master: Storage location
MAST - Material link to BOM
MBEW - Material valuation
MLGN – Material Master: WM Inventory
MLGT – Material Master: WM Inventory type
MDIP - Material: MRP profiles (field contents)
MKOP - Consignment price segment (old versions of SAP)
EBEW - Valuation of sales order stock
QBEW - Valuation of project stock
MVER – Material Master: Consumption <Plant>
DVER – Material Master: Consumption <MRP Area>
MVKE – Material Master: Sales <Sales Org, Distr Ch>
MLAN - Material Master: Tax indicator
MARC - Material Master: Plant data
MAPR – Material Master: Forecast
MARD – Material Master: Storage Location
MCH1 – Material Master: X Plant Batches
MCHA – Material Master: Batches
MCHB – Material Master: Batch Stock
MDMA - MRP Area data
DBVM - MRP Planning File Entry: MRP Area
MOFF - Outstanding Material Master Records (Maintenance status)

MARCH - Material Master C Segment: History


MARDH - Material Master Storage Location Segment: History
MBEWH - Material Valuation: History
MCHBH - Batch Stocks: History
MKOLH - Special Stocks from Vendor: History
MSCAH - Sales Order Stock at Vendor: History
MSKAH - Sales Order Stock: History
MSKUH - Special Stocks at Customer: History
MSLBH - Special Stocks at Vendor: History
MSPRH - Project Stock: History
MSSAH - Total Sales Order Stocks: History
MSSQH - Total Project Stocks: History

Vendors

LFA1 - Vendor Master: General data


LFB1 - Vendor Master: Company data
LFM1 - Vendor Master: Purchasing Data (Purchasing organization)
LFM2 - Vendor Master: Purchasing Data (Plant, Vendor sub-range)
Purchasing

EBAN - Purchase requisition: items


EBKN - Purchase Requisition: account assignment
STXH - SAPScript Text Header
STXL - SAPScript Text Lines

EKKO - Purchasing document header


EKPO - Purchasing Document: Item
EKET - Purchasing Document: Delivery Schedules
MDBS - Material View of Order Item/Schedule Line (good to find open PO's)
EKKN - Account assignment in purchasing document
EORD - Purchasing Source List
EIPA - Order price history record
EKAB - Release documentation
EKBE - Purchasing document history
EKBZ - Purchasing document history: delivery costs
EKPB - "Material to be provided" item in purchasing document
ESKL - Account assignment specification for service line
ESKN - Account assignment in service package
ESLH - Service package header data
ESLL - Lines in service package
ESSR - Service entry sheet header data
ESUC - External services management: Unplanned limits for contract item
ESUH - External services management: unplanned service limits header data
ESUP - External services management: unplanned limits for service packages
ESUS - External services management: Unplanned limits for service types

EINA - Purchase Info Record: General


EINE - Purchasing info record: purchasing organization data
KONP - Condition Item
KONH - Condition Header

Inventory Management

ISEG - Physical inventory document items

MKPF - Material document: Header


MSEG - Material document: item

RKPF - Reservation: Header


RESB - Reservation: Item

Invoice Verification

BSIM - Secondary index: documents for material


MYMFT - FIFO results table
MYML - LIFO material layer
MYMLM - LIFO material layer (monthly)
MYMP - LIFO period stocks, single material
MYMP1 - Receipt data LIFO/FIFO valuation
MYPL - LIFO pool layer
MYPLM - LIFO pool layer (monthly)
RBCO - Document item, incoming invoice account assignment
RBDIFFKO - Invoice Verification: conditions
RBDIFFME - Invoice Verification: quantity differences
RBDRSEG - Invoice Verification batch: invoice document items
RBKP - Document header: incoming invoice
RBKPB - Invoice document header (batch invoice verification)
RBTX - Taxes:incoming invoice
RBVD - Invoice document: summarization data
RBVDMAT - Invoice Verification: summarization data, material
RBWT - Withholding tax:incoming invoice
RKWA - Consignment withdrawals
RSEG - Document item, incoming invoice

Customising and other master data

MDLV - MRP Areas


MDLG - MRP Areas - Storage Locations
MDLW - MRP Areas - Plants
MDLL - MRP Areas - Subcontractor
T023 - Material Groups
T024 - Purchasing groups
T030 - Standard Accounts Table (Automatic Account Determination)
T156 - Movement Type
T156T - Movement Type: Text

AUSP - Release Procedure: Strategy values (cl20n, cl24n)


AGR_USERS - Assignment of roles to users
CDHDR & CDPOS - Change history of master data and documents
EDID4 - EDI information
TSTC - SAP Transaction Codes, lock/unlock: sm01, created: se93
TSTCT - Transaction codes TEXT

SAP 对 TCODE 权限检查过程


When initiating a transaction, a system program performs a series of checks to ensure the user is
authorized.
1. The program checks whether the transaction code exists in table TSTC.
2. The program checks whether the transaction code is locked by the administrator (transaction
code SM01).
3. The program checks whether the user has the authority to start the transaction. Authorization
object S_TCODE (transaction start) contains the authorization field TCD (transaction code). The
user must have the appropriate authorization for the transaction code to be started (for example,
FK01, Create Vendor).
4. The program checks whether an authorization object is assigned to the transaction code. If this
is the case, the program checks whether the user has an authorization for this authorization
object. The transaction code/authorization object assignment is stored in table TSTCA.
Note: An SAP program controls steps 1 through 4. It displays an automatic message to the user if
an authorization attempt fails in the step.
5. The system performs authorization checks in the ABAP program using the ABAP statement
AUTHORITY-CHECK.

How can we Retrive the auth object which is related a specific TCODE?
As far as now, i got three ways:
1. TCODE: ST01, trace the authorization
2. TCODE: SU24
3. From the table USOBT(Relation transaction > authorization object)
table TSTCA(Values for transaction code authorizations)

Important Tables for SAP SD


Sales and Distribution:

                  Table  Description

Customers         KNA1   General Data


                  KNB1   Customer Master – Co. Code Data (payment
method, reconciliation acct)
                  KNB4   Customer Payment History
                  KNB5   Customer Master – Dunning info
                  KNBK   Customer Master Bank Data
                  KNKA   Customer Master Credit Mgmt.
                  KNKK   Customer Master Credit Control Area Data
(credit limits)
                  KNVV   Sales Area Data (terms, order probability)
                  KNVI   Customer Master Tax Indicator
                  KNVP   Partner Function key
                  KNVD   Output type
                  KNVS   Customer Master Ship Data
                  KLPA   Customer/Vendor Link
                                   
Sales Documents   VBAKUK VBAK + VBUK
                  VBUK   Header Status and Administrative Data
                  VBAK   Sales Document - Header Data
                  VBKD   Sales Document - Business Data
                  VBUP   Item Status
                  VBAP   Sales Document - Item Data
                  VBPA   Partners
                  VBFA   Document Flow
                  VBEP   Sales Document Schedule Line
                  VBBE   Sales Requirements: Individual Records

SD Delivery DocumeLIPS   Delivery Document item data, includes


referencing PO
                  LIKP   Delivery Document Header data

Billing Document  VBRK   Billing Document Header


                  VBRP   Billing Document Item

SD Shipping Unit  VEKP   Shipping Unit Item (Content)


                  VEPO   Shipping Unit Header
Listed below are SAP standard tables in Production Planning Module - Part 6:

Production Planning

TPKPT–>Kanban authorization text


TPKSF–>Kanban Status Sequences
TPKTX–>Kanban container status short text
TCPFS1–>Planning area for external planning tool
TCPFS2–>Planning tool, physical system
TCPFS3–>External planning tool: lock table
TCPFS4–>External planning tool
TCPFS4T–>Planning tool description
TCPFS5–>External planning tool: start parameters for Windows NT
BLPK–>Document log header
BLPP–>Document log item
EMRP_RUN–>Blocking argument for MRP
KDPL–>Index customer order -> planned order
MDFD–>MRP firming date
MDKP–>Header data for MRP document
MDSM–>Simulative dependent requirements
MDTB–>MRP table
MDVL–>Planning file entry for long-term planning
MDVM–>Entry in MRP File
PBED–>Independent requirements data
PBHI–>Independent requirements history
PBIC–>Ind. reqmts index for customer requirements (without RV)
PBIM–>Independent requirements for material
PBIV–>Ind. reqmts index for consump. of exter. non-variable parts
PBVPV–>Material index for consumption of planning
PKTMP–>Conversion table for PKPS / please do not use
PLAF–>Planned order
PLPB–>Long-term planning: independent requirements versions
PLPT–>Long-term planning: plants of planning scenario
PLPW–>Index of the production/delivery plant in the planned order
PLSC–>Planning scenarios in long-term planning
PSPL–>Index project -> planned order
PUMS–>Project number new key assignment (structure)
RDPR–>Rounding profile
RDTX–>Short text describing the rounding profile
REUL–>Material stock transfer reservation index
RQHD–>Header record for requirements total records in MRP
RQIT–>Item record for requirements total records in MRP
RSDB–>Index of the RESB for the Direct Procurement Element
SAFK–>Run schedule master data
SNUC–>Changed revision levels (for creating MRP records RM61SR00)
SNUM–>BOM explosion number
SUMS–>New key assignment: BOM explosion no.->New BOM explosion no.
T024D–>MRP controllers
T399D–>Control parameters for MRP
T399Q–>Default values for maintaining independent requirements
T436A–>Floats for scheduling
T437V–>Distribution key in MRP
T437W–>MRP distribution key (texts)
T438A–>MRP Type
T438M–>Control parameter for MRP -material level-
T438R–>Range of coverage profile
T438S–>Text describing the range of coverage profile
T438T–>MRP description
T438X–>MRP group text
T439A–>MRP lot sizes
T439F–>Handling of planning flag at abnormal termination
T439G–>PPplanning periods: header table
T439H–>PP planning periods: long texts
T439I–>PP planning periods: schedule lines (periods)
T439J–>PP planning periods: calculation rule
T439L–>Warehouse costs for MRP lot size
T439T–>Texts for lot-sizing procedures
T440B–>Control table for creating MRP record
T440C–>Planning file entries for goods movements
T440F–>Exception messages for the forecast
T440Z–>Allocate error -> error class in the forecast
T441G–>Checking group values
T441R–>Values table for checking rule
T441V–>Availability check control
T441W–>Checking rule texts
T442B–>Start times for MRP background programs
T442C–>Control: activity reqmts transfer MRP/SOP -> CO
T449A–>Period split
T449B–>Period split: language-dependent description
T449F–>Control of sequence of the extended header in the MRP list
T449U–>Settings for collective display of MRP list
T450–>MRP transaction control
T450F–>Field selection maintaining independent requirements
T450P–>Transaction control for maintaining ind. requirements
T450U–>User exit material selection - MRP
T457A–>Processing key for planning run
T457C–>Transaction calls control
T457G–>MPS evaluation: evaluation profile
T457H–>MPS evaluation: hierarchy of MRP elements
T457I–>MPS evaluations: long texts
T457J–>MPS evaluation: user-specific layout
T457K–>MPS evaluation: user-specific schedule lines
T457L–>MPS evaluation: receipts/issues texts
T457P–>Text table for order types in the planned order
T457S–>Block table for MRP and forecast run
T457T–>Description of MRP elements
T458A–>Exception messages in material requirements planning
T458B–>Description of exception messages
T459A–>External requirements types
T459C–>Default values for independent requirements
T459K–>Control table for customer requirements
T459R–>Reference requirements table
T459S–>Period splitting
T459U–>Settings for maintaining independent requirements

SAP Production Planning Table


Demand Management
PBED          Independent Requirements Data
PBIM          Independent Requirements by Material

Repetitive Manufacturing
SAFK         RS Header Master Data
S025           LIS -- Run Schedule Quantities
S026           LIS -- Material Usage
S028           LIS -- Reporting Point Statistics
CEZP          Reporting Point Document Logs
CPZP          Reporting Points - Periodic Totals

MRP Records
MDKP        MRP Document Header Data
MDTB         MRP Table Structure (no data)
PLSC          Planning Scenario (Long-term Planning)
MDFD        MRP Firming Dates
MDVM       Planning File Entries
S094           LIS -- Stock/Requirements Analysis

Reservations
RESB          Reservations/Dependent Requirements

Planned Orders
PLAF          Planned Orders
Discrete Production
AFKO         Order Header
AFPO          Order Item Detail
AFVC          Order Operations Detail
AFFL           Order Sequence Details
AFFH          Order PRT Assignment
AFBP          Order Batch Print Requests
AFRU          Order Completion Confirmations
AFFW         Confirmations -- Goods Movements with Errors
AFRC          Confirmations -- Incorrect Cost Calculations
AFRD          Confirmations -- Defaults for Collective Confirmation
AFRH          Confirmations -- Header Info for Confirmation Pool
AFRV          Confirmation Pool
AFWI          Confirmations -- Subsequently Posted Goods Movements

Classification
KLAH          Class Detail
CABN          Characteristic Detail
AUSP          Characteristic Values
CAWN          Characteristic Values
CAWNT         Characteristic Value Texts
KSML          Characteristic Allocation to Class
KSSK          Material Allocation to Class

Some important tables within the PP area : 

MAST - Material BOM


STKO  - BOM Header
STPO  - BOM Positions (detail)
MAPL - Assignment for Task Lists to Materials
PLKO - Routing Group Header
PLSO  - Routing Group Sequence
PLPO  - Routing Group Operations
AFKO - Production Order Header
AFPO  -Production Order Position (details) 

Related tables in MM area : 

MAKT - Material Descriptions


MARA - General Material Data
MARC - Plant Data for Material
MARD - Storage Location Data for Material
MAST  - Material to BOM Link

You might also like