E2AFKOL SAP (Production order header (AFKO, AUFK)) Structure details

Dictionary Type: Structure
Description: Production order header (AFKO, AUFK)




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




Structure field list including key, data, relationships and ABAP select examples

E2AFKOL 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_E2AFKOL TYPE E2AFKOL.

The E2AFKOL 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 (Character Field With Field Length 7), 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 E2AFKOL 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
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
APRIOPriority of Vacancy Assignment APRIOCHAR4SUBTY
APROZCharacter Field With Field Length 7 CHAR07CHAR7TEXT7
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
AUFLDDate of BOM Explosion/Routing Transfer CO_AUFLDDATS8DATUM
AUTYPOrder category AUFTYPNUMC2AUFTYP
BAUMNGText field length 14 CHAR14CHAR14CHAR14
BMEINS3-Byte field CHAR3CHAR3CHAR3
BMENGEText field length 14 CHAR14CHAR14CHAR14
CY_SEQNRSeq. number order CY_SEQNRNUMC14CY_SEQNR
DISPOMRP controller for the order CO_DISPOCHAR3Assigned to domainDISPODGR
FEVORProduction Supervisor FEVORCHAR3Assigned to domainFEVORCFV
FHORIScheduling Margin Key for Floats FHORICHAR3Assigned to domainFHORI
FLG_MLTPSOrder with multiple items CO_MLTPSCHAR1KREUZ
FREIZRelease period (in days) FREIZNUMC3NUM3
FTRMIActual release date CO_FTRMIDATS8DATUM
FTRMSScheduled release date CO_FTRMSDATS8DATUM
GAMNGText field length 14 CHAR14CHAR14CHAR14
GASMGText field length 14 CHAR14CHAR14CHAR14
GETRIConfirmed Order Finish Date CO_GETRIDATS8DATUM
GEUZIConfirmed order finish (time) CO_GEUZITIMS6UHRZT
GLTRIActual finish date CO_GLTRIDATS8DATUM
GLTRPBasic finish date CO_GLTRPDATS8DATUM
GLTRSScheduled finish CO_GLTRSDATS8DATUM
GLUZPBasic finish (time) CO_GLUZPTIMS6UHRZT
GLUZSScheduled finish time CO_GLUZSTIMS6UHRZT
GMEIN3-Byte field CHAR3CHAR3CHAR3
GSTRIActual start date CO_GSTRIDATS8DATUM
GSTRPBasic start date CO_GSTRPDATS8DATUM
GSTRSScheduled start CO_GSTRSDATS8DATUM
GSUZPBasic start time CO_GSUZPTIMS6UHRZT
GSUZSScheduled Start (Time) CO_GSUZSTIMS6ATIME
IASMGText field length 14 CHAR14CHAR14CHAR14
IGMNGText field length 14 CHAR14CHAR14CHAR14
LODIVText field length 14 CHAR14CHAR14CHAR14
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
PLAUFDate for routing transfer CO_PLAUFDATS8DATUM
PLGRPResponsible planner group/department VAGRPCHAR3Assigned to domainVAGRPH_T024A
PLNALGroup Counter PLNALCHAR2ALPHAALTNRPAL
PLNME3-Byte field CHAR3CHAR3CHAR3
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
PLNTYTask List Type PLNTYCHAR1Assigned to domainPLNTYPTYH_TCA01
PLSVBText field length 14 CHAR14CHAR14CHAR14
PLSVNText field length 14 CHAR14CHAR14CHAR14
PSPELCharacter field length 24 CHAR24CHAR24CHAR24
REDKZReduction indicator for scheduling REDKZCHAR1REDKZ
RGEKZIndicator: Backflush RGEKZCHAR1XFELD
RMNGAText field length 14 CHAR14CHAR14CHAR14
SBMEH3-Byte field CHAR3CHAR3CHAR3
SBMNGText field length 14 CHAR14CHAR14CHAR14
SICHZFloat after production (in days) SICHZNUMC3NUM3
SLSBSText field length 14 CHAR14CHAR14CHAR14
SLSVNText field length 14 CHAR14CHAR14CHAR14
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STLANBOM Usage STLANCHAR1Assigned to domainSTLANCSV
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
TERKZScheduling type TERMKZCHAR1Assigned to domainTERART
VORGZFloat before production (in days) VORGZNUMC3NUM3
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C

Key field Non-key field



How do I retrieve data from SAP structure E2AFKOL using ABAP code?

As E2AFKOL 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 E2AFKOL as there is no data to select.

How to access SAP table E2AFKOL

Within an ECC or HANA version of SAP you can also view further information about E2AFKOL 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!