AFFHI SAP (PSIS - Individual Overviews: Production Resources/Tools) Structure details
Description: PSIS - Individual Overviews: Production Resources/Tools
Structure field list including key, data, relationships and ABAP select examples
AFFHI 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 "PSIS - Individual Overviews: Production Resources/Tools" 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_AFFHI TYPE AFFHI.
The AFFHI table consists of various fields, each holding specific information or linking keys about PSIS - Individual Overviews: Production Resources/Tools data available in SAP. These include ARNUMMER (Archiving Session Number), VSGRUPPE (Group for a project version), VSNUMMER (Number or description of a version), PRCTR (Profit Center).. 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 AFFHI 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 |
ARNUMMER | Archiving Session Number | ADMI_RUN_D | CHAR | 6 | ADMI_RUN | ||||
VSGRUPPE | Group for a project version | VSGRUPPE | CHAR | 20 | TEXT20 | ||||
VSNUMMER | Number or description of a version | VSNMR | CHAR | 12 | VSNMR | VS2 | |||
PRCTR | Profit Center | PRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PRNAM | Investment program name | IM_PRNAM | CHAR | 8 | IMTP | IM_PRNAM | IMT | ||
PRPOS | Identification for an investment program position | IM_POSID | CHAR | 24 | POSID | IM_POSID | IMP | ||
PSPID | Project Definition | PS_PSPID | CHAR | 24 | ABPSN | PS_PSPID | PSP | PD_DUMMY | |
POSID | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
KDAUF | Sales Document | VBELN_VA | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Sales Document Item | POSNR_VA | NUMC | 6 | VBUP | POSNR | APO | ||
AUFNR | Order/Network number | AUF_NETNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
VORNR | Activity number in network and standard network | CN_VORNR | CHAR | 4 | NUMCV | VORNR | |||
PSNFH | Item Number for Production Resource/Tool | PSNFH | NUMC | 4 | PSNFH | ||||
AUTYPTXT | Display field for order category description | AUTYPTEXT | CHAR | 40 | TEXT40 | ||||
STEUF | Control key for management of production resources/tools | STEUF | CHAR | 4 | TCF10 | STEUF | |||
STEUTXT | Control key description | STEUTXT | CHAR | 40 | TEXT40 | ||||
KZKBL | Indicator: Create load records for prod. resources/tools | KZKBL | CHAR | 1 | XFELD | ||||
BZOFFB | Reference date to start of production resource/tool usage | BZOFFB | CHAR | 2 | TCA54 | CP_BZOFF | |||
OFFSTB | Offset to start of production resource/tool usage | OFFSTB | QUAN | 5 | VNZTV | ||||
EHOFFB | Offset unit for start of prod. resource/tool usage | EHOFFB | UNIT | 3 | T006 | CUNIT | MEINS | ||
BZOFFE | Reference date for end of production resource/tool usage | BZOFFE | CHAR | 2 | TCA54 | CP_BZOFF | |||
OFFSTE | Offset to finish of production resource/tool usage | OFFSTE | QUAN | 5 | VNZTV | ||||
EHOFFE | Offset unit for end of production resource/tool usage | EHOFFE | UNIT | 3 | T006 | CUNIT | MEINS | ||
FSFHD | Earliest scheduled start (date) for PRT usage | CF_FSFHD | DATS | 8 | DATUM | ||||
FSFHZ | Earliest scheduled start (time) for PRT usage | CF_FSFHZ | TIMS | 6 | UZEIT | ||||
FEFHD | Earliest scheduled finish (date) of PRT usage | CF_FEFHD | DATS | 8 | DATUM | ||||
FEFHZ | Earliest scheduled end (time) of PRT usage | CF_FEFHZ | TIMS | 6 | UZEIT | ||||
SSFHD | Latest scheduled start (date) for PRT usage | CF_SSFHD | DATS | 8 | DATUM | ||||
SSFHZ | Latest scheduled start (time) for PRT usage | CF_SSFHZ | TIMS | 6 | UZEIT | ||||
SEFHD | Latest scheduled finish (date) of PRT usage | CF_SEFHD | DATS | 8 | DATUM | ||||
SEFHZ | Latest scheduled end (time) for PRT usage | CF_SEFHZ | TIMS | 6 | UZEIT | ||||
ISFHD | Actual start (date) of PRT usage | CF_ISFHD | DATS | 8 | DATUM | ||||
ISFHZ | Actual start (time) of PRT usage | CF_ISFHZ | TIMS | 6 | UZEIT | ||||
IEFHD | Actual finish (date) of PRT usage | CF_IEFHD | DATS | 8 | DATUM | ||||
IEFHZ | Actual finish (time) of PRT usage | CF_IEFHZ | TIMS | 6 | UZEIT | ||||
DAUSE | Duration of the PRT usage | CF_DAUSE | QUAN | 5(1) | DAUER_4_1 | ||||
DAUEH | Time unit for duration of PRT usage | CF_DAUEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGEINH | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGVGW | Standard value for the PRT quantity | MGVGW | QUAN | 9(3) | MENG9 | ||||
MGSOLEH | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGSOL | Total planned quantity of production resource/tool | MGSOL | QUAN | 9(3) | MENG9 | ||||
MGISTEH | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGIST | Confirmed quantity of production resource/tool | MGIST | QUAN | 9(3) | MENG9 | ||||
MGRSTEH | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGRST | Remaining quantity of the production resource/tool | MGRST | QUAN | 9(3) | MENG9 | ||||
MGAUSEH | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGAUS | Quantity of checked-out production resources/tools | MGAUS | QUAN | 9(3) | MENG9 | ||||
MGFORM | Formula for calculating the total quantity of PRT | CF_MGFORM | CHAR | 6 | TC25 | AP_FORMEL | |||
EWEINH | Usage value unit of the production resource/tool | EWEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EWVGW | Standard usage value for production resources/tools | EWVGW | QUAN | 9(3) | MENG9 | ||||
EWSOLEH | Usage value unit of the production resource/tool | EWEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EWSOL | Total planned usage value of production resource/tool | EWSOL | QUAN | 9(3) | MENG9 | ||||
EWISTEH | Usage value unit of the production resource/tool | EWEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EWIST | Actual usage value for production resource/tool | EWIST | QUAN | 9(3) | MENG9 | ||||
EWRSTEH | Usage value unit of the production resource/tool | EWEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EWRST | Remaining usage value of the production resource/tool | EWRST | QUAN | 9(3) | MENG9 | ||||
EWFORM | Formula for calculating the total usage value of PRT | CF_EWFORM | CHAR | 6 | TC25 | AP_FORMEL | |||
TXTSP | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
KTSCH | Standard text key for production resources/tools | CF_KTSCH | CHAR | 7 | T435 | KTSCH | |||
TXTZ1 | First line of text for production resources/tools | TXTZ1 | CHAR | 40 | TEXT40 | ||||
FHMAR | Production resources/tools category | FHMAR | CHAR | 1 | TCF02 | FHMAR | FHMAR | FHA | |
FHMNR | Production resource/tool number | FHMNR | CHAR | 33 | FHMNR | ||||
FHWRK | Production resources/tools in plant | FHWRK | CHAR | 4 | T001W | WERKS | WRK | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
MTEXT | Material description | PS_MATTEXT | CHAR | 40 | TEXT40 | ||||
SFHNR | Production resources and tools | SFHNR | CHAR | 18 | ALPHA | SFHNR | FHS | FHMS | |
DOKAR | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | DRAW | ALPHA | DOKNR | CV1 | |
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
EQUNR | Equipment Number | EQUNR | CHAR | 18 | EQUI | ALPHA | EQUNR | EQN | EQUI |
EQPNT | Measuring Point | IMRC_POINT | CHAR | 12 | IMPTT | ALPHA | IMRC_POINT | IPT | IMPM |
EQPTX | Description of Measuring Point | IMRC_PTTXT | CHAR | 40 | TEXT40 | ||||
MSEHI | Unit of Measurement | MSEHI | UNIT | 3 | T006 | CUNIT | MEINS | ||
FHKTX | Description of the production resource/tool | FHKTX | CHAR | 40 | TEXT40 | ||||
FGRU1 | Grouping key 1 for production resources/tools | FGRUA | CHAR | 4 | TCF12 | FGRUA | |||
FGRU2 | Grouping key 2 for production resources/tools | FGRUB | CHAR | 4 | TCF12 | FGRUA | |||
TXTKZ | Indicator: Long text exists | CF_TXTKZ | CHAR | 1 | FLAG | ||||
STATXT | Edited status text | STATUSTEXT_2 | CHAR | 80 | CHAR80 | ||||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
VGTYP | Activity or element category | VGTYP | CHAR | 3 | VORG_TYP | ||||
KALID | Factory calendar key | FABKL | CHAR | 2 | Assigned to domain | WFCID | |||
INT_ID | ID/Object key | OBJEKT_ID | CHAR | 30 | CHAR30 | ||||
LIGHT | ALV control: Exception as LED | LVC_EXLED | CHAR | 1 | CHAR1 | ||||
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
PZLFH | Item counter for production resources/tools | PZLFH | NUMC | 8 | PZLFH |
Key field | Non-key field |
How do I retrieve data from SAP structure AFFHI using ABAP code?
As AFFHI 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 AFFHI as there is no data to select.How to access SAP table AFFHI
Within an ECC or HANA version of SAP you can also view further information about AFFHI 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