E3AFKOL SAP (Production order header (AFKO, AUFK)) Structure details
Description: Production order header (AFKO, AUFK)
Structure field list including key, data, relationships and ABAP select examples
E3AFKOL 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 "Production order header (AFKO, AUFK)" 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_E3AFKOL TYPE E3AFKOL.
The E3AFKOL table consists of various fields, each holding specific information or linking keys about Production order header (AFKO, AUFK) data available in SAP. These include APRIO (Priority of Vacancy Assignment), APROZ (Scrap percentage), AUART (Order Type), AUFLD (Date of BOM Explosion/Routing Transfer).. 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: Cannot Be Enhanced
SAP E3AFKOL 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 |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
APRIO | Priority of Vacancy Assignment | APRIO | CHAR | 4 | SUBTY | ||||
APROZ | Scrap percentage | CO_APROZ | DEC | 5(2) | DEC3_2 | ||||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUFLD | Date of BOM Explosion/Routing Transfer | CO_AUFLD | DATS | 8 | DATUM | ||||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
BAUMNG | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
BMEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BMENGE | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
CY_SEQNR | Seq. number order | CY_SEQNR | NUMC | 14 | CY_SEQNR | ||||
DISPO | MRP controller for the order | CO_DISPO | CHAR | 3 | Assigned to domain | DISPO | DGR | ||
FEVOR | Production Supervisor | FEVOR | CHAR | 3 | Assigned to domain | FEVOR | CFV | ||
FHORI | Scheduling Margin Key for Floats | FHORI | CHAR | 3 | Assigned to domain | FHORI | |||
FLG_MLTPS | Order with multiple items | CO_MLTPS | CHAR | 1 | KREUZ | ||||
FREIZ | Release period (in days) | FREIZ | NUMC | 3 | NUM3 | ||||
FTRMI | Actual release date | CO_FTRMI | DATS | 8 | DATUM | ||||
FTRMS | Scheduled release date | CO_FTRMS | DATS | 8 | DATUM | ||||
GAMNG | Total order quantity | GAMNG | QUAN | 13(3) | MENG13 | ||||
GASMG | Total scrap quantity in the order | GASMG | QUAN | 13(3) | MENG13 | ||||
GETRI | Confirmed Order Finish Date | CO_GETRI | DATS | 8 | DATUM | ||||
GEUZI | Confirmed order finish (time) | CO_GEUZI | TIMS | 6 | UHRZT | ||||
GLTRI | Actual finish date | CO_GLTRI | DATS | 8 | DATUM | ||||
GLTRP | Basic finish date | CO_GLTRP | DATS | 8 | DATUM | ||||
GLTRS | Scheduled finish | CO_GLTRS | DATS | 8 | DATUM | ||||
GLUZP | Basic finish (time) | CO_GLUZP | TIMS | 6 | UHRZT | ||||
GLUZS | Scheduled finish time | CO_GLUZS | TIMS | 6 | UHRZT | ||||
GMEIN | Common unit of measure for all order items | CO_GMEIN | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
GSTRI | Actual start date | CO_GSTRI | DATS | 8 | DATUM | ||||
GSTRP | Basic start date | CO_GSTRP | DATS | 8 | DATUM | ||||
GSTRS | Scheduled start | CO_GSTRS | DATS | 8 | DATUM | ||||
GSUZP | Basic start time | CO_GSUZP | TIMS | 6 | UHRZT | ||||
GSUZS | Scheduled Start (Time) | CO_GSUZS | TIMS | 6 | ATIME | ||||
IASMG | Scrap confirmed for order | CO_IASMG | QUAN | 13(3) | MENG13 | ||||
IGMNG | Yield confirmed from order confirmation | CO_IGMNG | QUAN | 13(3) | MENG13 | ||||
LODIV | Lot size divisor | LOSDIV | QUAN | 13(3) | MENG13 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
PLAUF | Date for routing transfer | CO_PLAUF | DATS | 8 | DATUM | ||||
PLGRP | Responsible planner group/department | VAGRP | CHAR | 3 | Assigned to domain | VAGRP | H_T024A | ||
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
PLNME | Task list unit of measure | PLNME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNTY | Task List Type | PLNTY | CHAR | 1 | Assigned to domain | PLNTY | PTY | H_TCA01 | |
PLSVB | To lot size | LOSGRBIS | QUAN | 13(3) | MENG13 | ||||
PLSVN | From Lot Size | LOSGRVON | QUAN | 13(3) | MENG13 | ||||
PSPEL | WBS Element | PS_POSNR | NUMC | 8 | Assigned to domain | ABPSP | PS_POSNR | ||
REDKZ | Reduction indicator for scheduling | REDKZ | CHAR | 1 | REDKZ | ||||
RGEKZ | Indicator: Backflush | RGEKZ | CHAR | 1 | XFELD | ||||
RMNGA | Total confirmed rework quantity | RMNGA | QUAN | 13(3) | MENGV13 | ||||
SBMEH | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SBMNG | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
SICHZ | Float after production (in days) | SICHZ | NUMC | 3 | NUM3 | ||||
SLSBS | To Lot Size | LOSBS | QUAN | 13(3) | MENG13 | ||||
SLSVN | From Lot Size | LOSVN | QUAN | 13(3) | MENG13 | ||||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
STLAN | BOM Usage | STLAN | CHAR | 1 | Assigned to domain | STLAN | CSV | ||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
TERKZ | Scheduling type | TERMKZ | CHAR | 1 | Assigned to domain | TERART | |||
VORGZ | Float before production (in days) | VORGZ | NUMC | 3 | NUM3 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PRUEFLOS | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
LTEXT | Long Text Exists | AUFLTEXT | CHAR | 1 | XFELD | ||||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO |
Key field | Non-key field |
How do I retrieve data from SAP structure E3AFKOL using ABAP code?
As E3AFKOL 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 E3AFKOL as there is no data to select.How to access SAP table E3AFKOL
Within an ECC or HANA version of SAP you can also view further information about E3AFKOL 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