BAPIMEPOHEADER SAP (Purchase Order Header Data) Structure details
Description: Purchase Order Header Data
Related tables to BAPIMEPOHEADER
Access table BAPIMEPOHEADER
Structure field list including key, data, relationships and ABAP select examples
BAPIMEPOHEADER 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 "Purchase Order Header Data" 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_BAPIMEPOHEADER TYPE BAPIMEPOHEADER.
The BAPIMEPOHEADER table consists of various fields, each holding specific information or linking keys about Purchase Order Header Data data available in SAP. These include COMP_CODE (Company Code), DOC_TYPE (Purchasing Document Type), DELETE_IND (Deletion Indicator in Purchasing Document), STATUS (Status of Purchasing 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 BAPIMEPOHEADER 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_NUMBER | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
DOC_TYPE | Purchasing Document Type | ESART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
DELETE_IND | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
STATUS | Status of Purchasing Document | ESTAK | CHAR | 1 | ESTAK | ||||
CREAT_DATE | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ITEM_INTVL | Item Number Interval | PINCR | NUMC | 5 | PINCR | ||||
VENDOR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
LANGU | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
LANGU_ISO | ISO code for language key | SPRAS_ISO | CHAR | 2 | LAISO | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
DSCNT1_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCNT2_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCNT3_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCT_PCT1 | Cash Discount Percentage 1 | DZBD1P | DEC | 5(3) | PRZ23 | ||||
DSCT_PCT2 | Cash Discount Percentage 2 | DZBD2P | DEC | 5(3) | PRZ23 | ||||
PURCH_ORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
PUR_GROUP | Purchasing Group | BKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
CURRENCY_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
EXCH_RATE | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
EX_RATE_FX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
DOC_DATE | Purchasing Document Date | EBDAT | DATS | 8 | DATUM | ||||
VPER_START | Start of Validity Period | KDATB | DATS | 8 | DATUM | ||||
VPER_END | End of Validity Period | KDATE | DATS | 8 | DATUM | ||||
WARRANTY | Warranty Date | MM_GWLDT | DATS | 8 | DATUM | ||||
QUOTATION | Quotation Number | ANGNR | CHAR | 10 | ANGNR | ||||
QUOT_DATE | Quotation Submission Date | IHRAN | DATS | 8 | DATUM | ||||
REF_1 | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
SALES_PERS | Responsible Salesperson at Vendor's Office | EVERK | CHAR | 30 | TEXT30 | ||||
TELEPHONE | Vendor's Telephone Number | TELF0 | CHAR | 16 | TEXT16 | ||||
SUPPL_VEND | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI | |
CUSTOMER | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
AGREEMENT | Number of Principal Purchase Agreement | KONNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | KTR | |
GR_MESSAGE | Indicator: Goods Receipt Message | WEAKT | CHAR | 1 | XFELD | ||||
SUPPL_PLNT | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
COLLECT_NO | Collective Number | SUBMI | CHAR | 10 | CHAR10 | ||||
DIFF_INV | Different Invoicing Party | LIFRE | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LRE | |
OUR_REF | Our Reference | UNSEZ | CHAR | 12 | TEXT12 | ||||
LOGSYSTEM | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
SUBITEMINT | Item Number Interval for Subitems | UPINC | NUMC | 5 | PINCR | ||||
PO_REL_IND | Release Indicator: Purchasing Document | FRGKE | CHAR | 1 | T16FB | FRGKE | |||
REL_STATUS | Release status | FRGZU | CHAR | 8 | FRGZU | ||||
VAT_CNTRY | Country of Sales Tax ID Number | STCEG_L | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
VAT_CNTRY_ISO | ISO country code for VAT registration number | STCEG_L_ISO | CHAR | 2 | INTCA | ||||
REASON_CANCEL | Reason for Cancellation | ABSGR | NUMC | 2 | T165R | NUMC02 | |||
REASON_CODE | Goods Receipt Reason Code | /SAPPSPRO/_GR_REASON_CODE | CHAR | 4 | /SAPPSPRO/_GR_REASON_CODE | ||||
RETENTION_TYPE | Retention Indicator | RETTP | CHAR | 1 | RET_TYPE | ||||
RETENTION_PERCENTAGE | Retention in Percent | RETPZ | DEC | 5(2) | PRZ32 | ||||
DOWNPAY_TYPE | Down Payment Indicator | ME_DPTYP | CHAR | 4 | ME_DPTYPE_DOMAIN | ||||
DOWNPAY_AMOUNT | Down Payment Amount in BAPI | BAPIMEDOWNPAY | DEC | 23(4) | BAPICURR | ||||
DOWNPAY_PERCENT | Down Payment Percentage | ME_DPPCNT | DEC | 5(2) | PRZ32 | ||||
DOWNPAY_DUEDATE | Due Date for Down Payment | ME_DPDDAT | DATS | 8 | DATS | ||||
MEMORY | Purchase order not yet complete | MEMER | CHAR | 1 | XFELD | ||||
MEMORYTYPE | Category of Incompleteness | MEMORYTYPE | CHAR | 1 | MM_MEMORYTYPE | ||||
SHIPTYPE | Shipping type | VERSART | CHAR | 2 | Assigned to domain | VERSART | |||
HANDOVERLOC | Location for a physical handover of goods | HANDOVER_LOC | CHAR | 10 | ALPHA | HANDOVER_LOC |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIMEPOHEADER using ABAP code?
As BAPIMEPOHEADER 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 BAPIMEPOHEADER as there is no data to select.How to access SAP table BAPIMEPOHEADER
Within an ECC or HANA version of SAP you can also view further information about BAPIMEPOHEADER 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