MDSA SAP (Generated Table for View MDSA) Table View details

Dictionary Type: Table View
Description: Generated Table for View MDSA




ABAP Code to SELECT data from MDSA
Related tables to MDSA
Access table MDSA




Table View field list including key, data, relationships and ABAP select examples

MDSA is a standard SAP Table View which is used to store Generated Table for View MDSA data and is available within R/3 SAP systems depending on the version and release level.

The MDSA table consists of various fields, each holding specific information or linking keys about Generated Table for View MDSA data available in SAP. These include AUFNR (Run schedule header number), MATNR (Material number), WERKS (Plant), VERID (Production Version).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP MDSA table view 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
MANDTClient MANDTCLNT3T000MANDT
AUFNRRun schedule header number SA_AUFNRCHAR12ALPHASA_AUFNR
MATNRMaterial number SA_MATNRCHAR18MARAMATN1MATNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
VERIDProduction Version VERIDCHAR4MKALVERIDVER
PHAS0Indicator for blocking run schedule header SA_PHAS0CHAR1XFELD
BSTMILower value of the lot-size interval SA_LOSVNQUAN13(3) MENG13
BSTMAUpper value of the lot-size interval SA_LOSBSQUAN13(3) MENG13
STDAYStart of the validity period of the RS header STDAYDATS8DATUM
ENDAYEnd of validity period of the RS header ENDAYDATS8DATUM
VERTODistribution key for quantity produced SA_VERTOCHAR4T437VSA_VERTL
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STLANBOM Usage STLANCHAR1T416STLANCSV
PLNTYTask List Type PLNTYCHAR1TCA01PLNTYPTYH_TCA01
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
APLALGroup Counter PLNALCHAR2ALPHAALTNRPAL

Key field Non-key field



How do I retrieve data from SAP table MDSA using ABAP code

The following ABAP code Example will allow you to do a basic selection on MDSA to SELECT all data from the table
DATA: WA_MDSA TYPE MDSA.

SELECT SINGLE *
FROM MDSA
INTO CORRESPONDING FIELDS OF WA_MDSA
WHERE...

How to access SAP table MDSA

Within an ECC or HANA version of SAP you can also view further information about MDSA and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!