SAP AFFH PRT assignment data for the work order Table

Overview

AFFH is a standard SAP S/4HANA table that stores PRT assignment data for the work order data. There are total 68 fields in the AFFH table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table AFFH belongs to Production Resources/Tools (PP-BD-PRT) module and is located in the package R/3 Appl. development: PPS production resources/tools (CF).

In addition, following links provide an overview of foreign key relationships, if any, that link AFFH to other SAP tables and standard CDS views available based on AFFH table in S/4HANA 2020.

Techincal Settings of AFFH

Below are technical details of the table AFFH

  • Buffering not allowed
  • No buffering
  • Storage type is Column Store

List of AFFH Fields

The following table gives you an overview of the fields available in AFFH

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
AUFPLRouting number of operations in the orderCO_AUFPLNUMC10
PZLFHItem Counter for Production Resources/ToolsPZLFHNUMC8
LOEKZDeletion IndicatorLKENZCHAR1
PARKZIndicator: inactive changesPARKZCHAR1
DATUIDate Record Created OnANDATDATS8
USERIUser who created recordANNAMCHAR12
DATUCDate of Last ChangeAEDATDATS8
USERCName of person who changed objectAENAMCHAR12
OBJTYObject types of the CIM resourceCR_OBJTYCHAR2
OBJIDObject ID of the resourceCR_OBJIDCRIDNUMC8
PLNTY_KEYTask List TypePLNTYTCA01CHAR1
PLNNR_KEYKey for Task List GroupPLNNRCHAR8
PZLFH_KEYItem Counter for Production Resources/ToolsPZLFHNUMC8
ZAEHL_KEYInternal counterCIM_COUNTNUMC8
OBJCTObject of a task listOBJCT_DCHAR1
APLZLInternal counterCIM_COUNTNUMC8
PSNFHItem Number for Production Resource/ToolPSNFHNUMC4
OBJNRObject numberJ_OBJNRONR00CHAR22
STEUFControl Profile for Management of Production Resources/ToolsSTEUFTCF10CHAR4
KZKBLIndicator: Create load records for prod. resources/toolsKZKBLCHAR1
BZOFFBReference Date for Start of Production Resource/Tool UsageBZOFFBTCA54CHAR2
OFFSTBOffset to start of production resource/tool usageOFFSTBQUAN5
EHOFFBOffset Unit for Start of Prodn Resource/Tool UsageEHOFFBT006UNIT3
BZOFFEReference date for end of production resource/tool usageBZOFFETCA54CHAR2
OFFSTEOffset to finish of production resource/tool usageOFFSTEQUAN5
EHOFFEOffset Unit for End of Production Resource/Tool UsageEHOFFET006UNIT3
FSFHDEarliest Scheduled Start Date for PRT UsageCF_FSFHDDATS8
FSFHZEarliest Scheduled Start Time for PRT UsageCF_FSFHZTIMS6
FEFHDEarliest Scheduled End Date of PRT UsageCF_FEFHDDATS8
FEFHZEarliest Scheduled End Time of PRT UsageCF_FEFHZTIMS6
SSFHDLatest Scheduled Start Date for PRT UsageCF_SSFHDDATS8
SSFHZLatest Scheduled Start Time for PRT UsageCF_SSFHZTIMS6
SEFHDLatest Scheduled End Date for PRT UsageCF_SEFHDDATS8
SEFHZLatest Scheduled End Time for PRT UsageCF_SEFHZTIMS6
ISFHDActual start date of PRT usageCF_ISFHDDATS8
ISFHZActual start time of PRT usageCF_ISFHZTIMS6
IEFHDActual end date of PRT usageCF_IEFHDDATS8
IEFHZActual end time of PRT usageCF_IEFHZTIMS6
DAUFLDuration of PRT UsageCF_DAUFLFLTP16
DAUEHUnit for Duration of PRT UsageCF_DAUEHT006UNIT3
MGEINHUnit for Quantity of Production Resources/ToolsMGEINHT006UNIT3
MGVGWStandard Value for Quantity of Production Resources/ToolsMGVGWQUAN9
MGSOLEHUnit for Quantity of Production Resources/ToolsMGEINHT006UNIT3
MGSOLTotal Planned Quantity of Production Resource/ToolMGSOLQUAN9
MGISTEHUnit for Quantity of Production Resources/ToolsMGEINHT006UNIT3
MGISTActual Quantity of Production Resource/ToolMGISTQUAN9
MGRSTEHUnit for Quantity of Production Resources/ToolsMGEINHT006UNIT3
MGRSTRemaining Quantity of the Production Resource/ToolMGRSTQUAN9
MGAUSEHUnit for Quantity of Production Resources/ToolsMGEINHT006UNIT3
MGAUSQuantity of checked-out production resources/toolsMGAUSQUAN9
MGFORMFormula for Calculating the Total Quantity of PRTCF_MGFORMTC25CHAR6
EWEINHUsage Value Unit of the Production Resource/ToolEWEINHT006UNIT3
EWVGWStandard Usage Value for Production Resources/ToolsEWVGWQUAN9
EWSOLEHUsage Value Unit of the Production Resource/ToolEWEINHT006UNIT3
EWSOLTotal Planned Usage Value of Production Resource/ToolEWSOLQUAN9
EWISTEHUsage Value Unit of the Production Resource/ToolEWEINHT006UNIT3
EWISTActual Usage Value for Production Resource/ToolEWISTQUAN9
EWRSTEHUsage Value Unit of the Production Resource/ToolEWEINHT006UNIT3
EWRSTRemaining Usage Value of the Production Resource/ToolEWRSTQUAN9
EWFORMFormula for Calculating the Total Usage Value of PRTCF_EWFORMTC25CHAR6
TXTSPLanguage KeySPRAST002LANG1
KTSCHStandard Text Key for Production Resources/ToolsCF_KTSCHT435CHAR7
TXTZ1First Line of Text for Production Resources/ToolsTXTZ1CHAR40
OBJTYPEChange indicatorOCM_OBJ_TYPECHAR1
CH_PROCProcess that has lead to the change of an objectOCM_CH_PROCCHAR1
AENNRChange NumberAENNR*CHAR12
PRT_VERSNRouting VersionPLNVERSNCHAR4

Foreign Key Relationships

A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for AFFH

Table NameFieldCardinalityCheck Table
AFFHBZOFFBC: CNTCA54
AFFHBZOFFEC: CNTCA54
AFFHDAUEHC: CNT006
AFFHEHOFFBC: CNT006
AFFHEHOFFEC: CNT006
AFFHEWEINHC: CNT006
AFFHEWFORMC: CNTC25
AFFHEWISTEHC: CNT006
AFFHEWRSTEHC: CNT006
AFFHEWSOLEHC: CNT006
AFFHKTSCHC: CNT435
AFFHMANDT1: CNT000
AFFHMGAUSEHC: CNT006
AFFHMGEINH1: CNT006
AFFHMGFORMC: CNTC25
AFFHMGISTEHC: CNT006
AFFHMGRSTEHC: CNT006
AFFHMGSOLEHC: CNT006
AFFHOBJID1: CNCRID
AFFHOBJNR1: CNONR00
AFFHPLNTY_KEYC: CNTCA01
AFFHSTEUF1: CNTCF10
AFFHTXTSPC: CNT002

Other References