BAPIEKBE SAP (Transfer Structure for PO History) Structure details

Dictionary Type: Structure
Description: Transfer Structure for PO History




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




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_ITEMItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
SERIAL_NOSequential Number of Account Assignment DZEKKNNUMC2NUM02
PROCESS_IDTransaction/event type, purchase order history VGABECHAR1VGABE
DOC_YEARMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
MAT_DOCNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MATDOC_ITMItem in Material Document MBLPONUMC4MBLPOPOS
HIST_TYPEPO history category BEWTPCHAR1T163BBEWTP
MOVE_TYPEMovement Type (Inventory Management) BWARTCHAR3T156BWARTBWA
PSTNG_DATEPosting Date in the Document BUDATDATS8DATUM
QUANTITYQuantity MENGE_DQUAN13(3) MENG13
VAL_LOCCURAmount in local currency VAL_LOCCURRDEC23(4) BAPICURR
VAL_FORCURAmount in document currency VAL_FORCURRDEC23(4) BAPICURR
CURRENCYCurrency Key WAERSCUKY5TCURCWAERSFWS
CL_VAL_LOCGR/IR account clearing value in local currency CLEAR_VALDEC23(4) BAPICURR
BLOCKED_QYGoods Receipt Blocked Stock in Order Unit WESBSQUAN13(3) MENG13
BL_QTYQuantity in GR blocked stock in order price unit BPWESQUAN13(3) MENG13
DB_CR_INDDebit/Credit Indicator SHKZGCHAR1SHKZG
VAL_TYPEValuation Type BWTAR_DCHAR10T149DBWTARBWT
NO_MORE_GR'Delivery Completed' Indicator ELIKZCHAR1XFELD
REF_DOC_NOReference Document Number XBLNRCHAR16XBLNR
REF_DOC_YRFiscal Year of a Reference Document LFBJANUMC4GJAHRGJAHR
REF_DOCDocument No. of a Reference Document LFBNRCHAR10ALPHABELNR
REF_DOC_ITItem of a Reference Document LFPOSNUMC4MBLPO
MOVE_REASReason for Movement MB_GRBEWNUMC4T157DMB_GRBEW
ENTRY_DATEDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
ENTRY_TIMETime of Entry CPUTMTIMS6UZEIT
IVVAL_LOCEntered invoice value in local currency IVVAL_LOCDEC23(4) BAPICURR
IVVAL_FOREntered invoice value in foreign currency IVVAL_FORDEC23(4) BAPICURR
MATERIALMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
PLANTPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
CONF_SERSequential Number of Vendor Confirmation ETENSNUMC4NUM04
CONDITIONNumber of the document condition KNUMVCHAR10KNUMV
TAX_CODETax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
DELIV_QTYQuantity in Unit of Measure from Delivery Note LSMNGQUAN13(3) MENG13
DELIV_UNITUnit of Measure From Delivery Note LSMEHUNIT3T006CUNITMEINS
PUR_MATMaterial Number EMATNRCHAR18Assigned to domainMATN1MATNRMAT
LOC_CURRLocal currency key HSWAECUKY5TCURCWAERS
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
DOC_DATEDocument Date in Document BLDATDATS8DATUM
CURRENCY_ISOISO Currency Code BAPIISOCDCHAR3ISOCD
LOC_CURR_ISOISO code for local currency LOC_CURR_ISOCHAR3ISOCD
DELIV_UNIT_ISOISO code for unit of measure of delivery note DELIV_UNIT_ISOCHAR3T006IISOCD_UNIT
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS
PUR_MAT_EXTERNALLong Material Number for PUR_MAT Field MGV_PUR_MAT_EXTERNALCHAR40MATNR_EXT
PUR_MAT_GUIDExternal GUID for PUR_MAT Field MGV_PUR_MAT_GUIDCHAR32MATNR_EGUID
PUR_MAT_VERSIONVersion Number for PUR_MAT Field MGV_PUR_MAT_VERSIONCHAR10MATNWMATNR_VERS
REF_DOC_NO_LONGReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_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 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!