MDTB SAP (MRP Table) Table details
Dictionary Type: Table
Description: MRP Table
Description: MRP Table
Table field list including key, data, relationships and ABAP select examples
MDTB is a standard SAP Table which is used to store MRP Table data and is available within R/3 SAP systems depending on the version and release level.
The MDTB table consists of various fields, each holding specific information or linking keys about MRP Table data available in SAP. These include DTNUM (Number of material requirements planning table), DTPOS (Item number of MRP list), PLAKZ (Indicator for planning segment), PLANR (Planning segment number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP MDTB table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
DTNUM | Number of material requirements planning table | DTNUM | NUMC | 10 | NUM10 | ||||
DTPOS | Item number of MRP list | DTPOS | NUMC | 6 | NUM06 | ||||
PLAKZ | Indicator for planning segment | PLAKZ | CHAR | 1 | PLAKZ | ||||
PLANR | Planning segment number | PLANR | CHAR | 20 | PLANR | ||||
DAT00 | Receipt/Requirements date | DAT00 | DATS | 8 | DATUM | ||||
SORT1 | Sort indicator 01 | SORT1 | CHAR | 1 | SORT1 | ||||
SORT2 | Sort indicator 02 | SORT2 | CHAR | 2 | SORT2 | ||||
DELKZ | MRP element | DELKZ | CHAR | 2 | DELKZ | ||||
VSTAT | Processing Status | VSTAT_D | CHAR | 1 | VSTAT | ||||
VRFKZ | Availability indicator | VRFKZ | CHAR | 1 | VRFKZ | ||||
PLUMI | Receipt/issue indicator | PLUMI | CHAR | 1 | CHAR1 | ||||
MNG01 | Quantity received or quantity required | MNG01 | QUAN | 13(3) | MENGV13 | ||||
MNG02 | Variable scrap quantity | MNG02 | QUAN | 13(3) | MENG13 | ||||
MNG03 | Shortage Quantity | MNG03 | QUAN | 13(3) | MENG13 | ||||
DAT01 | Delivery/order finish date | DAT01 | DATS | 8 | DATUM | ||||
DAT02 | Start/release date | DAT02 | DATS | 8 | DATUM | ||||
DAT03 | Opening date | DAT03 | DATS | 8 | DATUM | ||||
PERKZ | Period Indicator | PERKZ | CHAR | 1 | PERKZ | PKZ | |||
PRPER | Forecast period | PRPER | NUMC | 6 | PRPER | ||||
WEBAZ | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
FIX01 | Indicator: fixeing lot size in planned order | FIX01 | CHAR | 1 | XFELD | ||||
FIX02 | Indicator: fixing explosion in planned order | FIX02 | CHAR | 1 | XFELD | ||||
BAART | P.O./Order type | BAART | CHAR | 4 | BAART | ||||
BESKZ | Procurement Type | BESKZ | CHAR | 1 | BESKZ | MBS | |||
SOBES | Special procurement type | SOBES | CHAR | 1 | SOBES | ||||
UMSKZ | Special G/L Indicator | UMSKZ | CHAR | 1 | T074U | UMSKZ | |||
PLART | Planning type | PLART | CHAR | 1 | Assigned to domain | PLART | |||
AUSSL | Exception message key | AUSSL | CHAR | 2 | T458A | AUSSL | |||
WRK02 | Planning/production plant | WRK02 | CHAR | 4 | T001W | WERKS | |||
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
DELNR | MRP element number | DELNR | CHAR | 10 | DELNR | ||||
DELPS | MRP element item | DELPS | NUMC | 6 | DELPS | ||||
DELET | Schedule Line Number MRP Element | DELET | NUMC | 4 | DELET | ||||
AUFVR | Source number for order | AUFVR | CHAR | 10 | CHAR10 | ||||
POSVR | Source item number | POSVR | NUMC | 6 | NUM06 | ||||
EINVR | Source schedule line number | EINVR | NUMC | 4 | NUM04 | ||||
UKZ01 | Indicator: MRP element can be brought forward | UKZ01 | CHAR | 1 | XFELD | ||||
UMDAT | Rescheduling date | UMDAT | DATS | 8 | DATUM | ||||
DEL12 | MRP element number | DEL12 | CHAR | 12 | DEL12 | ||||
BAUGR | Material number of higher-level assembly | BAUGR | CHAR | 18 | MARA | MATN1 | MATNR | ||
DELVR | MRP element | DELKZ | CHAR | 2 | DELKZ | ||||
VERSB | Version number for independent requirements | VERSB | CHAR | 2 | Assigned to domain | VERSB | VES | ||
OLDSL | Key of the second exception message | OLDSL | CHAR | 2 | T458A | AUSSL | |||
RDMNG | Excess stock quantity | RDMNG | QUAN | 13(3) | MENG13 | ||||
PLAAB | Material requirements planning segment | PLAAB | NUMC | 2 | PLAAB | ||||
TAG00 | Daily shift (sort indicator 0) | TAG00 | NUMC | 2 | TAG00 | ||||
ABEKZ | Exception indicator | ABEKZ | CHAR | 1 | CHAR1 | ||||
MDFST | Production order status: internal ind. for MRP | MDFST | CHAR | 1 | CHAR1 | ||||
MDMNG | MRP: quantity field (stock in transit, receipt qty, ...) | MDMNG | QUAN | 13(3) | MENGV13 | ||||
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
WRK01 | Planning Plant | PLWRK | CHAR | 4 | Assigned to domain | WERKS | WRK | ||
SERNR | BOM explosion number | SERNR | CHAR | 8 | Assigned to domain | SERNR | |||
REVLV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
DBSKZ | Direct procurement indicator | DBSKZ | CHAR | 1 | DBSKZ | ||||
EXTNL | Indicator for External Procurement | EXTNL | CHAR | 1 | XFELD | ||||
ADINF | Field for Additional Information | MD_ADINF | CHAR | 4 | MD_ADINF | ||||
RESLO | Issuing Storage Location for Stock Transport Order | RESLO | CHAR | 4 | Assigned to domain | LGORT | |||
PRIO_URG | Requirement Urgency | PRIO_URG | NUMC | 2 | PURG | PRIO_URG | |||
PRIO_REQ | Requirement Priority | PRIO_REQ | NUMC | 3 | PREQ | PRIO_REQ | |||
.INCLU--AP | 0 | ||||||||
MPNMT | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
Key field | Non-key field |
How do I retrieve data from SAP table MDTB using ABAP code
The following ABAP code Example will allow you to do a basic selection on MDTB to SELECT all data from the tableDATA: WA_MDTB TYPE MDTB.
SELECT SINGLE *
FROM MDTB
INTO CORRESPONDING FIELDS OF WA_MDTB
WHERE...
How to access SAP table MDTB
Within an ECC or HANA version of SAP you can also view further information about MDTB and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects