SAP AFKO Order Header Data PP Orders Table

Overview

AFKO is a standard SAP S/4HANA table that stores Order Header Data PP Orders data. There are total 170 fields in the AFKO table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table AFKO belongs to Production Orders (PP-SFC) module and is located in the package Application Development ERP PP Production Orders (CO).

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

Techincal Settings of AFKO

Below are technical details of the table AFKO

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

List of AFKO Fields

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

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
AUFNROrder NumberAUFNRAUFKCHAR12
GLTRPBasic finish dateCO_GLTRPDATS8
GSTRPBasic Start DatePM_ORDGSTRPDATS8
FTRMSScheduled release dateCO_FTRMSDATS8
GLTRSScheduled finishCO_GLTRSDATS8
GSTRSScheduled startCO_GSTRSDATS8
GSTRIActual start dateCO_GSTRIDATS8
GETRIConfirmed Order Finish DateCO_GETRIDATS8
GLTRIActual finish dateCO_GLTRIDATS8
FTRMIActual release dateCO_FTRMIDATS8
FTRMPPlanned Release DateCO_FTRMPDATS8
RSNUMNumber of reservation/dependent requirementsRSNUM*NUMC10
GASMGTotal Scrap Quantity in the OrderGASMGQUAN13
GAMNGTotal Order QuantityGAMNGQUAN13
GMEINBase Unit of MeasureMEINST006UNIT3
PLNBEZMaterial NumberMATNRMARACHAR40
PLNTYTask List TypePLNTYCHAR1
PLNNRKey for Task List GroupPLNNRCHAR8
PLNAWApplication of the task listPLNAWTCA09CHAR1
PLNALGroup CounterPLNALCHAR2
PVERWTask list usagePLN_VERWET411CHAR3
PLAUFDate for Routing ExplosionCO_PLAUFDATS8
PLSVBMaximum Lot SizeLOSGRBISQUAN13
PLNMETask List Unit of MeasurePLNMET006UNIT3
PLSVNMinimum Lot SizeLOSGRVONQUAN13
PDATVValid-From DateDATUVDATS8
PAENRChange NumberAENNRAENRCHAR12
PLGRPResponsible Planner Group or DepartmentVAGRPT024ACHAR3
LODIVLot size divisor (not used)LOSDIVQUAN13
STLTYBOM categorySTLTYCHAR1
STLBEZMaterial NumberMATNRMARACHAR40
STLSTBill of Material StatusSTLSTT415SNUMC2
STLNRBill of MaterialSTNUMCHAR8
SDATVValid-From DateDATUVDATS8
SBMNGBase quantityBASMNQUAN13
SBMEHBase Unit of MeasureMEINST006UNIT3
SAENRChange NumberAENNRAENRCHAR12
STLALAlternative BOMSTALTCHAR2
STLANBOM UsageSTLANT416CHAR1
SLSVNFrom Lot SizeLOSVNQUAN13
SLSBSTo Lot SizeLOSBSQUAN13
AUFLDDate of BOM Explosion/Routing TransferCO_AUFLDDATS8
DISPOMRP controller for the orderCO_DISPOT024DCHAR3
AUFPLRouting number of operations in the orderCO_AUFPLNUMC10
FEVORProduction SupervisorFEVORT024FCHAR3
FHORIScheduling Margin Key for FloatsFHORIT436ACHAR3
TERKZScheduling typeTERMKZT482CHAR1
REDKZReduction indicator for schedulingREDKZCHAR1
APRIOOrder priorityCO_APRIOCHAR1
NTZUESuperior network numberNETZ_UEBERAUFKCHAR12
VORUESuperior activityVORG_UEBERCHAR4
PROFIDNetwork ProfilePROFIDNZPLTCN41CHAR7
VORGZFloat before production (in days)VORGZNUMC3
SICHZFloat after production (in days)SICHZNUMC3
FREIZRelease period (in days)FREIZNUMC3
UPTERIndicator: Change to Scheduled DatesCO_UPTERCHAR1
BEDIDID of the Capacity Requirements RecordBEDID*NUMC12
PRONRProject definitionPS_PSP_PROPROJNUMC8
ZAEHLInternal counterCIM_COUNTNUMC8
MZAEHLInternal counterCIM_COUNTNUMC8
ZKRIZCounter for additional criteriaDZKRIZNUMC7
PRUEFLOSInspection Lot NumberQPLOSNUMC12
KLVARPCosting Variant for Planned CostsKALKVARPLN*CHAR4
KLVARICosting Variant For Actual CostsKALKVARIST*CHAR4
RGEKZIndicator: Backflushing for orderCO_RGEKZCHAR1
PLARTBasis for schedulingPS_PLARTCHAR1
FLG_AOBIndicator: relationshipsFLG_AOBCHAR1
FLG_ARBEIIndicator: Default value work is relevantFLG_ARBEICHAR1
GLTPPFinish date (forecast)CO_GLTPPDATS8
GSTPPForecast start dateCO_GSTPPDATS8
GLTPSScheduled forecast finishCO_GLTPSDATS8
GSTPSScheduled forecast startCO_GSTPSDATS8
FTRPSScheduled release date (forecast)CO_FTRPSDATS8
RDKZPReduction indicator for scheduling (forecast)REDKZPCHAR1
TRKZPScheduling type (forecast)TERMKZP*CHAR1
RUECKCompletion confirmation number for the operationCO_RUECKNUMC10
RMZHLInternal counterCIM_COUNTNUMC8
IGMNGConfirmed Yield Quantity From Order ConfirmationCO_IGMNGQUAN13
RATID-INVALID FOR S/4- Index for the rslts of schedg prod. ratesRATID*NUMC12
GROID-INVALID FOR S/4- Index for rough scheduling resultsGROID*NUMC12
CUOBJConfiguration (internal object number)CUOBJNUMC18
GLUZSScheduled finish timeCO_GLUZSTIMS6
GSUZSScheduled Start (Time)CO_GSUZSTIMS6
REVLVRevision LevelREVLVCHAR2
RSHTYObject types of the CIM resourceCR_OBJTYCHAR2
RSHIDObject ID of the resourceCR_OBJIDCRIDNUMC8
RSNTYObject types of the CIM resourceCR_OBJTYCHAR2
RSNIDObject ID of the resourceCR_OBJIDCRIDNUMC8
NAUTERMIndicator: Do not schedule automaticallyCO_NAUTERMCHAR1
NAUCOSTIndicator: Do not cost automaticallyCO_NAUCOSTCHAR1
STUFELevel (in multi-level BOM explosions)HISTUDEC2
WEGXXPath (for multi-level BOM explosions)WEGXXDEC4
VWEGXPath (for multi-level BOM explosions)WEGXXDEC4
ARSNRNumber of reservation/dependent requirementsRSNUM*NUMC10
ARSPSOrder item numberCO_POSNRNUMC4
MAUFNRNumber of Superior OrderMAUFNR*CHAR12
LKNOTLeft node in collective orderCO_LKNOT*CHAR12
RKNOTRight node of a collective orderCO_RKNOT*CHAR12
PRODNETOrder is Part of Collective OrderCO_PRODNETCHAR1
IASMGConfirmed Scrap Quantity From Order ConfirmationCO_IASMGQUAN13
ABARBConfirmation: Degree of processingCO_ABARBNUMC3
AUFNTNumber of superior networkCO_TEILNET*CHAR12
AUFPTRouting number of operations in the orderCO_AUFPLNUMC10
APLZTGeneral counter for orderCO_APLZL*NUMC8
NO_DISPEffective for Materials PlanningNO_DISP_PLUSCHAR1
CSPLITApportionment StructureCSPLITMAKVCHAR4
AENNRChange NumberAENNRAENRCHAR12
CY_SEQNRSequence Number OrderCY_SEQNRNUMC14
BREAKSIndicator: Scheduling allowing for breaksBREAKSCHAR1
VORGZ_TRMScheduled float before production in daysVORGZ_TRMDEC6
SICHZ_TRMScheduled float after production in daysSICHZ_TRMDEC6
TRMDTDate of the Last SchedulingTRMDTDATS8
GLUZPBasic Finish (Time)CO_GLUZPTIMS6
GSUZPBasic Start (Time)CO_GSUZPTIMS6
GSUZIActual start timeCO_GSUZITIMS6
GEUZIConfirmed Order Finish (Time)CO_GEUZITIMS6
GLUPPForecast finish (time)CO_GLUPPTIMS6
GSUPPForecast start (time)CO_GSUPPTIMS6
GLUPSScheduled forecast finish timeCO_GLUPSTIMS6
GSUPSScheduled start time (Forecast)CO_GSUPSTIMS6
CHSCHSearch procedure for batch determinationKALSMA_CHT683CHAR6
KAPT_VORGZFloat (bef. production) remaining after finite schedulingKAPT_VORGZNUMC3
KAPT_SICHZRemaining float after finite schedulingKAPT_SICHZNUMC3
LEAD_AUFNRLeading Order in Current ProcessingCO_LAUFNRAUFKCHAR12
PNETSTARTDOutline start of collective network (date)CO_PSTARTDDATS8
PNETSTARTTStart time of a collective orderCO_PSTARTTTIMS6
PNETENDDOutline finish of collective order (date)CO_PENDDDATS8
PNETENDTOutline finish timeCO_PENDTTIMS6
KBEDIndicator: Do not Create Capacity RequirementsKBED_DCHAR1
KKALKRIndicator: Components will not be costedCOMP_CALCCHAR1
SFCPFProduction Scheduling ProfileCO_PRODPRFTCO43CHAR6
RMNGATotal Confirmed Rework QuantityRMNGAQUAN13
GSBTRTotal Commitment DateCO_GSBTRDATS8
VFMNGCommitted quantity for order acc. to ATP check componentsCO_VFMNGQUAN13
NOPCOSTDo not calculate planned costs for orderCO_NOPCOSTCHAR1
NETZKONTIndicator for the account assignment of a network(hdr/act.)NETZKONTCHAR1
ATRKZRequest IDATRKZCHAR1
OBJTYPEChange indicatorOCM_OBJ_TYPECHAR1
CH_PROCProcess that has lead to the change of an objectOCM_CH_PROCCHAR1
KAPVERSAVersion of Available CapacityKAPVERSA*NUMC2
COLORDPROCCollective order with/without automatic goods movementCO_COLORDPRCCHAR1
KZERBIndicator: Project summarization via master data charact.PS_KZERBCHAR1
CONF_KEYIdentical objectCC_CONF_KEYNUMC8
ST_ARBIDObject IDOBJEKTIDNUMC8
VSNMR_VSales document version numberVSNMR_VCHAR12
TERHWScheduling note from order schedulingTERHWCHAR1
SPLSTATStatus of an order in a split hierarchySPLIT_STATCHAR1
COSTUPDCosts are updatedCN_COSTUPDCHAR1
MAX_GAMNGMaximum Value of Total Order Quantity After DistributionCO_MES_MAX_GAMNGQUAN13
MES_ROUTINGIDKey of a Routing from an ME SystemCO_MES_INT_ROUTINGIDCHAR64
TL_VERSNRouting VersionPLNVERSNCHAR4
BOM_VERSNBOM VersionCS_VERSNCHAR4
FLEXIBLE_PROCESSINGFlexible ProcessingMPE_FLEXIBLE_PROCESSINGCHAR1
ADPSPPM/PS Reference ElementADCOMPARECHAR40
RMANRSales and Distribution Document NumberVBELNCHAR10
POSNR_RMAItem number of the SD documentPOSNRNUMC6
POSNV_RMAItem number of the SD documentPOSNRNUMC6
CFB_MAXLZMaximum Storage PeriodMAXLZDEC5
CFB_LZEIHUnit for maximum storage periodLZEIHT006UNIT3
CFB_ADTDAYSAdditional DaysCFB_ADTDAYSDEC4
CFB_DATOFMDate of ManufactureCFB_DATOFMDATS8
CFB_BBDPIBest-Before Date (BBD)/ Shelf Life Expiration Date (SLED)CFB_BBD_PPPIDATS8
OIHANTYPExcise Duty Handling TypeOIH_HANTYPCHAR2
FSH_MPROD_ORDMaster Production Order NumberFSH_MPROD_ORDFSH_MPRODCHAR12
FLG_BUNDLEIndicates bundle information maintainedFLG_BUNDLECHAR1
MILL_RATIOFactor for Quantity-Based SettlementMILL_RATIOINT410
BMEINSBase Unit of MeasureMEINS*UNIT3
BMENGEBase quantityBASMNQUAN13
MILL_OC_ZUSKZCombination IndicatorMILL_OC_ZUSKZCHAR1

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 AFKO

