BAPIEKBE SAP (Transfer Structure for PO History) Structure details
Description: Transfer Structure for PO History
Structure field list including key, data, relationships and ABAP select examples
BAPIEKBE 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 "Transfer Structure for PO History" 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_BAPIEKBE TYPE BAPIEKBE.
The BAPIEKBE table consists of various fields, each holding specific information or linking keys about Transfer Structure for PO History data available in SAP. These include SERIAL_NO (Sequential Number of Account Assignment), PROCESS_ID (Transaction/event type, purchase order history), DOC_YEAR (Material Document Year), MAT_DOC (Number of Material Document).. 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 BAPIEKBE 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 |
PO_ITEM | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
SERIAL_NO | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
PROCESS_ID | Transaction/event type, purchase order history | VGABE | CHAR | 1 | VGABE | ||||
DOC_YEAR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
MAT_DOC | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MATDOC_ITM | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
HIST_TYPE | PO history category | BEWTP | CHAR | 1 | T163B | BEWTP | |||
MOVE_TYPE | Movement Type (Inventory Management) | BWART | CHAR | 3 | T156 | BWART | BWA | ||
PSTNG_DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
QUANTITY | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
VAL_LOCCUR | Amount in local currency | VAL_LOCCURR | DEC | 23(4) | BAPICURR | ||||
VAL_FORCUR | Amount in document currency | VAL_FORCURR | DEC | 23(4) | BAPICURR | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
CL_VAL_LOC | GR/IR account clearing value in local currency | CLEAR_VAL | DEC | 23(4) | BAPICURR | ||||
BLOCKED_QY | Goods Receipt Blocked Stock in Order Unit | WESBS | QUAN | 13(3) | MENG13 | ||||
BL_QTY | Quantity in GR blocked stock in order price unit | BPWES | QUAN | 13(3) | MENG13 | ||||
DB_CR_IND | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
VAL_TYPE | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
NO_MORE_GR | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
REF_DOC_NO | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
REF_DOC_YR | Fiscal Year of a Reference Document | LFBJA | NUMC | 4 | GJAHR | GJAHR | |||
REF_DOC | Document No. of a Reference Document | LFBNR | CHAR | 10 | ALPHA | BELNR | |||
REF_DOC_IT | Item of a Reference Document | LFPOS | NUMC | 4 | MBLPO | ||||
MOVE_REAS | Reason for Movement | MB_GRBEW | NUMC | 4 | T157D | MB_GRBEW | |||
ENTRY_DATE | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
ENTRY_TIME | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
IVVAL_LOC | Entered invoice value in local currency | IVVAL_LOC | DEC | 23(4) | BAPICURR | ||||
IVVAL_FOR | Entered invoice value in foreign currency | IVVAL_FOR | DEC | 23(4) | BAPICURR | ||||
MATERIAL | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
PLANT | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
CONF_SER | Sequential Number of Vendor Confirmation | ETENS | NUMC | 4 | NUM04 | ||||
CONDITION | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
DELIV_QTY | Quantity in Unit of Measure from Delivery Note | LSMNG | QUAN | 13(3) | MENG13 | ||||
DELIV_UNIT | Unit of Measure From Delivery Note | LSMEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
PUR_MAT | Material Number | EMATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
LOC_CURR | Local currency key | HSWAE | CUKY | 5 | TCURC | WAERS | |||
BATCH | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
CURRENCY_ISO | ISO Currency Code | BAPIISOCD | CHAR | 3 | ISOCD | ||||
LOC_CURR_ISO | ISO code for local currency | LOC_CURR_ISO | CHAR | 3 | ISOCD | ||||
DELIV_UNIT_ISO | ISO code for unit of measure of delivery note | DELIV_UNIT_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
PUR_MAT_EXTERNAL | Long Material Number for PUR_MAT Field | MGV_PUR_MAT_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
PUR_MAT_GUID | External GUID for PUR_MAT Field | MGV_PUR_MAT_GUID | CHAR | 32 | MATNR_EGUID | ||||
PUR_MAT_VERSION | Version Number for PUR_MAT Field | MGV_PUR_MAT_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
REF_DOC_NO_LONG | Reference Document Number (for Dependencies see Long Text) | XBLNR_LONG | CHAR | 35 | XBLNR_LONG |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIEKBE using ABAP code?
As BAPIEKBE 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 BAPIEKBE as there is no data to select.How to access SAP table BAPIEKBE
Within an ECC or HANA version of SAP you can also view further information about BAPIEKBE 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