MILL_AFPO_PC_COMP SAP (Valuation Afpo PB for Target/Actual Comparison) Structure details
Description: Valuation Afpo PB for Target/Actual Comparison
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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
AFPO | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
PC | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
CHARG_AFPO | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
MATNR_AFPO | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MATNR_PC | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
KDAUF | Sales order number | CO_KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Sales order item | CO_KDPOS | NUMC | 6 | Assigned to domain | POSNR | AUP | ||
VDATU | Requested delivery date | EDATU_VBAK | DATS | 8 | DATUM | ||||
PCLVL | Mill: Process Batch Level | MILL_PCLVL | NUMC | 3 | NUMC03 | ||||
AUFNR_PRE | Mill: Preceding Order Number | MILL_AUFNRPRE | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
POSNR_PRE | Mill: Preceding Item Number | MILL_POSNRPRE | NUMC | 4 | CO_POSNR | ||||
MATNR_PRE | Mill: Material in the Original Batch | MILL_VCMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT1 | |
CHARG_PRE | Mill: Preceding Batch | MILL_VCCHA | CHAR | 10 | Assigned to domain | CHARG | MCH1 | ||
PCLVL_PRE | Mill: Preceding Process Batch Level | MILL_PCLVLPRE | NUMC | 3 | NUMC03 | ||||
BTYPE | Mill: Type of Batch in Process Batch Processing | MILL_PCBTYPE | CHAR | 2 | MILL_PCBTYPE | ||||
FLGUC | Mill: Flag for Original Batches | MILL_PCFLGUC | CHAR | 1 | XFELD | ||||
FLGPPC | Mill: Flag for Process Batches with Item Reference | MILL_PCFLGPPC | CHAR | 1 | XFELD | ||||
FLGFC | Mill: Plag for Finished Batches | MILL_PCFLGFC | CHAR | 1 | XFELD | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
UMATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
UCHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
FLGGR | Mill: Goods Receipt Indicator | MILL_PCFLGGR | CHAR | 1 | MILL_PCFLGGR | ||||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
UPD_FLG | Update indicator (I/U/D) | INDUPD | CHAR | 1 | INDUPD | ||||
LOEVM | Deletion Indicator | LOEVM | CHAR | 1 | XFELD | ||||
EVALUATION | Result of Tolerance Valuation | MILL_TOL_EVALUATION | CHAR | 2 | MILL_TOL_EVALUATION | ||||
FLG_ENABLE | Target/Act. Comparison Flag for Display of PB for an Item | MILL_PCFLGENABLE | CHAR | 1 | XFELD |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects