SAP Table BAPIMEPOHEADER

Purchase Order Header Data

BAPIMEPOHEADER (Purchase Order Header Data) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link BAPIMEPOHEADER to other SAP tables.

BAPIMEPOHEADER table fields

Field Data element Checktable Datatype Length Decimals
PO_NUMBER Purchasing Document Number EBELN CHAR 10 0
COMP_CODE Company Code BUKRS CHAR 4 0
DOC_TYPE Purchasing Document Type ESART CHAR 4 0
DELETE_IND Deletion Indicator in Purchasing Document ELOEK CHAR 1 0
STATUS Status of Purchasing Document ESTAK CHAR 1 0
A RFQ with Quotation
B Purchase Order from Automatic Conversion of Requisitions
C Purchase Order from Goods Receipt
D Purchase Order from Data Transfer
E Purchase Order from Allocation Table
F Purchase Order from Kanban
G Purchase Order from Store Order
H Purchase Order from DRP
I Purchase Order from BAPI
J Purchase Order from ALE Scenario
L Scheduling Agreement from CRM
S Collective Purchase Order
X Purchase Order Created via Function Module
1 Purchase Order from APO
9 Enjoy Purchase Order
K Purchase Order from BBP
2 Third-Party Order from CRM
3 Returns Order from Incorrect Delivery
M Purchasing Document from E-Sourcing
4 Subsequent Stock Transport Order for Additional Item
5 Incorrect Item Returns from Stock Transport Orders
T Purchase Order from Transportation Management
W Purchase Order Ignored for Collective Delivery Run
CREAT_DATE Date on Which Record Was Created ERDAT DATS 8 0
CREATED_BY Name of Person who Created the Object ERNAM CHAR 12 0
ITEM_INTVL Item Number Interval PINCR NUMC 5 0
VENDOR Vendor Account Number ELIFN CHAR 10 0
LANGU Language Key SPRAS LANG 1 0
LANGU_ISO ISO code for language key SPRAS_ISO CHAR 2 0
PMNTTRMS Terms of Payment Key DZTERM CHAR 4 0
DSCNT1_TO Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
DSCNT2_TO Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
DSCNT3_TO Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
DSCT_PCT1 Cash Discount Percentage 1 DZBD1P DEC 5 3
DSCT_PCT2 Cash Discount Percentage 2 DZBD2P DEC 5 3
PURCH_ORG Purchasing Organization EKORG CHAR 4 0
PUR_GROUP Purchasing Group BKGRP CHAR 3 0
CURRENCY Currency Key WAERS CUKY 5 0
CURRENCY_ISO ISO code currency WAERS_ISO CHAR 3 0
EXCH_RATE Exchange Rate WKURS DEC 9 5
EX_RATE_FX Indicator: Fixing of Exchange Rate KUFIX CHAR 1 0
X Yes
NULL No
DOC_DATE Purchasing Document Date EBDAT DATS 8 0
VPER_START Start of Validity Period KDATB DATS 8 0
VPER_END End of Validity Period KDATE DATS 8 0
WARRANTY Warranty Date MM_GWLDT DATS 8 0
QUOTATION Quotation Number ANGNR CHAR 10 0
QUOT_DATE Quotation Submission Date IHRAN DATS 8 0
REF_1 Your Reference IHREZ CHAR 12 0
SALES_PERS Responsible Salesperson at Vendor's Office EVERK CHAR 30 0
TELEPHONE Vendor's Telephone Number TELF0 CHAR 16 0
SUPPL_VEND Supplying Vendor LLIEF CHAR 10 0
CUSTOMER Customer Number KUNNR CHAR 10 0
AGREEMENT Number of Principal Purchase Agreement KONNR CHAR 10 0
GR_MESSAGE Indicator: Goods Receipt Message WEAKT CHAR 1 0
X Yes
NULL No
SUPPL_PLNT Supplying (Issuing) Plant in Stock Transport Order RESWK CHAR 4 0
INCOTERMS1 Incoterms (Part 1) INCO1 CHAR 3 0
INCOTERMS2 Incoterms (Part 2) INCO2 CHAR 28 0
COLLECT_NO Collective Number SUBMI CHAR 10 0
DIFF_INV Different Invoicing Party LIFRE CHAR 10 0
OUR_REF Our Reference UNSEZ CHAR 12 0
LOGSYSTEM Logical System LOGSYSTEM CHAR 10 0
SUBITEMINT Item Number Interval for Subitems UPINC NUMC 5 0
PO_REL_IND Release Indicator: Purchasing Document FRGKE T16FB CHAR 1 0
REL_STATUS Release status FRGZU CHAR 8 0
VAT_CNTRY Country of Sales Tax ID Number STCEG_L CHAR 3 0
VAT_CNTRY_ISO ISO country code for VAT registration number STCEG_L_ISO CHAR 2 0
REASON_CANCEL Reason for Cancellation ABSGR T165R NUMC 2 0
REASON_CODE Goods Receipt Reason Code /SAPPSPRO/_GR_REASON_CODE CHAR 4 0
RETENTION_TYPE Retention Indicator RETTP CHAR 1 0
NULL Not Applicable
H Applicable (Header Level)
I Applicable (Item Level)
B Secured by Bond
RETENTION_PERCENTAGE Retention in Percent RETPZ DEC 5 2
DOWNPAY_TYPE Down Payment Indicator ME_DPTYP CHAR 4 0
DOWNPAY_AMOUNT Down Payment Amount in BAPI BAPIMEDOWNPAY DEC 23 4
DOWNPAY_PERCENT Down Payment Percentage ME_DPPCNT DEC 5 2
DOWNPAY_DUEDATE Due Date for Down Payment ME_DPDDAT DATS 8 0
MEMORY Purchase order not yet complete MEMER CHAR 1 0
X Yes
NULL No
MEMORYTYPE Category of Incompleteness MEMORYTYPE CHAR 1 0
NULL Document Saved as Complete
P Document Parked
H Document on Hold
SHIPTYPE Shipping type VERSART CHAR 2 0
HANDOVERLOC Location for a physical handover of goods HANDOVER_LOC CHAR 10 0

BAPIMEPOHEADER foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
BAPIMEPOHEADER PO_REL_IND BAPIMEPOHEADER PO_REL_IND T16FB Release Indicator: Purchasing Document FRGKE
BAPIMEPOHEADER PO_REL_IND SYST MANDT T16FB Release Indicator: Purchasing Document MANDT
BAPIMEPOHEADER REASON_CANCEL SYST MANDT T165R Reason for Cancellation MANDT
BAPIMEPOHEADER REASON_CANCEL BAPIMEPOHEADER REASON_CANCEL T165R Reason for Cancellation ABSGR