AFFHI SAP (PSIS - Individual Overviews: Production Resources/Tools) Structure details

Dictionary Type: Structure
Description: PSIS - Individual Overviews: Production Resources/Tools




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




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
ARNUMMERArchiving Session Number ADMI_RUN_DCHAR6ADMI_RUN
VSGRUPPEGroup for a project version VSGRUPPECHAR20TEXT20
VSNUMMERNumber or description of a version VSNMRCHAR12VSNMRVS2
PRCTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
PRNAMInvestment program name IM_PRNAMCHAR8IMTPIM_PRNAMIMT
PRPOSIdentification for an investment program position IM_POSIDCHAR24POSIDIM_POSIDIMP
PSPIDProject Definition PS_PSPIDCHAR24ABPSNPS_PSPIDPSPPD_DUMMY
POSIDWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
KDAUFSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
KDPOSSales Document Item POSNR_VANUMC6VBUPPOSNRAPO
AUFNROrder/Network number AUF_NETNRCHAR12AUFKALPHAAUFNRANR
VORNRActivity number in network and standard network CN_VORNRCHAR4NUMCVVORNR
PSNFHItem Number for Production Resource/Tool PSNFHNUMC4PSNFH
AUTYPTXTDisplay field for order category description AUTYPTEXTCHAR40TEXT40
STEUFControl key for management of production resources/tools STEUFCHAR4TCF10STEUF
STEUTXTControl key description STEUTXTCHAR40TEXT40
KZKBLIndicator: Create load records for prod. resources/tools KZKBLCHAR1XFELD
BZOFFBReference date to start of production resource/tool usage BZOFFBCHAR2TCA54CP_BZOFF
OFFSTBOffset to start of production resource/tool usage OFFSTBQUAN5VNZTV
EHOFFBOffset unit for start of prod. resource/tool usage EHOFFBUNIT3T006CUNITMEINS
BZOFFEReference date for end of production resource/tool usage BZOFFECHAR2TCA54CP_BZOFF
OFFSTEOffset to finish of production resource/tool usage OFFSTEQUAN5VNZTV
EHOFFEOffset unit for end of production resource/tool usage EHOFFEUNIT3T006CUNITMEINS
FSFHDEarliest scheduled start (date) for PRT usage CF_FSFHDDATS8DATUM
FSFHZEarliest scheduled start (time) for PRT usage CF_FSFHZTIMS6UZEIT
FEFHDEarliest scheduled finish (date) of PRT usage CF_FEFHDDATS8DATUM
FEFHZEarliest scheduled end (time) of PRT usage CF_FEFHZTIMS6UZEIT
SSFHDLatest scheduled start (date) for PRT usage CF_SSFHDDATS8DATUM
SSFHZLatest scheduled start (time) for PRT usage CF_SSFHZTIMS6UZEIT
SEFHDLatest scheduled finish (date) of PRT usage CF_SEFHDDATS8DATUM
SEFHZLatest scheduled end (time) for PRT usage CF_SEFHZTIMS6UZEIT
ISFHDActual start (date) of PRT usage CF_ISFHDDATS8DATUM
ISFHZActual start (time) of PRT usage CF_ISFHZTIMS6UZEIT
IEFHDActual finish (date) of PRT usage CF_IEFHDDATS8DATUM
IEFHZActual finish (time) of PRT usage CF_IEFHZTIMS6UZEIT
DAUSEDuration of the PRT usage CF_DAUSEQUAN5(1) DAUER_4_1
DAUEHTime unit for duration of PRT usage CF_DAUEHUNIT3T006CUNITMEINS
MGEINHQuantity unit of production resource/tool MGEINHUNIT3T006CUNITMEINS
MGVGWStandard value for the PRT quantity MGVGWQUAN9(3) MENG9
MGSOLEHQuantity unit of production resource/tool MGEINHUNIT3T006CUNITMEINS
MGSOLTotal planned quantity of production resource/tool MGSOLQUAN9(3) MENG9
MGISTEHQuantity unit of production resource/tool MGEINHUNIT3T006CUNITMEINS
MGISTConfirmed quantity of production resource/tool MGISTQUAN9(3) MENG9
MGRSTEHQuantity unit of production resource/tool MGEINHUNIT3T006CUNITMEINS
MGRSTRemaining quantity of the production resource/tool MGRSTQUAN9(3) MENG9
MGAUSEHQuantity unit of production resource/tool MGEINHUNIT3T006CUNITMEINS
MGAUSQuantity of checked-out production resources/tools MGAUSQUAN9(3) MENG9
MGFORMFormula for calculating the total quantity of PRT CF_MGFORMCHAR6TC25AP_FORMEL
EWEINHUsage value unit of the production resource/tool EWEINHUNIT3T006CUNITMEINS
EWVGWStandard usage value for production resources/tools EWVGWQUAN9(3) MENG9
EWSOLEHUsage value unit of the production resource/tool EWEINHUNIT3T006CUNITMEINS
EWSOLTotal planned usage value of production resource/tool EWSOLQUAN9(3) MENG9
EWISTEHUsage value unit of the production resource/tool EWEINHUNIT3T006CUNITMEINS
EWISTActual usage value for production resource/tool EWISTQUAN9(3) MENG9
EWRSTEHUsage value unit of the production resource/tool EWEINHUNIT3T006CUNITMEINS
EWRSTRemaining usage value of the production resource/tool EWRSTQUAN9(3) MENG9
EWFORMFormula for calculating the total usage value of PRT CF_EWFORMCHAR6TC25AP_FORMEL
TXTSPLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
KTSCHStandard text key for production resources/tools CF_KTSCHCHAR7T435KTSCH
TXTZ1First line of text for production resources/tools TXTZ1CHAR40TEXT40
FHMARProduction resources/tools category FHMARCHAR1TCF02FHMARFHMARFHA
FHMNRProduction resource/tool number FHMNRCHAR33FHMNR
FHWRKProduction resources/tools in plant FHWRKCHAR4T001WWERKSWRK
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MTEXTMaterial description PS_MATTEXTCHAR40TEXT40
SFHNRProduction resources and tools SFHNRCHAR18ALPHASFHNRFHSFHMS
DOKARDocument Type DOKARCHAR3TDWADOKARCV2
DOKNRDocument number DOKNRCHAR25DRAWALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
EQUNREquipment Number EQUNRCHAR18EQUIALPHAEQUNREQNEQUI
EQPNTMeasuring Point IMRC_POINTCHAR12IMPTTALPHAIMRC_POINTIPTIMPM
EQPTXDescription of Measuring Point IMRC_PTTXTCHAR40TEXT40
MSEHIUnit of Measurement MSEHIUNIT3T006CUNITMEINS
FHKTXDescription of the production resource/tool FHKTXCHAR40TEXT40
FGRU1Grouping key 1 for production resources/tools FGRUACHAR4TCF12FGRUA
FGRU2Grouping key 2 for production resources/tools FGRUBCHAR4TCF12FGRUA
TXTKZIndicator: Long text exists CF_TXTKZCHAR1FLAG
STATXTEdited status text STATUSTEXT_2CHAR80CHAR80
AUTYPOrder category AUFTYPNUMC2AUFTYP
VGTYPActivity or element category VGTYPCHAR3VORG_TYP
KALIDFactory calendar key FABKLCHAR2Assigned to domainWFCID
INT_IDID/Object key OBJEKT_IDCHAR30CHAR30
LIGHTALV control: Exception as LED LVC_EXLEDCHAR1CHAR1
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
PZLFHItem counter for production resources/tools PZLFHNUMC8PZLFH

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 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!