SAP VSAFIHB Versions: Doc. table structure for VSAFIH_CN Table data and field list

VSAFIHB 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 "Versions: Doc. table structure for VSAFIH_CN" 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_VSAFIHB TYPE VSAFIHB.

The VSAFIHB table consists of various fields, each holding specific information or linking keys about Versions: Doc. table structure for VSAFIH_CN data available in SAP. These include MANDT (Client), VSNMR (Number or description of a version), AUFNR (Order Number), ARTPR (Priority Type)... 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. .

VSAFIHB structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP VSAFIHB 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 VSAFIHB 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
VSNMRNumber or description of a version VSNMRCHAR12VSNMRVS2
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ARTPRPriority Type ARTPRCHAR2T356AARTPR
PRIOKPriority PRIOKCHAR1T356PRIOKPRIOK
EQUNREquipment Number EQUNRCHAR18EQUIALPHAEQUNREQNEQUI
BAUTLAssembly BAUTLCHAR18MARAMATN1MATNRMAT
ILOANLocation and account assignment for technical object ILOANCHAR12ILOAILOAN
ILOAIILOA Individual ILOAICHAR1X
ANLZUSyst.Condition ANLZUCHAR1T357MANLZU
IWERKMaintenance Planning Plant IWERKCHAR4T399IWERKSIWK
INGPRPlanner Group for Customer Service and Plant Maintenance INGRPCHAR3T024IINGRPIHG
APGRPResponsible planner group/department VAGRPCHAR3T024AVAGRPH_T024A
PM_OBJTYObject Type of CIM Resources for Work Center PM_OBJTYCHAR2CR_OBJTY
GEWRKObject ID of the Work Center LGWIDNUMC8CRIDCR_OBJID
KUNUMCustomer Number KUNUMCHAR10KNA1ALPHAKUNNRKUN
ANINGName of Person Reponsible for System ANINGCHAR12USNAM
GAUZTPlanned downtime in hours GAUZTFLTP16(16) FLTP
GAUEHUnit for Breakdown Duration MAUEHUNIT3T006CUNITMEINS
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 WARPLCHAR12MPLAALPHAWARPLMPLMPLAL
ABNUMMaintenance Plan Call Number ABNUMINT410ABNUM
WAPOSMaintenance item WAPOSCHAR16ALPHAPOSNUMPSMPOSL
LAUFNOrder number LAUFNCHAR12AUFKALPHAAUFNRANR
OBKNRObject list number OBJKNRINT410SER00OBJKN
REVNRRevision for Plant Maintenance and Customer Service REVNICHAR8T352RREVNI
ADDATPM Order: Reference Date ADDATDATS8DATUM
ADUHRTime of Reference Date ADUHRTIMS6UZEIT
IPHASMaintenance Processing Phase PM_PHASECHAR1PM_PHASE
ILARTMaintenance activity type ILACHAR3T353IILARTH_T350I
QMNUMNotification No QMNUMCHAR12QMELALPHAQMNUMIQM
HISDAPM request: History date HISDADATS8DATUM
AKKNZOrder Category Indicator Plant Maintenance AKKNZCHAR1AKKNZ
PLKNZMaintenance order planning indicator AUF_PLKNZCHAR1AUF_PLKNZ
SERIALNRSerial Number GERNRCHAR18GERNRGERNRSER
SERMATMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
DEVICEIDAdditional Device Data DEVICEIDCHAR40DEVICEID
SCREENTYScenario or Subscreen Category SCRTPCHAR4TQBTSCRTP
ADPSPReference Element PM/PS ADDCOMPARE_CORECHAR40Assigned to domainADDCOMPARE_COREADCP
RSUPGUpgrade Order Indicator RSUPGCHAR1XFIELD
.INCLU--AP 0
/ISDFPS/OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
/ISDFPS/MEQUIMaster Equipment /ISDFPS/MEQUICHAR18Assigned to domainALPHAEQUNR
.INCLU--AP 0
UIIUnique Item Identifier UII_CHAR72CHAR72UII_CHAR72UIIH_UII
VBUKZUpdate indicator VBKZCHAR1VERBUCHER

Key field Non-key field



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

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

How to access SAP table VSAFIHB

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

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