MCAFKOB SAP (Order header data PP orders) Structure details

Dictionary Type: Structure
Description: Order header data PP orders




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




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

MCAFKOB 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 "Order header data PP orders" 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_MCAFKOB TYPE MCAFKOB.

The MCAFKOB table consists of various fields, each holding specific information or linking keys about Order header data PP orders data available in SAP. These include AUFNR (Order Number), AUFPL (Routing number of operations in the order), AUART (Order Type), AUTYP (Order category).. 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 MCAFKOB 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
SUPKZStatistics update indicator (post in/post out) SUPKZCHAR1SUPKZ
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
AUARTOrder Type AUFARTCHAR4T003OAUFARTAAT
AUTYPOrder category AUFTYPNUMC2AUFTYP
ERDATCreated on AUFERFDATDATS8DATUM
AEDATChange date for Order Master AUFAEDATDATS8DATUM
OBJNRObject number J_OBJNRCHAR22ONR00J_OBJNRONR
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
PLGRPResponsible planner group/department VAGRPCHAR3T024AVAGRPH_T024A
DISPOMRP controller for the order CO_DISPOCHAR3T024DDISPODGR
FEVORProduction Supervisor FEVORCHAR3T024FFEVORCFV
GLTRPBasic finish date CO_GLTRPDATS8DATUM
GSTRPBasic start date CO_GSTRPDATS8DATUM
FTRMSScheduled release date CO_FTRMSDATS8DATUM
GLTRSScheduled finish CO_GLTRSDATS8DATUM
GSTRSScheduled start CO_GSTRSDATS8DATUM
GSTRIActual start date CO_GSTRIDATS8DATUM
GETRIConfirmed Order Finish Date CO_GETRIDATS8DATUM
GLTRIActual finish date CO_GLTRIDATS8DATUM
FTRMIActual release date CO_FTRMIDATS8DATUM
FTRMPPlanned release date CO_FTRMPDATS8DATUM
GASMGTotal Scrap Quantity in the Order MC_GASMGQUAN15(3) MENGV15
GAMNGTotal order quantity MC_GAMNGQUAN15(3) MENGV15
GMEINBase Unit of Measure MEINSUNIT3T006CUNITMEINS
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
MDV01Production line MDV01CHAR8T437PMDVXX
MDV02Planning identification 2 MDV02CHAR8T437PMDVXX
KUNUMCustomer Number KUNUMCHAR10KNA1ALPHAKUNNRKUN
AMEINUnit of measure for in-house production CO_AUFMEUNIT3Assigned to domainCUNITMEINS
VDATUDate of update for statistics updating MC_VDATUMDATS8DATUM
TERKZScheduling type TERMKZCHAR1Assigned to domainTERART
FA_FREIOrder has status RELEASED MC_FA_FREICHAR1X
FA_GLFTOrder has status DELIVERED MC_FA_GLFTCHAR1X
FA_RUECKOrder has status CONFIRMED MC_FA_RUECKCHAR1X
FA_TGLIOrder has Status PDLV MC_FA_TGLICHAR1X
FA_TRUECOrder has status PARTIALLY CONFIRMED MC_FA_TRUECCHAR1X
GLUZSScheduled finish time CO_GLUZSTIMS6UHRZT
GSUZSScheduled Start (Time) CO_GSUZSTIMS6ATIME
GSUZIActual start time CO_GSUZITIMS6UHRZT
GEUZIConfirmed order finish (time) CO_GEUZITIMS6UHRZT
PLNMETask list unit of measure PLNMEUNIT3Assigned to domainCUNITMEINS
LEAD_AUFNRLeading order in current processing CO_LAUFNRCHAR12Assigned to domainALPHAAUFNR
MAUFNRNumber of superior order MAUFNRCHAR12Assigned to domainALPHAAUFNRUAF
ADummy function in length 1 DUMMYCHAR1DUMMY
DUMMYDummy function in length 1 DUMMYCHAR1DUMMY

Key field Non-key field



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

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

How to access SAP table MCAFKOB

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