MKAL_EXPAND SAP (For Buffer and Internal Tables of Production Version) Structure details
Description: For Buffer and Internal Tables of Production Version
Structure field list including key, data, relationships and ABAP select examples
MKAL_EXPAND is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "For Buffer and Internal Tables of Production Version" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_MKAL_EXPAND TYPE MKAL_EXPAND.
The MKAL_EXPAND table consists of various fields, each holding specific information or linking keys about For Buffer and Internal Tables of Production Version data available in SAP. These include MANDT (Client), 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: Can be enhanced (character-type or numeric)
SAP MKAL_EXPAND structure 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 | T000 | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
BDATU | Run-time end: production version | BDATM | DATS | 8 | DATUM | ||||
ADATU | Valid-from date of production version | ADATM | DATS | 8 | DATUM | ||||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
STLAN | BOM Usage | STLAN | CHAR | 1 | T416 | STLAN | CSV | ||
PLNTY | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
ALNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
BESKZ | Procurement Type | BESKZ | CHAR | 1 | BESKZ | MBS | |||
SOBSL | Special procurement type | SOBSL | CHAR | 2 | T460A | SOBSL | |||
LOSGR | Lot Size for Product Costing | CK_LOSGR | QUAN | 13(3) | MENG13 | ||||
MDV01 | Production line for repetitive manufacturing | SA_LINE1 | CHAR | 8 | ARBPL | AGR | RMLINE | ||
MDV02 | Planning identification | MDV | CHAR | 8 | T437P | MDVXX | |||
TEXT1 | Short text on the production version | VERS_TEXT | CHAR | 40 | TEXT40 | ||||
EWAHR | Usage Probability with Version Control | CK_EWAHR | DEC | 3 | CK_EWAHR | ||||
VERTO | Distribution key for quantity produced | SA_VERTO | CHAR | 4 | T437V | SA_VERTL | |||
SERKZ | Repetitive manufacturing allowed for version | SA_VERSI | CHAR | 1 | XFELD | ||||
BSTMI | Lower value of the lot-size interval | SA_LOSVN | QUAN | 13(3) | MENG13 | ||||
BSTMA | Upper value of the lot-size interval | SA_LOSBS | QUAN | 13(3) | MENG13 | ||||
RGEKZ | Indicator: backflush for RS header | SA_RGEKZ | CHAR | 1 | CO_RGEKZ | ||||
ALORT | Receiving storage location for repetitive manufacturing | ALORT | CHAR | 4 | T001L | LGORT | |||
PLTYG | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNG | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
ALNAG | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
PLTYM | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNM | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
ALNAM | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
CSPLT | Apportionment Structure | CSPLIT | CHAR | 4 | MAKV | CSPLIT | |||
MATKO | Other material for which BOM and task list are maintained | MKAL_MATKO | CHAR | 18 | MARA | MATN1 | MATNR | ||
ELPRO | Proposed issue storage location for components | SA_ELPRO | CHAR | 4 | T001L | LGORT | |||
PRVBE | Default supply area for components | SA_PRVBE | CHAR | 10 | Assigned to domain | PRVBE | PVB | ||
PRFG_F | Check status of production version | PRFG_F | CHAR | 1 | PRFG | ||||
PRDAT | Date of last check of production version | MKPRDAT | DATS | 8 | DATUM | ||||
MKSP | Production version is locked | MKSP | CHAR | 1 | MKSP | ||||
PRFG_R | Rate-based planning - Check status of production version | PRFG_R | CHAR | 1 | PRFG | ||||
PRFG_G | Preliminary planning - Check status of production version | PRFG_G | CHAR | 1 | PRFG | ||||
PRFG_S | BOM - check status of production version | PRFG_S | CHAR | 1 | PRFG | ||||
UCMAT | Reference Material for Original Batches | VBOB_OB_RFMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT1 | |
.INCLU--AP | 0 | ||||||||
PPEGUID | Internal Identification for PVS Objects | PVS_GUID | RAW | 16 | SYSUUID | ||||
AENNR | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
DATUV | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
DATUB | Valid-to date | DATUB | DATS | 8 | DATUM | ||||
ANDAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
ANNAM | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
MARK | Indicator: posting line selected? | MARK | CHAR | 1 | XFELD | ||||
ZAEHL | Count parameters | NUMC4 | NUMC | 4 | NUMC4 | ||||
REM | Status indicator of run schedule header in prod. version | FV_STATS_REM | CHAR | 1 | FV_VB_FLAG | ||||
RECIPE | Status indicator for recipe in production version | FV_STATS_RECIPE | CHAR | 1 | FV_VB_FLAG | ||||
NEW_AENR | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
PRFG_X | Check status of production version | PRFG_F | CHAR | 1 | PRFG | ||||
MESSAGE | Display Whether Message Exists | FV_STATS_MEASSAGE | CHAR | 1 | FV_VB_FLAG | ||||
EXT_SCREEN_SET | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure MKAL_EXPAND using ABAP code?
As MKAL_EXPAND is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on MKAL_EXPAND as there is no data to select.How to access SAP table MKAL_EXPAND
Within an ECC or HANA version of SAP you can also view further information about MKAL_EXPAND 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