AFPO_CLEAR SAP (AFPOB fields, that are are intialized for orders with ref.) Structure details

Dictionary Type: Structure
Description: AFPOB fields, that are are intialized for orders with ref.




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




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
VBKZUpdate indicator VBKZCHAR1VERBUCHER
FLG_SELSelection flag SELKZCHAR1SELKZ
AUFNR_TOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
FLG_CALCULIndicator: Order (network etc.) still to be calculated FLG_CALCCHAR1KREUZ
INSNCQuality inspection indicator cannot be changed INSNCCHAR1XFELD
USEQUQuota arrangement usage USEQUCHAR1TMQ2USEQU
FHWTXIndicator: Production memo exists CO_FHWTEXTCHAR1CO_FHWTEXT
SOPNRSOP order number SAFNRCHAR10SAFNR
KUNNRSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
NAME1Name 1 NAME1_GPCHAR35NAME
KWMENGCumulative Order Quantity in Sales Units KWMENGQUAN15(3) MENG15
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
BMENGConfirmed Quantity BMENGQUAN13(3) MENG13
VSMNGDelivered quantity in sales units VSMNGQUAN13(3) MENG13
KETDATRequested delivery date of the document KETDATCHAR10ETDAT
BDATUCommitted Date DAT05DATS8DATUM
STTXPSystem Status CO_STTXTCHAR40CHAR40
ORT01City ORT01_GPCHAR35TEXT35
VDATURequested delivery date EDATU_VBAKDATS8DATUM
PARBKCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
WPSMNGOrder item quantity CO_PSMNGQUAN13(3) MENG13
WMEINHUnit of measure for in-house production CO_AUFMEUNIT3Assigned to domainCUNITMEINS
KZWSOUnits of measure usage KZWSOCHAR1KZWSO
EDATUSchedule line date EDATUDATS8DATUM
SERCOMSingle-Character Indicator CHAR1CHAR1CHAR1
COMP_RESOCM: Result of comparison of two order objects OCM_COMP_RESCHAR1OCM_COMP_RES
NO_KALKPOSOrder item is not relevant to calculation NO_KALKPOSCHAR1XFELD
EXT_CONVERSIONIndicator: Convert planned order with RSNUM CO_PLAFKZCHAR1CHAR1
PAMNGFixed quantity of scrap from production AVMNGQUAN13(3) MENG13
PSOBSSpecial procurement type SOBESCHAR1SOBES
QUNUMNumber of Quota Arrangement QUNUMCHAR10ALPHAQUNUM
QUPOSQuota Arrangement Item QUPOSNUMC3NUM03
PLNUMPlanned order number PLNUMCHAR10Assigned to domainALPHAPLNUMPAF
STRMPStart date of the planned order CO_STRMPDATS8DATUM
ETRMPOpening date of the planned order CO_ETRMPDATS8DATUM
KDAUFSales order number CO_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSSales order item CO_KDPOSNUMC6Assigned to domainPOSNRAUP
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
WEMNGQuantity of goods received for the order item CO_WEMNGQUAN13(3) MENG13
IAMNGExpected surplus/deficit for goods receipt CO_IAMNGQUAN13(3) MENG13V
PGMNGTotal planned order quantity GSMNGQUAN13(3) MENG13
TPAUFIndicator: Partial conversion TPAUFCHAR1CHAR1TPA
LTRMIActual delivery/finish date CO_LTRMIDATS8DATUM
LTRMPDelivery date from planned order CO_LTRMPDATS8DATUM
KALNRCost Estimate Number for Cost Est. w/o Qty Structure CK_KALNRNUMC12Assigned to domainCK_KALNRKNR
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
WEBAZGoods receipt processing time in days PLWEZDEC3DEC3
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
SAFNRRun schedule header number SA_AUFNRCHAR12Assigned to domainALPHASA_AUFNR
DGLTPBasic finish date CO_GLTRPDATS8DATUM
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
DGLTSScheduled finish CO_GLTRSDATS8DATUM
DFREIIndicator: Order released/partially released (for MRP) CO_FREICHAR1CHAR1
DNRELIndicator: Order item not relevant for MRP CO_DNRELCHAR1CHAR1
KZVBRConsumption Posting KZVBRCHAR1KZVBR
WEWRTValue of goods received in local currency WEWRTCURR13(2) WERT7
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
WEAEDIndicator: Goods receipt indicator can be changed CO_WEAECHAR1XFELD
PROJNWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
KNTTPAccount Assignment Category KNTTPCHAR1Assigned to domainKNTTPKNT
ANZSNNumber of serial numbers ANZSNINT410INT4
VFMNGCommitted quantity for order acc. to ATP check components CO_VFMNGQUAN13(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 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!