AFIH SAP table for – Maintenance order header

Here we would like to draw your attention to AFIH table in SAP. As we know it is being mainly used with the SAP PM-WOC (Maintenance Processing in PM) component which is coming under PM module (Plant Maintenance). AFIH is a SAP standard transparent table used for storing Maintenance order header related data in SAP. It comes under the package IWO1.

SAP AFIH table

Table AFIH technical data

TableAFIH
Data storingMaintenance order header
ModulePM
ComponentPM-WOC
SAP PackageIWO1
Delivery ClassA – Application table (master and transaction data)
Table CategoryTRANSPARENT

SAP AFIH Table Fields

Here is the details of each fields in this table.You can find the discription, data type and assigned lenth of each of the fields in AFIH table.

  • MANDT : Client
    Its a key field. Its data type is C (Character String) with field length 3
  • ANLZU : Syst.Condition
    Its data type is C (Character String) with field length 1
  • IWERK : Maintenance Planning Plant
    Its data type is C (Character String) with field length 4
  • INGPR : Planner Group for Customer Service and Plant Maintenance
    Its data type is C (Character String) with field length 3
  • APGRP : Responsible planner group/department
    Its data type is C (Character String) with field length 3
  • PM_OBJTY : Object Type of CIM Resources for Work Center
    Its data type is C (Character String) with field length 2
  • GEWRK : Object ID of the Work Center
    Its data type is N (Character String with Digits Only) with field length 8
  • KUNUM : Customer Number
    Its data type is C (Character String) with field length 10
  • ANING : Name of Person Reponsible for System
    Its data type is C (Character String) with field length 12
  • GAUZT : Planned downtime in hours
    Its data type is F (Floating point number) with field length 8
  • GAUEH : Unit for Breakdown Duration
    Its data type is C (Character String) with field length 3
  • AUFNR : Order Number
    Its a key field. Its data type is C (Character String) with field length 12
  • ANLBD : Date until which the system is available
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • ANLVD : Date from which the system is available
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • ANLBZ : Time until which the system is available
    Its data type is T (Time (Time: HHMMSS)) with field length 6
  • ANLVZ : Time from Which System is Available
    Its data type is T (Time (Time: HHMMSS)) with field length 6
  • INSPK : Name of Person Responsible for Technical Inspection
    Its data type is C (Character String) with field length 12
  • DATAN : Date of Technical Inspection
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • WARPL : Maintenance Plan
    Its data type is C (Character String) with field length 12
  • ABNUM : Maintenance Plan Call Number
    Its data type is X (Byte string) with field length 4
  • WAPOS : Maintenance item
    Its data type is C (Character String) with field length 16
  • LAUFN : Order number
    Its data type is C (Character String) with field length 12
  • .INCLUDE : PM Order: Fields AFIH w/o Key
    Its include structure/component is is AFIHF
  • OBKNR : Object list number
    Its data type is X (Byte string) with field length 4
  • REVNR : Revision of Plant Maintenance and Customer Service
    Its data type is C (Character String) with field length 8
  • ADDAT : PM Order: Reference Date
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • ADUHR : Time of Reference Date
    Its data type is T (Time (Time: HHMMSS)) with field length 6
  • IPHAS : Maintenance Processing Phase
    Its data type is C (Character String) with field length 1
  • ILART : Maintenance activity type
    Its data type is C (Character String) with field length 3
  • QMNUM : Message Number
    Its data type is C (Character String) with field length 12
  • HISDA : PM request: History date
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • AKKNZ : Order Category Indicator Plant Maintenance
    Its data type is C (Character String) with field length 1
  • PLKNZ : Maintenance order planning indicator
    Its data type is C (Character String) with field length 1
  • ARTPR : Priority Type
    Its data type is C (Character String) with field length 2
  • SERIALNR : Serial Number
    Its data type is C (Character String) with field length 18
  • SERMAT : Material Number
    Its data type is C (Character String) with field length 18
  • DEVICEID : Additional Device Data
    Its data type is C (Character String) with field length 40
  • SCREENTY : Scenario or Subscreen Category
    Its data type is C (Character String) with field length 4
  • ADPSP : Reference Element PM/PS
    Its data type is C (Character String) with field length 40
  • RSUPG : Upgrade Order Indicator
    Its data type is C (Character String) with field length 1
  • .INCLU–AP : IUID Append
    Its include structure/component is is /ISDFPS/AFIHF
  • /ISDFPS/OBJNR : Object number
    Its data type is C (Character String) with field length 22
  • /ISDFPS/MEQUI : Master Equipment
    Its data type is C (Character String) with field length 18
  • PRIOK : Priority
    Its data type is C (Character String) with field length 1
  • UII : Unique Item Identifier
    Its data type is C (Character String) with field length 72
  • EQUNR : Equipment Number
    Its data type is C (Character String) with field length 18
  • BAUTL : Assembly
    Its data type is C (Character String) with field length 18
  • ILOAN : Location and account assignment for technical object
    Its data type is C (Character String) with field length 12
  • ILOAI : ILOA Individual
    Its data type is C (Character String) with field length 1