AAFIH SAP (Change Document Structure; Generated by RSSCD000) Structure details
Description: Change Document Structure; Generated by RSSCD000
Structure field list including key, data, relationships and ABAP select examples
AAFIH 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 "Change Document Structure; Generated by RSSCD000" 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_AAFIH TYPE AAFIH.
The AAFIH table consists of various fields, each holding specific information or linking keys about Change Document Structure; Generated by RSSCD000 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 AAFIH 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
ARTPR | Priority Type | ARTPR | CHAR | 2 | T356A | ARTPR | |||
PRIOK | Priority | PRIOK | CHAR | 1 | T356 | PRIOK | PRIOK | ||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | EQUI | ALPHA | EQUNR | EQN | EQUI |
BAUTL | Assembly | BAUTL | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
ILOAN | Location and account assignment for technical object | ILOAN | CHAR | 12 | ILOA | ILOAN | |||
ILOAI | ILOA Individual | ILOAI | CHAR | 1 | X | ||||
ANLZU | Syst.Condition | ANLZU | CHAR | 1 | T357M | ANLZU | |||
IWERK | Maintenance Planning Plant | IWERK | CHAR | 4 | T399I | WERKS | IWK | ||
INGPR | Planner Group for Customer Service and Plant Maintenance | INGRP | CHAR | 3 | T024I | INGRP | IHG | ||
APGRP | Responsible planner group/department | VAGRP | CHAR | 3 | T024A | VAGRP | H_T024A | ||
PM_OBJTY | Object Type of CIM Resources for Work Center | PM_OBJTY | CHAR | 2 | CR_OBJTY | ||||
GEWRK | Object ID of the Work Center | LGWID | NUMC | 8 | CRID | CR_OBJID | |||
KUNUM | Customer Number | KUNUM | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | |
ANING | Name of Person Reponsible for System | ANING | CHAR | 12 | USNAM | ||||
GAUZT | Planned downtime in hours | GAUZT | FLTP | 16(16) | FLTP | ||||
GAUEH | Unit for Breakdown Duration | MAUEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
ANLBD | Date until which the system is available | ANLBD | DATS | 8 | DATUM | ||||
ANLVD | Date from which the system is available | ANLVD | DATS | 8 | DATUM | ||||
ANLBZ | Time until which the system is available | ANLBZ | TIMS | 6 | UHRZT | ||||
ANLVZ | Time from Which System is Available | ANLVZ | TIMS | 6 | UHRZT | ||||
INSPK | Name of Person Responsible for Technical Inspection | INSPK | CHAR | 12 | USNAM | ||||
DATAN | Date of Technical Inspection | DATAN | DATS | 8 | DATUM | ||||
WARPL | Maintenance Plan | WARPL | CHAR | 12 | MPLA | ALPHA | WARPL | MPL | MPLAL |
ABNUM | Maintenance Plan Call Number | ABNUM | INT4 | 10 | ABNUM | ||||
WAPOS | Maintenance item | WAPOS | CHAR | 16 | ALPHA | POSNU | MPS | MPOSL | |
LAUFN | Order number | LAUFN | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
OBKNR | Object list number | OBJKNR | INT4 | 10 | SER00 | OBJKN | |||
REVNR | Revision for Plant Maintenance and Customer Service | REVNI | CHAR | 8 | T352R | REVNI | |||
ADDAT | PM Order: Reference Date | ADDAT | DATS | 8 | DATUM | ||||
ADUHR | Time of Reference Date | ADUHR | TIMS | 6 | UZEIT | ||||
IPHAS | Maintenance Processing Phase | PM_PHASE | CHAR | 1 | PM_PHASE | ||||
ILART | Maintenance activity type | ILA | CHAR | 3 | T353I | ILART | H_T350I | ||
QMNUM | Notification No | QMNUM | CHAR | 12 | QMEL | ALPHA | QMNUM | IQM | |
HISDA | PM request: History date | HISDA | DATS | 8 | DATUM | ||||
AKKNZ | Order Category Indicator Plant Maintenance | AKKNZ | CHAR | 1 | AKKNZ | ||||
PLKNZ | Maintenance order planning indicator | AUF_PLKNZ | CHAR | 1 | AUF_PLKNZ | ||||
SERIALNR | Serial Number | GERNR | CHAR | 18 | GERNR | GERNR | SER | ||
SERMAT | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
DEVICEID | Additional Device Data | DEVICEID | CHAR | 40 | DEVICEID | ||||
SCREENTY | Scenario or Subscreen Category | SCRTP | CHAR | 4 | TQBT | SCRTP | |||
ADPSP | Reference Element PM/PS | ADDCOMPARE_CORE | CHAR | 40 | Assigned to domain | ADDCOMPARE_CORE | ADCP | ||
RSUPG | Upgrade Order Indicator | RSUPG | CHAR | 1 | XFIELD | ||||
.INCLU--AP | 0 | ||||||||
/ISDFPS/OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
/ISDFPS/MEQUI | Master Equipment | /ISDFPS/MEQUI | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | ||
.INCLU--AP | 0 | ||||||||
UII | Unique Item Identifier | UII_CHAR72 | CHAR | 72 | UII_CHAR72 | UII | H_UII | ||
.INCLU--AP | 0 | ||||||||
ORCOD | PM/CS Order Code Indicating Rotable Process | ADPM_ORDERCODE | CHAR | 1 | Assigned to domain | ADPM_ORDERCODE | |||
PRMAN | CMC: Priority Manually Changed | ADPM_PRMAN | CHAR | 1 | CHAR1 | ||||
PRVAL | Priority for PM/CS Orders | ADPM_RTPRIO | NUMC | 2 | DOKU_SEQN2 | ||||
TWTDE | CMC: Use Minimum or Standard TWT from PP Matrix | ADPM_TWTFLAG | CHAR | 1 | CHAR1 | ||||
MSTCK | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
KZ | Change Type (U, I, S, D) | CDCHNGIND | CHAR | 1 | CDCHNGIND |
Key field | Non-key field |
How do I retrieve data from SAP structure AAFIH using ABAP code?
As AAFIH 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 AAFIH as there is no data to select.How to access SAP table AAFIH
Within an ECC or HANA version of SAP you can also view further information about AAFIH and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects