MILL_AFPO_PC_COMP SAP (Valuation Afpo PB for Target/Actual Comparison) Structure details

Dictionary Type: Structure
Description: Valuation Afpo PB for Target/Actual Comparison




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




Structure field list including key, data, relationships and ABAP select examples

MILL_AFPO_PC_COMP 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 "Valuation Afpo PB for Target/Actual Comparison" 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_MILL_AFPO_PC_COMP TYPE MILL_AFPO_PC_COMP.

The MILL_AFPO_PC_COMP table consists of various fields, each holding specific information or linking keys about Valuation Afpo PB for Target/Actual Comparison data available in SAP. These include AUFNR (Order Number), AFPO (Order Item Number), PC (Batch Number), CHARG_AFPO (Batch Number).. 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)


SAP MILL_AFPO_PC_COMP 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AFPOOrder Item Number CO_POSNRNUMC4CO_POSNR
PCBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
CHARG_AFPOBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
MATNR_AFPOMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATNR_PCMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
KDAUFSales order number CO_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSSales order item CO_KDPOSNUMC6Assigned to domainPOSNRAUP
VDATURequested delivery date EDATU_VBAKDATS8DATUM
PCLVLMill: Process Batch Level MILL_PCLVLNUMC3NUMC03
AUFNR_PREMill: Preceding Order Number MILL_AUFNRPRECHAR12Assigned to domainALPHAAUFNR
POSNR_PREMill: Preceding Item Number MILL_POSNRPRENUMC4CO_POSNR
MATNR_PREMill: Material in the Original Batch MILL_VCMATCHAR18Assigned to domainMATN1MATNRMAT1
CHARG_PREMill: Preceding Batch MILL_VCCHACHAR10Assigned to domainCHARGMCH1
PCLVL_PREMill: Preceding Process Batch Level MILL_PCLVLPRENUMC3NUMC03
BTYPEMill: Type of Batch in Process Batch Processing MILL_PCBTYPECHAR2MILL_PCBTYPE
FLGUCMill: Flag for Original Batches MILL_PCFLGUCCHAR1XFELD
FLGPPCMill: Flag for Process Batches with Item Reference MILL_PCFLGPPCCHAR1XFELD
FLGFCMill: Plag for Finished Batches MILL_PCFLGFCCHAR1XFELD
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
UMATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
UCHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
FLGGRMill: Goods Receipt Indicator MILL_PCFLGGRCHAR1MILL_PCFLGGR
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
UPD_FLGUpdate indicator (I/U/D) INDUPDCHAR1INDUPD
LOEVMDeletion Indicator LOEVMCHAR1XFELD
EVALUATIONResult of Tolerance Valuation MILL_TOL_EVALUATIONCHAR2MILL_TOL_EVALUATION
FLG_ENABLETarget/Act. Comparison Flag for Display of PB for an Item MILL_PCFLGENABLECHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure MILL_AFPO_PC_COMP using ABAP code?

As MILL_AFPO_PC_COMP 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 MILL_AFPO_PC_COMP as there is no data to select.

How to access SAP table MILL_AFPO_PC_COMP

Within an ECC or HANA version of SAP you can also view further information about MILL_AFPO_PC_COMP 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!