EKBEH SAP (Removed PO History Records) Table details
Dictionary Type: Table
Description: Removed PO History Records
Description: Removed PO History Records
Table field list including key, data, relationships and ABAP select examples
EKBEH is a standard SAP Table which is used to store Removed PO History Records data and is available within R/3 SAP systems depending on the version and release level.
The EKBEH table consists of various fields, each holding specific information or linking keys about Removed PO History Records data available in SAP. These include EBELN (Purchasing Document Number), EBELP (Item Number of Purchasing Document), ZEKKN (Sequential Number of Account Assignment), VGABE (Transaction/event type, purchase order history).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP EKBEH table 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 | ||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
VGABE | Transaction/event type, purchase order history | VGABE | CHAR | 1 | VGABE | ||||
GJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
BELNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
BUZEI | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
BEWTP | PO history category | BEWTP | CHAR | 1 | T163B | BEWTP | |||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | T156 | BWART | BWA | ||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
BPMNG | Quantity in purchase order price unit | MENGE_BPR | QUAN | 13(3) | MENG13 | ||||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
AREWR | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
WESBS | Goods Receipt Blocked Stock in Order Unit | WESBS | QUAN | 13(3) | MENG13 | ||||
BPWES | Quantity in GR blocked stock in order price unit | BPWES | QUAN | 13(3) | MENG13 | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
LFGJA | Fiscal Year of a Reference Document | LFBJA | NUMC | 4 | GJAHR | GJAHR | |||
LFBNR | Document No. of a Reference Document | LFBNR | CHAR | 10 | ALPHA | BELNR | |||
LFPOS | Item of a Reference Document | LFPOS | NUMC | 4 | MBLPO | ||||
GRUND | Reason for Movement | MB_GRBEW | NUMC | 4 | T157D | MB_GRBEW | |||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
REEWR | Invoice Value Entered (in Local Currency) | REEWR | CURR | 13(2) | WRTV7 | ||||
EVERE | Compliance with Shipping Instructions | EVERE | CHAR | 2 | T027C | EVERE | |||
REFWR | Invoice value in foreign currency | REFWR | CURR | 13(2) | WRTV7 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
XWSBR | Reversal of GR allowed for GR-based IV despite invoice | XWSBR | CHAR | 1 | XFELD | ||||
ETENS | Sequential Number of Vendor Confirmation | ETENS | NUMC | 4 | NUM04 | ||||
KNUMV | Number of the document condition | KNUMV | CHAR | 10 | KNUMV | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
LSMNG | Quantity in Unit of Measure from Delivery Note | LSMNG | QUAN | 13(3) | MENG13 | ||||
LSMEH | Unit of Measure From Delivery Note | LSMEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
EMATN | Material Number | EMATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
AREWW | Clearing value on GR/IR clearing account (transac. currency) | AREWW | CURR | 13(2) | WERT7 | ||||
HSWAE | Local currency key | HSWAE | CUKY | 5 | TCURC | WAERS | |||
BAMNG | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
XWOFF | Calculation of val. open | XWOFF | CHAR | 1 | XFELD | ||||
XUNPL | Unplanned Account Assignment from Invoice Verification | XUNPL | CHAR | 1 | XFELD | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
SRVPOS | Service number | SRVPOS | CHAR | 18 | Assigned to domain | ALPHA | ASNUM | ||
PACKNO | Package Number of Service | PACKNO_EKBE | NUMC | 10 | Assigned to domain | PACKNO | |||
INTROW | Line Number of Service | INTROW_EKBE | NUMC | 10 | INTROW | ||||
BEKKN | Number of PO Account Assignment | BEKKN | NUMC | 2 | NUM02 | ||||
LEMIN | Returns Indicator | SRVRET | CHAR | 1 | XFELD | ||||
AREWB | Clearing Value on GR/IR Account in PO Currency | AREWB | CURR | 13(2) | WERT7 | ||||
REWRB | Invoice Amount in PO Currency | REWRB | CURR | 13(2) | WERT7 | ||||
SAPRL | SAP Release | SAPRL | CHAR | 4 | SAPRL | ||||
MENGE_POP | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
BPMNG_POP | Quantity in purchase order price unit | MENGE_BPR | QUAN | 13(3) | MENG13 | ||||
DMBTR_POP | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
WRBTR_POP | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
WESBB | Valuated Goods Receipt Blocked Stock in Order Unit | WESBB | QUAN | 13(3) | MENG13 | ||||
BPWEB | Quantity in Valuated GR Blocked Stock in Order Price Unit | BPWEB | QUAN | 13(3) | MENG13 | ||||
WEORA | Acceptance At Origin | WEORA | CHAR | 1 | XFELD | ||||
AREWR_POP | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
KUDIF | Exchange Rate Difference Amount | KUDIF | CURR | 13(2) | WERT7 | ||||
RETAMT_FC | Retention Amount in Document Currency | RET_AMT_FC | CURR | 13(2) | WERT7 | ||||
RETAMT_LC | Retention Amount in Company Code Currency | RET_AMT_LC | CURR | 13(2) | WERT7 | ||||
RETAMTP_FC | Posted Retention Amount in Document Currency | RET_AMT_POST_FC | CURR | 13(2) | WERT7 | ||||
RETAMTP_LC | Posted Security Retention Amount in Company Code Currency | RET_AMT_POST_LC | CURR | 13(2) | WERT7 | ||||
XMACC | Multiple Account Assignment | XMACC | CHAR | 1 | CHAR1 | ||||
WKURS | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
INV_ITEM_ORIGIN | Origin of an Invoice Item | INV_ITM_ORIGIN | CHAR | 1 | INV_ITM_ORIGIN | ||||
VBELN_ST | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL | |
VBELP_ST | Delivery Item | POSNR_VL | NUMC | 6 | Assigned to domain | POSNR | |||
ET_UPD | Procedure for Updating the Schedule Line Quantity | ET_UPD1 | CHAR | 1 | ET_UPD1 | ||||
.INCLU--AP | 0 | ||||||||
J_SC_DIE_COMP_F | Depreciation completion flag | /SAPNEA/J_SC_DIE_COMP_F | CHAR | 1 | /SAPNEA/J_SC_DIE_COMP_F | ||||
.INCLU--AP | 0 | ||||||||
QTY_DIFF | Quantity | MENGE_QTYDIFF | QUAN | 13(3) | MENG13 |
Key field | Non-key field |
How do I retrieve data from SAP table EKBEH using ABAP code
The following ABAP code Example will allow you to do a basic selection on EKBEH to SELECT all data from the tableDATA: WA_EKBEH TYPE EKBEH.
SELECT SINGLE *
FROM EKBEH
INTO CORRESPONDING FIELDS OF WA_EKBEH
WHERE...
How to access SAP table EKBEH
Within an ECC or HANA version of SAP you can also view further information about EKBEH 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