Table NameFieldCardinalityCheck Table
AFKOAENNR:AENR
AFKOAUFNR1: 1AUFK
AFKOCFB_LZEIHC: CNT006
AFKOCHSCH:T683
AFKOCSPLIT:MAKV
AFKODISPO1: CNT024D
AFKOFEVOR:T024F
AFKOFHORIC: CNT436A
AFKOFSH_MPROD_ORD1: NFSH_MPROD
AFKOGMEIN1: CNT006
AFKOLEAD_AUFNR:AUFK
AFKOMANDT1: CNT000
AFKONTZUEC: CAUFK
AFKOPAENR1: CNAENR
AFKOPLGRPC: CNT024A
AFKOPLNAWC: CNTCA09
AFKOPLNBEZC: CNMARA
AFKOPLNME1: CNT006
AFKOPROFIDC: CNTCN41
AFKOPRONRC: CNPROJ
AFKOPVERW1: CNT411
AFKORSHIDC: CNCRID
AFKORSNIDC: CNCRID
AFKOSAENRC: CNAENR
AFKOSBMEHC: CNT006
AFKOSFCPF:TCO43
AFKOSTLANC: CNT416
AFKOSTLBEZC: CNMARA
AFKOSTLSTC: CNT415S
AFKOTERKZ1: CNT482

Other References