SAP AFPO Order item Table

Overview

AFPO is a standard SAP S/4HANA table that stores Order item data. There are total 100 fields in the AFPO table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table AFPO 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 AFPO to other SAP tables and standard CDS views available based on AFPO table in S/4HANA 2020.

Techincal Settings of AFPO

Below are technical details of the table AFPO

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

List of AFPO Fields

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

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
AUFNROrder NumberAUFNRAUFKCHAR12
POSNROrder item numberCO_POSNRNUMC4
PSOBSSpecial procurement typeSOBESCHAR1
QUNUMNumber of quota arrangementQUNUMCHAR10
QUPOSQuota arrangement itemQUPOSNUMC3
PROJNWork breakdown structure element (WBS element)PS_PSP_ELEPRPSNUMC8
PLNUMPlanned OrderPLNUMCHAR10
STRMPPlanned Order Planned Start DateCO_STRMPDATS8
ETRMPOpening Date of the Planned OrderCO_ETRMPDATS8
KDAUFSales OrderCO_KDAUFVBAKCHAR10
KDPOSSales Order ItemCO_KDPOSVBAPNUMC6
KDEINDelivery schedule for sales orderKDEINNUMC4
BESKZProcurement TypeBESKZCHAR1
PSAMGOrder Item Planned Scrap QuantityCO_PSAMGQUAN13
PSMNGOrder Item Planned Total QuantityCO_PSMNGQUAN13
WEMNGQuantity of Goods Received for the Order ItemCO_WEMNGQUAN13
IAMNGExpected Surplus/Deficit For Goods ReceiptCO_IAMNGQUAN13
AMEINUnit of measure for in-house productionCO_AUFMET006UNIT3
MEINSBase Unit of MeasureLAGMET006UNIT3
MATNRMaterial Number for OrderCO_MATNRMARACHAR40
PAMNGPlanned Scrap QuantityAVMNGQUAN13
PGMNGPlanned Total Order QuantityGSMNGQUAN13
KNTTPAccount Assignment CategoryKNTTPT163KCHAR1
TPAUFIndicator: Partial ConversionTPAUFCHAR1
LTRMIActual Delivery/Finish DateCO_LTRMIDATS8
LTRMPDelivery Date From Planned OrderCO_LTRMPDATS8
KALNRCost Estimate Number for Cost Est. w/o Qty StructureCK_KALNRCKHSNUMC12
UEBTOOverdelivery ToleranceUEBTODEC3
UEBTKUnlimited Overdelivery AllowedUEBTKCHAR1
UNTTOUnderdelivery ToleranceUNTTODEC3
INSMKStock TypeINSMKCHAR1
WEPOSGoods Receipt IndicatorWEPOSCHAR1
BWTARValuation TypeBWTAR_DT149DCHAR10
BWTTYValuation CategoryBWTTY_DT149CCHAR1
PWERKPlanning Plant for an OrderCO_PWERKT001WCHAR4
LGORTStorage locationLGORT_DT001LCHAR4
UMREZNumerator for Conversion to Base Units of MeasureUMREZDEC5
UMRENDenominator for conversion to base units of measureUMRENDEC5
WEBAZGoods Receipt Processing Duration in DaysPLWEZDEC3
ELIKZDelivery Completed IndicatorELIKZCHAR1
SAFNRRun schedule header numberSA_AUFNR*CHAR12
VERIDProduction VersionVERID*CHAR4
SERNRBOM explosion numberSERNRSNUMCHAR8
TECHSParameter Variant/Standard VariantTECHSCHAR12
DWERKPlantWERKS_DT001WCHAR4
DAUTYOrder categoryAUFTYPNUMC2
DAUATOrder TypeAUFARTT003OCHAR4
DGLTPBasic finish dateCO_GLTRPDATS8
DGLTSScheduled finishCO_GLTRSDATS8
DFREIIndicator: Order released/partially released (for MRP)CO_FREICHAR1
DNRELIndicator: Order Item is not Relevant for MRPCO_DNRELCHAR1
VERTOMRP Distribution KeySA_VERTLT437VCHAR4
SOBKZSpecial Stock IndicatorSOBKZT148CHAR1
KZVBRConsumption postingKZVBRCHAR1
WEWRTValue of goods received in local currencyWEWRTCURR13
WEUNBGoods Receipt, Non-ValuatedWEUNBCHAR1
ABLADUnloading PointABLADCHAR25
WEMPFGoods RecipientWEMPFCHAR12
CHARGBatch NumberCHARG_DMCHACHAR10
GSBERBusiness AreaGSBERTGSBCHAR4
WEAEDIndicator: Goods receipt indicator can be changedCO_WEAECHAR1
CUOBJConfiguration (internal object number)CUOBJNUMC18
KBNKZKanban IndicatorKBNKZCHAR1
ARSNRSettlement reservation numberARSNRNUMC10
ARSPSItem number of the settlement reservationARSPSNUMC4
KRSNRNumber of reservation/dependent requirementsRSNUM*NUMC10
KRSPSItem Number of Reservation / Dependent RequirementsRSPOSNUMC4
KCKEYCost Collector KeyCCKEY*CHAR23
RTP01Cost collector for repetitive manufacturingRTP01CHAR1
RTP02Cost collector for KANBANRTP02CHAR1
RTP03Cost collector for valuated sales order stockRTP03CHAR1
RTP04Cost collector for external PPCRTP04CHAR1
KSVONCost collector valid fromKSVONDATS8
KSBISCost collector valid toKSBISDATS8
OBJNPObject numberJ_OBJNRONR00CHAR22
NDISRInd.: Material in order item is not relevant for MRPCO_NDISRCHAR1
VFMNGCommitted quantity for order acc. to ATP check componentsCO_VFMNGQUAN13
GSBTRTotal Commitment DateCO_GSBTRDATS8
KZAVCIndicator for type of availability checkKZAVCCHAR1
KZBWSValuation of Special StockKZBWSCHAR1
XLOEKDeletion FlagAUFLOEKZCHAR1
SERNPSerial Number ProfileSERAILT377PCHAR4
ANZSNNumber of serial numbersANZSNINT410
OBJTYPEChange indicatorOCM_OBJ_TYPECHAR1
CH_PROCProcess that has lead to the change of an objectOCM_CH_PROCCHAR1
FXPRUFixed-Price Co-ProductCK_FIXPRKUCHAR1
CUOBJ_ROOTConfiguration (internal object number)CUOBJNUMC18
BERIDMRP AreaBERID*CHAR10
TECHS_COPYParameter Variant/Standard VariantTECHSCHAR12
SGT_SCATStock SegmentSGT_SCATCHAR40
KUNNR2Customer NumberKUNNRCHAR10
FSH_SEASON_YEARSeason YearFSH_SAISJFSH_SEASONSCHAR4
FSH_SEASONSeasonFSH_SAISOFSH_SEASONSCHAR10
FSH_COLLECTIONFashion CollectionFSH_COLLECTIONFSH_COLLECTIONSCHAR10
FSH_THEMEFashion ThemeFSH_THEMEFSH_THEMESCHAR10
FSH_SALLOC_QTYAllocated Stock QuantityFSH_SALLOC_QTYQUAN13
MILL_OC_AUFNR_UNumber of original orderMILL_OC_AUFNR_U*CHAR12
MILL_OC_RUMNGConfirmed Quantity for ItemMILL_OC_RUMNGQUAN13
MILL_OC_SORTItem SequenceMILL_OC_SORTNUMC8

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 AFPO

Table NameFieldCardinalityCheck Table
AFPOAMEINC: CNT006
AFPOAUFNR1: NAUFK
AFPOBWTARC: CNT149D
AFPOBWTTYC: CNT149C
AFPOCHARGC: CNMCHA
AFPODAUAT1: CNT003O
AFPODWERK1: CNT001W
AFPOFSH_COLLECTION:FSH_COLLECTIONS
AFPOFSH_SEASON:FSH_SEASONS
AFPOFSH_SEASON_YEAR:FSH_SEASONS
AFPOFSH_THEME:FSH_THEMES
AFPOGSBERC: CNTGSB
AFPOKALNRC: CNCKHS
AFPOKCKEY1: C*
AFPOKDAUF:VBAK
AFPOKDPOS:VBAP
AFPOKNTTP1: CNT163K
AFPOLGORTC: CNT001L
AFPOMANDT1: CNT000
AFPOMATNR1: CNMARA
AFPOMEINS1: CNT006
AFPOOBJNPC: CONR00
AFPOPROJNC: CNPRPS
AFPOPWERKC: CNT001W
AFPOSERNP:T377P
AFPOSERNR:SNUM
AFPOSOBKZC: CNT148
AFPOVERTOC: CNT437V

Other References