AFPO_CLEAR SAP (AFPOB fields, that are are intialized for orders with ref.) Structure details
Description: AFPOB fields, that are are intialized for orders with ref.
Structure field list including key, data, relationships and ABAP select examples
AFPO_CLEAR 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 "AFPOB fields, that are are intialized for orders with ref." 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_AFPO_CLEAR TYPE AFPO_CLEAR.
The AFPO_CLEAR table consists of various fields, each holding specific information or linking keys about AFPOB fields, that are are intialized for orders with ref. data available in SAP. These include VBKZ (Update indicator), FLG_SEL (Selection flag), AUFNR_T (Order Number), FLG_CALCUL (Indicator: Order (network etc.) still to be calculated).. 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 or numeric)
SAP AFPO_CLEAR 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 |
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
FLG_SEL | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
AUFNR_T | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
FLG_CALCUL | Indicator: Order (network etc.) still to be calculated | FLG_CALC | CHAR | 1 | KREUZ | ||||
INSNC | Quality inspection indicator cannot be changed | INSNC | CHAR | 1 | XFELD | ||||
USEQU | Quota arrangement usage | USEQU | CHAR | 1 | TMQ2 | USEQU | |||
FHWTX | Indicator: Production memo exists | CO_FHWTEXT | CHAR | 1 | CO_FHWTEXT | ||||
SOPNR | SOP order number | SAFNR | CHAR | 10 | SAFNR | ||||
KUNNR | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
NAME1 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
KWMENG | Cumulative Order Quantity in Sales Units | KWMENG | QUAN | 15(3) | MENG15 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BMENG | Confirmed Quantity | BMENG | QUAN | 13(3) | MENG13 | ||||
VSMNG | Delivered quantity in sales units | VSMNG | QUAN | 13(3) | MENG13 | ||||
KETDAT | Requested delivery date of the document | KETDAT | CHAR | 10 | ETDAT | ||||
BDATU | Committed Date | DAT05 | DATS | 8 | DATUM | ||||
STTXP | System Status | CO_STTXT | CHAR | 40 | CHAR40 | ||||
ORT01 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
VDATU | Requested delivery date | EDATU_VBAK | DATS | 8 | DATUM | ||||
PARBK | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
WPSMNG | Order item quantity | CO_PSMNG | QUAN | 13(3) | MENG13 | ||||
WMEINH | Unit of measure for in-house production | CO_AUFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KZWSO | Units of measure usage | KZWSO | CHAR | 1 | KZWSO | ||||
EDATU | Schedule line date | EDATU | DATS | 8 | DATUM | ||||
SERCOM | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
COMP_RES | OCM: Result of comparison of two order objects | OCM_COMP_RES | CHAR | 1 | OCM_COMP_RES | ||||
NO_KALKPOS | Order item is not relevant to calculation | NO_KALKPOS | CHAR | 1 | XFELD | ||||
EXT_CONVERSION | Indicator: Convert planned order with RSNUM | CO_PLAFKZ | CHAR | 1 | CHAR1 | ||||
PAMNG | Fixed quantity of scrap from production | AVMNG | QUAN | 13(3) | MENG13 | ||||
PSOBS | Special procurement type | SOBES | CHAR | 1 | SOBES | ||||
QUNUM | Number of Quota Arrangement | QUNUM | CHAR | 10 | ALPHA | QUNUM | |||
QUPOS | Quota Arrangement Item | QUPOS | NUMC | 3 | NUM03 | ||||
PLNUM | Planned order number | PLNUM | CHAR | 10 | Assigned to domain | ALPHA | PLNUM | PAF | |
STRMP | Start date of the planned order | CO_STRMP | DATS | 8 | DATUM | ||||
ETRMP | Opening date of the planned order | CO_ETRMP | DATS | 8 | DATUM | ||||
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 | ||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
WEMNG | Quantity of goods received for the order item | CO_WEMNG | QUAN | 13(3) | MENG13 | ||||
IAMNG | Expected surplus/deficit for goods receipt | CO_IAMNG | QUAN | 13(3) | MENG13V | ||||
PGMNG | Total planned order quantity | GSMNG | QUAN | 13(3) | MENG13 | ||||
TPAUF | Indicator: Partial conversion | TPAUF | CHAR | 1 | CHAR1 | TPA | |||
LTRMI | Actual delivery/finish date | CO_LTRMI | DATS | 8 | DATUM | ||||
LTRMP | Delivery date from planned order | CO_LTRMP | DATS | 8 | DATUM | ||||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
WEPOS | Goods Receipt Indicator | WEPOS | CHAR | 1 | XFELD | ||||
WEBAZ | Goods receipt processing time in days | PLWEZ | DEC | 3 | DEC3 | ||||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
DGLTP | Basic finish date | CO_GLTRP | DATS | 8 | DATUM | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
DGLTS | Scheduled finish | CO_GLTRS | DATS | 8 | DATUM | ||||
DFREI | Indicator: Order released/partially released (for MRP) | CO_FREI | CHAR | 1 | CHAR1 | ||||
DNREL | Indicator: Order item not relevant for MRP | CO_DNREL | CHAR | 1 | CHAR1 | ||||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
WEWRT | Value of goods received in local currency | WEWRT | CURR | 13(2) | WERT7 | ||||
WEUNB | Goods Receipt, Non-Valuated | WEUNB | CHAR | 1 | XFELD | ||||
WEAED | Indicator: Goods receipt indicator can be changed | CO_WEAE | CHAR | 1 | XFELD | ||||
PROJN | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | Assigned to domain | KNTTP | KNT | ||
ANZSN | Number of serial numbers | ANZSN | INT4 | 10 | INT4 | ||||
VFMNG | Committed quantity for order acc. to ATP check components | CO_VFMNG | QUAN | 13(3) | MENG13 |
Key field | Non-key field |
How do I retrieve data from SAP structure AFPO_CLEAR using ABAP code?
As AFPO_CLEAR 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 AFPO_CLEAR as there is no data to select.How to access SAP table AFPO_CLEAR
Within an ECC or HANA version of SAP you can also view further information about AFPO_CLEAR 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