PMARC_AFIH SAP (PM Archiving Structure AFIH) Structure details

Dictionary Type: Structure
Description: PM Archiving Structure AFIH




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




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

PMARC_AFIH 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 "PM Archiving Structure AFIH" 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_PMARC_AFIH TYPE PMARC_AFIH.

The PMARC_AFIH table consists of various fields, each holding specific information or linking keys about PM Archiving Structure AFIH data available in SAP. These include MANDT (Client), AUFNR (Order Number), ARTPR (Priority Type), PRIOK (Priority).. 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 PMARC_AFIH 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
MANDTClient MANDTCLNT3MANDT
AUFNROrder Number AUFNRCHAR12ALPHAAUFNRANR
ARTPRPriority Type ARTPRCHAR2ARTPR
PRIOKPriority PRIOKCHAR1PRIOKPRIOK
EQUNREquipment Number EQUNRCHAR18ALPHAEQUNREQNEQUI
BAUTLAssembly BAUTLCHAR18MATN1MATNRMAT
ILOANLocation and account assignment for technical object ILOANCHAR12ILOAN
ILOAIILOA Individual ILOAICHAR1X
ANLZUSyst.Condition ANLZUCHAR1ANLZU
IWERKMaintenance Planning Plant IWERKCHAR4WERKSIWK
INGPRPlanner Group for Customer Service and Plant Maintenance INGRPCHAR3INGRPIHG
APGRPResponsible planner group/department VAGRPCHAR3VAGRPH_T024A
PM_OBJTYObject Type of CIM Resources for Work Center PM_OBJTYCHAR2CR_OBJTY
GEWRKObject ID of the Work Center LGWIDNUMC8CR_OBJID
KUNUMCustomer Number KUNUMCHAR10ALPHAKUNNRKUN
ANINGName of Person Reponsible for System ANINGCHAR12USNAM
GAUZTPlanned downtime in hours GAUZTFLTP16(16) FLTP
GAUEHUnit for Breakdown Duration MAUEHUNIT3CUNITMEINS
ANLBDDate until which the system is available ANLBDDATS8DATUM
ANLVDDate from which the system is available ANLVDDATS8DATUM
ANLBZTime until which the system is available ANLBZTIMS6UHRZT
ANLVZTime from Which System is Available ANLVZTIMS6UHRZT
INSPKName of Person Responsible for Technical Inspection INSPKCHAR12USNAM
DATANDate of Technical Inspection DATANDATS8DATUM
WARPLMaintenance Plan WARPLCHAR12ALPHAWARPLMPLMPLAL
ABNUMMaintenance Plan Call Number ABNUMINT410ABNUM
WAPOSMaintenance item WAPOSCHAR16ALPHAPOSNUMPSMPOSL
LAUFNOrder number LAUFNCHAR12ALPHAAUFNRANR
OBKNRObject list number OBJKNRINT410OBJKN
REVNRRevision for Plant Maintenance and Customer Service REVNICHAR8REVNI
ADDATPM Order: Reference Date ADDATDATS8DATUM
ADUHRTime of Reference Date ADUHRTIMS6UZEIT
IPHASMaintenance Processing Phase PM_PHASECHAR1PM_PHASE
ILARTMaintenance activity type ILACHAR3ILARTH_T350I
QMNUMNotification No QMNUMCHAR12ALPHAQMNUMIQM
HISDAPM request: History date HISDADATS8DATUM
AKKNZOrder Category Indicator Plant Maintenance AKKNZCHAR1AKKNZ
PLKNZMaintenance order planning indicator AUF_PLKNZCHAR1AUF_PLKNZ
SERIALNRSerial Number GERNRCHAR18GERNRGERNRSER
SERMATMaterial Number MATNRCHAR18MATN1MATNRMATS_MAT1
DEVICEIDAdditional Device Data DEVICEIDCHAR40DEVICEID
SCREENTYScenario or Subscreen Category SCRTPCHAR4SCRTP
ADPSPReference Element PM/PS ADDCOMPARE_CORECHAR40ADDCOMPARE_COREADCP
RSUPGUpgrade Order Indicator RSUPGCHAR1XFIELD
.INCLU--AP 0
/ISDFPS/OBJNRObject number J_OBJNRCHAR22J_OBJNRONR
/ISDFPS/MEQUIMaster Equipment /ISDFPS/MEQUICHAR18ALPHAEQUNR
.INCLU--AP 0
UIIUnique Item Identifier UII_CHAR72CHAR72UII_CHAR72UIIH_UII
.INCLU--AP 0
ORCODPM/CS Order Code Indicating Rotable Process ADPM_ORDERCODECHAR1ADPM_ORDERCODE
PRMANCMC: Priority Manually Changed ADPM_PRMANCHAR1CHAR1
PRVALPriority for PM/CS Orders ADPM_RTPRIONUMC2DOKU_SEQN2
TWTDECMC: Use Minimum or Standard TWT from PP Matrix ADPM_TWTFLAGCHAR1CHAR1
MSTCKSingle-Character Indicator CHAR1CHAR1CHAR1
OBJNRPM Object Number PMOBJNRCHAR22PMCHAR22

Key field Non-key field



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

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

How to access SAP table PMARC_AFIH

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