BAPIMEPOHEADER SAP (Purchase Order Header Data) Structure details

Dictionary Type: Structure
Description: Purchase Order Header Data




ABAP Code to SELECT data from BAPIMEPOHEADER
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_NUMBERPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
DOC_TYPEPurchasing Document Type ESARTCHAR4Assigned to domainBSARTBSA
DELETE_INDDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
STATUSStatus of Purchasing Document ESTAKCHAR1ESTAK
CREAT_DATEDate on Which Record Was Created ERDATDATS8DATUM
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
ITEM_INTVLItem Number Interval PINCRNUMC5PINCR
VENDORVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
LANGULanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002
LANGU_ISOISO code for language key SPRAS_ISOCHAR2LAISO
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DSCNT1_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCNT2_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCNT3_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCT_PCT1Cash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
DSCT_PCT2Cash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
PURCH_ORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
PUR_GROUPPurchasing Group BKGRPCHAR3Assigned to domainEKGRPEKG
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CURRENCY_ISOISO code currency WAERS_ISOCHAR3ISOCD
EXCH_RATEExchange Rate WKURSDEC9(5) EXCRTKURSP
EX_RATE_FXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
DOC_DATEPurchasing Document Date EBDATDATS8DATUM
VPER_STARTStart of Validity Period KDATBDATS8DATUM
VPER_ENDEnd of Validity Period KDATEDATS8DATUM
WARRANTYWarranty Date MM_GWLDTDATS8DATUM
QUOTATIONQuotation Number ANGNRCHAR10ANGNR
QUOT_DATEQuotation Submission Date IHRANDATS8DATUM
REF_1Your Reference IHREZCHAR12TEXT12
SALES_PERSResponsible Salesperson at Vendor's Office EVERKCHAR30TEXT30
TELEPHONEVendor's Telephone Number TELF0CHAR16TEXT16
SUPPL_VENDSupplying Vendor LLIEFCHAR10Assigned to domainALPHALIFNRLLI
CUSTOMERCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
AGREEMENTNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
GR_MESSAGEIndicator: Goods Receipt Message WEAKTCHAR1XFELD
SUPPL_PLNTSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
INCOTERMS1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
COLLECT_NOCollective Number SUBMICHAR10CHAR10
DIFF_INVDifferent Invoicing Party LIFRECHAR10Assigned to domainALPHALIFNRLRE
OUR_REFOur Reference UNSEZCHAR12TEXT12
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
SUBITEMINTItem Number Interval for Subitems UPINCNUMC5PINCR
PO_REL_INDRelease Indicator: Purchasing Document FRGKECHAR1T16FBFRGKE
REL_STATUSRelease status FRGZUCHAR8FRGZU
VAT_CNTRYCountry of Sales Tax ID Number STCEG_LCHAR3Assigned to domainLAND1LND
VAT_CNTRY_ISOISO country code for VAT registration number STCEG_L_ISOCHAR2INTCA
REASON_CANCELReason for Cancellation ABSGRNUMC2T165RNUMC02
REASON_CODEGoods Receipt Reason Code /SAPPSPRO/_GR_REASON_CODECHAR4/SAPPSPRO/_GR_REASON_CODE
RETENTION_TYPERetention Indicator RETTPCHAR1RET_TYPE
RETENTION_PERCENTAGERetention in Percent RETPZDEC5(2) PRZ32
DOWNPAY_TYPEDown Payment Indicator ME_DPTYPCHAR4ME_DPTYPE_DOMAIN
DOWNPAY_AMOUNTDown Payment Amount in BAPI BAPIMEDOWNPAYDEC23(4) BAPICURR
DOWNPAY_PERCENTDown Payment Percentage ME_DPPCNTDEC5(2) PRZ32
DOWNPAY_DUEDATEDue Date for Down Payment ME_DPDDATDATS8DATS
MEMORYPurchase order not yet complete MEMERCHAR1XFELD
MEMORYTYPECategory of Incompleteness MEMORYTYPECHAR1MM_MEMORYTYPE
SHIPTYPEShipping type VERSARTCHAR2Assigned to domainVERSART
HANDOVERLOCLocation for a physical handover of goods HANDOVER_LOCCHAR10ALPHAHANDOVER_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 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!