EKESAPO 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 EKESAPO
Related tables to EKESAPO
Access table EKESAPO




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

EKESAPO 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_EKESAPO TYPE EKESAPO.

The EKESAPO 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), ETENS (Sequential Number of Vendor Confirmation), MATNR (Material 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 or numeric)


SAP EKESAPO 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
ETENSSequential Number of Vendor Confirmation ETENSNUMC4NUM04
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant EWERKCHAR4Assigned to domainWERKSWRK
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
MENGEQuantity as Per Vendor Confirmation BBMNGQUAN13(3) MENGE
MENGE_ORDQuantity as Per Vendor Confirmation BBMNGQUAN13(3) MENGE
MENGE_REDQuantity as Per Vendor Confirmation BBMNGQUAN13(3) MENGE
MEINSBase Unit of Measure LAGMEUNIT3Assigned to domainCUNITMEINS
LFDATDelivery Date of Vendor Confirmation BBEINDATS8DATUM
UZEITDelivery Date Time-Spot in Vendor Confirmation BBUZETIMS6UZEIT
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
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
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
INFO_ONLYElement Not Relevant for Requirements CIFINFOCHAR1XFELD
V_EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
V_EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
V_LOGSYLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
XBLNRReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_LONG
XBLNR_ACTReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_LONG
APOMSAPO as Planning System APOMSCHAR1APOMS
MENGE_GESQuantity as Per Vendor Confirmation BBMNGQUAN13(3) MENGE
MENGE_ACTQuantity as Per Vendor Confirmation BBMNGQUAN13(3) MENGE
VBELN_VLDelivery VBELN_VLCHAR10Assigned to domainALPHAVBELNVL
VBELP_VLDelivery Item POSNR_VLNUMC6Assigned to domainPOSNR
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
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
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
LIPS_POSNRDelivery Item POSNR_VLNUMC6Assigned to domainPOSNR
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
LBLKZSubcontracting vendor LBLKZCHAR1XFELD
IMWRKInbound Delivery has Status 'In Plant' MEAP_IMWRKCHAR1XFELD
EBTYPConfirmation Category EBTYPCHAR2Assigned to domainEBTYP
LAST_SN_DATEField of type DATS DATSDATS8DATS
LAST_SN_TIMEField of type TIMS TIMSTIMS6TIME
SUPPLIER_TCDIndicator that Supplier Cross-Docking is Active /SPE/CD_SUPPLIER_ACTIVECHAR1XFELD
RETFLGReturns Item RETPOCHAR1XFELD
INSMKStock Type INSMKCHAR1INSMK

Key field Non-key field



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

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

How to access SAP table EKESAPO

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