EKESAPO SAP (Interface Structure for Purchasing Documents -> APO) Structure details
Description: Interface Structure for Purchasing Documents -> APO
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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
ETENS | Sequential Number of Vendor Confirmation | ETENS | NUMC | 4 | NUM04 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | EWERK | CHAR | 4 | Assigned to domain | WERKS | WRK | ||
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
MENGE | Quantity as Per Vendor Confirmation | BBMNG | QUAN | 13(3) | MENGE | ||||
MENGE_ORD | Quantity as Per Vendor Confirmation | BBMNG | QUAN | 13(3) | MENGE | ||||
MENGE_RED | Quantity as Per Vendor Confirmation | BBMNG | QUAN | 13(3) | MENGE | ||||
MEINS | Base Unit of Measure | LAGME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LFDAT | Delivery Date of Vendor Confirmation | BBEIN | DATS | 8 | DATUM | ||||
UZEIT | Delivery Date Time-Spot in Vendor Confirmation | BBUZE | TIMS | 6 | UZEIT | ||||
WEBAZ | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
RESWK | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SOBLF | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VBELP | Sales Document Item | POSNR_VA | NUMC | 6 | Assigned to domain | POSNR | APO | ||
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
PLUMI | Receipt/issue indicator | PLUMI | CHAR | 1 | CHAR1 | ||||
LOEKZ | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
INFO_ONLY | Element Not Relevant for Requirements | CIFINFO | CHAR | 1 | XFELD | ||||
V_EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
V_EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
V_LOGSY | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
XBLNR | Reference Document Number (for Dependencies see Long Text) | XBLNR_LONG | CHAR | 35 | XBLNR_LONG | ||||
XBLNR_ACT | Reference Document Number (for Dependencies see Long Text) | XBLNR_LONG | CHAR | 35 | XBLNR_LONG | ||||
APOMS | APO as Planning System | APOMS | CHAR | 1 | APOMS | ||||
MENGE_GES | Quantity as Per Vendor Confirmation | BBMNG | QUAN | 13(3) | MENGE | ||||
MENGE_ACT | Quantity as Per Vendor Confirmation | BBMNG | QUAN | 13(3) | MENGE | ||||
VBELN_VL | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL | |
VBELP_VL | Delivery Item | POSNR_VL | NUMC | 6 | Assigned to domain | POSNR | |||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
KONNR | Number of Principal Purchase Agreement | KONNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | KTR | |
KTPNR | Item Number of Principal Purchase Agreement | KTPNR | NUMC | 5 | Assigned to domain | EBELP | |||
INFNR | Number of Purchasing Info Record | INFNR | CHAR | 10 | Assigned to domain | ALPHA | INFNR | INF | MEIN_C |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
CUOBJ | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
LIPS_POSNR | Delivery Item | POSNR_VL | NUMC | 6 | Assigned to domain | POSNR | |||
EMLIF | Vendor to be supplied/who is to receive delivery | EMLIF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
LBLKZ | Subcontracting vendor | LBLKZ | CHAR | 1 | XFELD | ||||
IMWRK | Inbound Delivery has Status 'In Plant' | MEAP_IMWRK | CHAR | 1 | XFELD | ||||
EBTYP | Confirmation Category | EBTYP | CHAR | 2 | Assigned to domain | EBTYP | |||
LAST_SN_DATE | Field of type DATS | DATS | DATS | 8 | DATS | ||||
LAST_SN_TIME | Field of type TIMS | TIMS | TIMS | 6 | TIME | ||||
SUPPLIER_TCD | Indicator that Supplier Cross-Docking is Active | /SPE/CD_SUPPLIER_ACTIVE | CHAR | 1 | XFELD | ||||
RETFLG | Returns Item | RETPO | CHAR | 1 | XFELD | ||||
INSMK | Stock Type | INSMK | CHAR | 1 | INSMK |
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 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