EKPOAPO SAP (Interface Structure for Purchasing Documents -> APO) Structure details

Dictionary Type: Structure
Description: Interface Structure for Purchasing Documents -> APO




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




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

EKPOAPO 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 "Interface Structure for Purchasing Documents -> APO" 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_EKPOAPO TYPE EKPOAPO.

The EKPOAPO table consists of various fields, each holding specific information or linking keys about Interface Structure for Purchasing Documents -> APO data available in SAP. These include EBELN (Purchasing Document Number), EBELP (Item Number of Purchasing Document), ETENR (Delivery Schedule Line Counter), BSTYP (Purchasing Document Category).. 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: Cannot Be Enhanced


SAP EKPOAPO 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
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
ETENRDelivery Schedule Line Counter EETENNUMC4Assigned to domainEETEN
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
FIXKZSchedule Line is 'Fixed' ETFIXCHAR1XFELD
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant EWERKCHAR4Assigned to domainWERKSWRK
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
MENGEScheduled Quantity ETMENQUAN13(3) MENGE
MENGE_ORDScheduled Quantity ETMENQUAN13(3) MENGE
MENGE_REDScheduled Quantity ETMENQUAN13(3) MENGE
MEINSBase Unit of Measure LAGMEUNIT3Assigned to domainCUNITMEINS
LFDATItem Delivery Date EINDTDATS8DATUM
UZEITDelivery Date Time-Spot LZEITTIMS6UZEIT
WEBAZGoods Receipt Processing Time in Days WEBAZDEC3DEC3
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
SOBLFVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
VBELPSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
PLUMIReceipt/issue indicator PLUMICHAR1CHAR1
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
KONNRNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
INFNRNumber of Purchasing Info Record INFNRCHAR10Assigned to domainALPHAINFNRINFMEIN_C
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
LOGSYLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
BANFNPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
BNFPOItem Number of Purchase Requisition BNFPONUMC5Assigned to domainBNFPOBAP
MNG02Committed Quantity MNG06QUAN13(3) MENGV13
PAR_POSNRItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
PHANTOMFLGCheckbox XFELDCHAR1XFELD
RETPOReturns Item RETPOCHAR1XFELD
INFO_ONLYElement Not Relevant for Requirements CIFINFOCHAR1XFELD
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLKNBOM item node number STLKNNUMC8KNTNR
STPOZInternal counter CIM_COUNTNUMC8CIM_COUNT
STVKNInherited node number of BOM item STVKNNUMC8KNTNR
LOGCOMPLogical Component CIFLOGCOMPCHAR40CIFLOGCOMP
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
MATWRK_CHCheckbox XFELDCHAR1XFELD
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
LBLKZSubcontracting vendor LBLKZCHAR1XFELD
POSGUIDGeneric Data Element for GUID Fields (C22) CIFGUID22CHAR22CIFGUID22
EKGRPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
LPRIODelivery Priority LPRIONUMC2Assigned to domainLPRIO
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
ALLOC_QUANScheduled Quantity ETMENQUAN13(3) MENGE
BOPSTATUSProcessing Status BOP/APO Product Allocation Update CIFBOPSTATCHAR1CIFBOPSTAT
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
WAMNGScheduled Quantity ETMENQUAN13(3) MENGE
UPVORSubitems Exist UPVORCHAR1CHAR1
UPTYPSubitem Category, Purchasing Document UPTYPCHAR1Assigned to domainUPTYP
ADVCODEVersion Number Component CHAR2CHAR2CHAR2
PRIO_REQRequirement Priority PRIO_REQNUMC3Assigned to domainPRIO_REQ
WADATGoods Issue Date WADATDATS8DATUM
WAUHRTime of Goods Issue (Local, Relating to a Plant) WAUHRTIMS6TIME_PLANT
MBDATMaterial Staging/Availability Date MBDATDATS8DATUM
MBUHRMaterial Staging Time (Local, Relating to a Plant) MBUHRTIMS6TIME_PLANT
ELDATGoods Receipt End Date ELDATDATS8ELDAT
ELUHRGoods Receipt End Time (Local, Relating to a Plant) ELUHRTIMS6ELUHR
BSARTPurchase Requisition Document Type BBSRTCHAR4Assigned to domainBSARTBBA
NO_SUBSTCheckbox XFELDCHAR1XFELD
PROCESS_TYPE2 byte integer (signed) INT2INT25INT2
SCHED_BWLPROCESSSingle-Character Indicator CHAR1CHAR1CHAR1
PARENT_POSGUIDGeneric Data Element for GUID Fields (C22) CIFGUID22CHAR22CIFGUID22
UEBPO5 Character Numeric NUMC NUMC5NUMC5NUM5
REQPRFATP: Profile at Requirements Level for APO CIFREQPRFCHAR6CHAR6
RESMODSingle-Character Indicator CHAR1CHAR1CHAR1
ORDIDGeneric Data Element for GUID Fields (C22) CIFGUID22CHAR22CIFGUID22
SCHEDIDGeneric Data Element for GUID Fields (C22) CIFGUID22CHAR22CIFGUID22
PRREGChecking Rule for Availability Check PRREGCHAR2Assigned to domainPRREGPRR
VSTELShipping Point/Receiving Point VSTELCHAR4Assigned to domainVSTELVST
VSBEDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
SHLF_MINMinimum remaining shelf life in seconds SHLF_MININT410CIFTIMEDIF
NO_REQFlag - No requirements in SCM CIF_NO_REQCHAR1BAPIUPDATE
GEO_ROUTEDescription of a Geographical Route /SPE/DE_ROUTE_IDCHAR10CHAR10
ROUTE_GTSRoute Code for SAP Global Trade Services /SPE/DE_ROUTE_GTS_CODECHAR10CHAR10
GTS_INDGoods Traffic Type /SPE/DE_LEG_GTS_CODECHAR2CHAR2
TSPForwarding agent SPDNRCHAR10Assigned to domainALPHALIFNR
CD_LOCNOLocation number in APO APOLOCNOCHAR20APOLOCNO
CD_LOCTYPEAPO location type APOLOCTYPECHAR4APOLOCTYPE
CIF_PROCCIF Process indicator CIF_PROCESSCHAR1CIF_PROCESS
INSMKStock Type INSMKCHAR1INSMK
FIXMGDelivery Date and Quantity Fixed ME_FIXMGCHAR1ME_FIXMG
KZDISIndicator: Confirmation is Relevant to Materials Planning KZDISCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table EKPOAPO

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