SAP MCAFIH_CHAR CommStructure: Order - characteristics (general) Table data and field list

MCAFIH_CHAR 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 "CommStructure: Order - characteristics (general)" 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_MCAFIH_CHAR TYPE MCAFIH_CHAR.

The MCAFIH_CHAR table consists of various fields, each holding specific information or linking keys about CommStructure: Order - characteristics (general) data available in SAP. These include AUART (Order Type), ILART (Maintenance activity type), IPHAS (Maintenance Processing Phase), PLKNZ (Maintenance order planning indicator)... 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. .

MCAFIH_CHAR structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MCAFIH_CHAR structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the MCAFIH_CHAR table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
ILARTMaintenance activity type ILACHAR3Assigned to domainILARTH_T350I
IPHASMaintenance Processing Phase PM_PHASECHAR1PM_PHASE
PLKNZMaintenance order planning indicator AUF_PLKNZCHAR1AUF_PLKNZ
AKKNZOrder Category Indicator Plant Maintenance AKKNZCHAR1AKKNZ
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
PRIOKPriority PRIOKCHAR1Assigned to domainPRIOKPRIOK
QMNUMNotification No QMNUMCHAR12Assigned to domainALPHAQMNUMIQM
IWERKMaintenance Planning Plant IWERKCHAR4Assigned to domainWERKSIWK
INGRPPlanner Group for Customer Service and Plant Maintenance INGRPCHAR3Assigned to domainINGRPIHG
TPLNRFunctional Location TPLNRCHAR30Assigned to domainTPLNRTPLNRIFLIFLM
EQUNREquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
BAUTL_HDAssembly BAUTLCHAR18Assigned to domainMATN1MATNRMAT
PM_OBJTYObject Type of CIM Resources for Work Center PM_OBJTYCHAR2CR_OBJTY
GEWRKObject ID of the Work Center LGWIDNUMC8Assigned to domainCR_OBJID
AWERKPlant associated with main work center AWERKCHAR4Assigned to domainWERKS
VAPLZMain work center for maintenance tasks GEWRKCHAR8ARBPLVAP
REVNRRevision for Plant Maintenance and Customer Service REVNICHAR8Assigned to domainREVNI
ABCKZABC indicator for technical object ABCKZCHAR1Assigned to domainABCKZ
SWERKMaintenance plant SWERKCHAR4Assigned to domainWERKSSWK
STORTAsset location STORTCHAR10Assigned to domainAP_STAND
BEBERPlant section BEBERCHAR3Assigned to domainBEBERBBE
MSGRPRoom RAUMNRCHAR8CHAR8
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
WARPLMaintenance Plan WARPLCHAR12Assigned to domainALPHAWARPLMPLMPLAL
WAPOSMaintenance item WAPOSCHAR16ALPHAPOSNUMPSMPOSL
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
KUNUMCustomer Number KUNUMCHAR10Assigned to domainALPHAKUNNRKUN
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO

Key field Non-key field



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

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

How to access SAP table MCAFIH_CHAR

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

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