SAP Table MEPOHEADER

Purchase Order Header Data

MEPOHEADER (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 MEPOHEADER to other SAP tables.

MEPOHEADER table fields

Field Data element Checktable Datatype Length Decimals
EBELN Purchasing Document Number EBELN CHAR 10 0
BUKRS Company Code BUKRS T001 CHAR 4 0
BSART Purchasing Document Type ESART T161 CHAR 4 0
LOEKZ Deletion Indicator in Purchasing Document ELOEK CHAR 1 0
STATU 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
AEDAT Date on Which Record Was Created ERDAT DATS 8 0
ERNAM Name of Person who Created the Object ERNAM CHAR 12 0
PINCR Item Number Interval PINCR NUMC 5 0
LIFNR Vendor Account Number ELIFN LFA1 CHAR 10 0
SPRAS Language Key SPRAS T002 LANG 1 0
ZTERM Terms of Payment Key DZTERM CHAR 4 0
ZBD1T Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
ZBD2T Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
ZBD3T Cash (Prompt Payment) Discount Days DZBDET DEC 3 0
ZBD1P Cash Discount Percentage 1 DZBD1P DEC 5 3
ZBD2P Cash Discount Percentage 2 DZBD2P DEC 5 3
EKORG Purchasing Organization EKORG T024E CHAR 4 0
EKGRP Purchasing Group BKGRP T024 CHAR 3 0
WAERS Currency Key WAERS TCURC CUKY 5 0
WKURS Exchange Rate WKURS DEC 9 5
KUFIX Indicator: Fixing of Exchange Rate KUFIX CHAR 1 0
X Yes
NULL No
BEDAT Purchasing Document Date EBDAT DATS 8 0
KDATB Start of Validity Period KDATB DATS 8 0
KDATE End of Validity Period KDATE DATS 8 0
GWLDT Warranty Date MM_GWLDT DATS 8 0
ANGNR Quotation Number ANGNR CHAR 10 0
IHRAN Quotation Submission Date IHRAN DATS 8 0
IHREZ Your Reference IHREZ CHAR 12 0
VERKF Responsible Salesperson at Vendor's Office EVERK CHAR 30 0
TELF1 Vendor's Telephone Number TELF0 CHAR 16 0
LLIEF Supplying Vendor LLIEF LFA1 CHAR 10 0
KUNNR Customer Number KUNNR KNA1 CHAR 10 0
KONNR Number of Principal Purchase Agreement KONNR EKKO CHAR 10 0
WEAKT Indicator: Goods Receipt Message WEAKT CHAR 1 0
X Yes
NULL No
RESWK Supplying (Issuing) Plant in Stock Transport Order RESWK T001W CHAR 4 0
INCO1 Incoterms (Part 1) INCO1 TINC CHAR 3 0
INCO2 Incoterms (Part 2) INCO2 CHAR 28 0
SUBMI Collective Number SUBMI CHAR 10 0
LIFRE Different Invoicing Party LIFRE LFA1 CHAR 10 0
UNSEZ Our Reference UNSEZ CHAR 12 0
LOGSY Logical System LOGSYSTEM CHAR 10 0
UPINC Item Number Interval for Subitems UPINC NUMC 5 0
FRGKE Release Indicator: Purchasing Document FRGKE T16FB CHAR 1 0
FRGZU Release status FRGZU CHAR 8 0
ADRNR Address number AD_ADDRNUM CHAR 10 0
STCEG_L Country of Sales Tax ID Number STCEG_L CHAR 3 0
ABSGR Reason for Cancellation ABSGR T165R NUMC 2 0
PROCSTAT Purchasing document processing state MEPROCSTATE CHAR 2 0
01 Version in process
02 Active
03 In release
04 Partially released
05 Release completed
08 Rejected
STAKO Document with time-dependent conditions STAKO CHAR 1 0
X Yes
NULL No
REASON_CODE Goods Receipt Reason Code /SAPPSPRO/_GR_REASON_CODE CHAR 4 0
RETTP Retention Indicator RETTP CHAR 1 0
NULL Not Applicable
H Applicable (Header Level)
I Applicable (Item Level)
B Secured by Bond
RETPC Retention in Percent RETPZ DEC 5 2
DPTYP Down Payment Indicator ME_DPTYP CHAR 4 0
DPAMT Down Payment Amount in Document Currency ME_DPAMNT CURR 11 2
DPPCT Down Payment Percentage ME_DPPCNT DEC 5 2
DPDAT Due Date for Down Payment ME_DPDDAT DATS 8 0
VSART Shipping type VERSART CHAR 2 0
HANDOVERLOC Location for a physical handover of goods HANDOVER_LOC CHAR 10 0
DUMMY Dummy function in length 1 DUMMY CHAR 1 0
MSR_ID Process Identification Number MSR_PROCESS_ID CHAR 10 0
FORCE_ID Internal Key for Force Element /ISDFPS/FORCE_ID CHAR 32 0
FORCE_CNT Internal (Version) Counter /ISDFPS/FORCE_CNT NUMC 6 0
RELOC_ID Relocation ID /ISDFPS/RELOC_ID /ISDFPS/REL CHAR 10 0
RELOC_SEQ_ID Relocation Step ID /ISDFPS/RELOC_SEQ_ID /ISDFPS/RELSEQ CHAR 4 0
SOURCE_LOGSYS Logical system LOGSYS CHAR 10 0
VZSKZ Interest calculation indicator VZSKZ CHAR 2 0
POHF_TYPE Document for Seasonal Purchase Order Processing WRF_POHF_TYPE CHAR 1 0
NULL Document was not created using Seasonal Procurement
1 Seasonal Procurement Grouped Purchase Order Document
2 Seasonal Procurement Purchase Order
EQ_EINDT Delivery Date Header: All Items Have Same Delivery Date WRF_POHF_EQ_EINDT DATS 8 0
EQ_WERKS Plant Header: All Items Have Same Receiving Plant WRF_POHF_EQ_EWERK CHAR 4 0
FIXPO Firm Deal Indicator WRF_POHF_FIXPO CHAR 1 0
NULL Inactive
X Firm Deal Active
EKGRP_ALLOW Take Account of Purch. Group WRF_POHF_EKGRP_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
WERKS_ALLOW Take Account of Plants WRF_POHF_WERKS_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
CONTRACT_ALLOW Take Account of Contracts WRF_POHF_CONTRACT_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
PSTYP_ALLOW Take Account of Item Categories WRF_POHF_PSTYP_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
FIXPO_ALLOW Take Account of Fixed-Date Purchases Indicator WRF_POHF_FIXPO_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
KEY_ID_ALLOW Consider Budget WRF_POHF_KEY_ID_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
AUREL_ALLOW Take Account of Alloc. Table Relevance WRF_POHF_AUREL_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
DELPER_ALLOW Take Account of Dlvy Period WRF_POHF_DELPER_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
EINDT_ALLOW Take Account of Delivery Date WRF_POHF_EINDT_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
LTSNR_ALLOW Include Vendor Subrange WRF_POHF_LTSNR_ALLOW CHAR 1 0
NULL Inactive
1 For Grouping Process
2 Each Time a Document is Processed in Seasonal Procurement
OTB_LEVEL OTB Check Level WRF_POTB_CHECK_LEVEL CHAR 1 0
1 Header
2 Schedule Line
OTB_COND_TYPE OTB Condition Type WRF_POTB_COND_TYPE CHAR 4 0
KEY_ID Unique Number of Budget WRF_BUDG_KEY_ID NUMC 16 0
OTB_VALUE Required Budget WRF_POTB_VALUE CURR 17 2
OTB_CURR OTB Currency WRF_POTB_CURRENCY CUKY 5 0
OTB_RES_VALUE Reserved Budget for OTB-Relevant Purchasing Document WRF_POTB_RES_VALUE CURR 17 2
OTB_SPEC_VALUE Special Release Budget WRF_POTB_SPECIAL_VALUE CURR 17 2
SPR_RSN_PROFILE Reason Profile for OTB Special Release WRF_POTB_SPR_RSN_PROFILE CHAR 4 0
BUDG_TYPE Budget Type WRF_BUDG_TYPE CHAR 2 0
OTB_STATUS OTB Check Status WRF_POTB_STATUS CHAR 1 0
NULL Not Checked
1 OTB Check Without Errors
2 Checked with Errors
OTB_REASON Reason Indicator for OTB Check Status WRF_POTB_STATUS_REASON CHAR 3 0
001 No Check Required
002 Active Budget Available
005 Complete OTB Check Successful
006 Complete OTB Check Not Successful
007 OTB Check Not Active According to Customizing
008 OTB Check Deactivated According to BAdI
009 At Least One Variant of Generic Material w. Negative OTB Ch.
010 All Variants of Generic Material with Positive OTB Check
011 At least one doc. w. same coll. no. OTB neg. (reason 006)
CHECK_TYPE Type of OTB Check WRF_BUDG_OTB_CHECK CHAR 1 0
1 Full Check
2 Limited Check
3 No Check
CON_OTB_REQ OTB-Relevant Contract WRF_POTB_CON_REQ CHAR 1 0
NULL Not Selected
X Selected
CON_PREBOOK_LEV OTB Indicator Level for Contracts WRF_POTB_PREBOOK_LEVEL CHAR 1 0
1 OTB Indicator on Header Level
2 OTB Indicator on Item Level
CON_DISTR_LEV Distribution Using Target Value or Item Data WRF_POTB_DISTRIB_LEVEL CHAR 1 0
1 Distribution Using Contract Target Value
2 Distribution Using Item Quantities
DUMMY1 Checkbox XFELD CHAR 1 0
X Yes
NULL No
TM_CTRL_KEY Control Key for Document Transfer to TM TM_CTRL_KEY CHAR 4 0
MSR_PO_TYPE Purchase Order Type for Advanced Returns MSR_PO_TYPE CHAR 1 0
NULL Not Relevant
1 Replacement Purchase Order
2 Purchase Order for External Repair
DUMMY5 Checkbox XFELD CHAR 1 0
X Yes
NULL No
PS_PA_ID_HDR Pricing Arrangement Identifier /SAPPSPRO/_PA_STRUC_ID CHAR 4 0
PS_PA_CLNG_HDR Ceiling Amount /SAPPSPRO/_PA_CEILING_AMOUNT CURR 15 2
DUMMY3 Checkbox XFELD CHAR 1 0
X Yes
NULL No
DUMMY4 Checkbox XFELD CHAR 1 0
X Yes
NULL No
OIPIPEVAL Validation indicator for pipeline fields (X=ON, blank=OFF) OID_PIPEV CHAR 1 0
X Yes
NULL No
OIC_LIFNR Account Number of Vendor or Creditor LIFNR LFA1 CHAR 10 0
OIC_DCITYC Destination city code OIC_DCITYC T005G CHAR 4 0
OIC_DCOUNC Destination county code OIC_DCOUNC T005E CHAR 3 0
OIC_DREGIO Destination region OIC_DREGIO T005S CHAR 3 0
OIC_DLAND1 Destination country OIC_DLAND1 T005 CHAR 3 0
OIC_OCITYC Origin city code OIC_OCITYC T005G CHAR 4 0
OIC_OCOUNC Origin county code OIC_OCOUNC T005E CHAR 3 0
OIC_OREGIO Origin region OIC_OREGIO T005S CHAR 3 0
OIC_OLAND1 Origin country OIC_OLAND1 T005 CHAR 3 0
OIC_PORGIN Tax origin OIC_PORGIN CHAR 15 0
OIC_PDESTN Tax destination OIC_PDESTN CHAR 15 0
OIC_PTRIP Pipeline trip number (external) OIC_PTRIP CHAR 16 0
OIC_PBATCH Pipeline operator�s external batch number OIC_PBATCH CHAR 16 0
OIC_MOT IS-OIL MAP external details mode of transport OIC_MOT TVTR CHAR 2 0
OIC_AORGIN Alternate origin OIC_AORGIN CHAR 15 0
OIC_ADESTN Alternate destination OIC_ADESTN CHAR 15 0
OIC_TRUCKN Truck number OIC_TRUCKN CHAR 10 0
OIA_BASELO Base location OIA_BASELO CHAR 15 0
OID_EXTBOL External bill of lading OID_EXTBOL CHAR 16 0
OID_MISCDL Miscellaneous delivery number OID_MISCDL CHAR 16 0
MANDT Client MANDT CLNT 3 0
BSTYP Purchasing Document Category EBSTYP CHAR 1 0
A Request for Quotation
F Purchase Order
K Contract
L Scheduling Agreement
BSAKZ Control indicator for purchasing document type BSAKZ CHAR 1 0
T Transport
R Purchase requisition for outline agreement
LPONR Last Item Number LPONR EKPO NUMC 5 0
KNUMV Number of the document condition KNUMV CHAR 10 0
KALSM Procedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_D T683 CHAR 6 0
STAFO Update group for statistics update STAFO CHAR 6 0
EXNUM Number of foreign trade data in MM and SD documents EXNUM EIKP CHAR 10 0
FRGGR Release group FRGGR T16FG CHAR 2 0
FRGSX Release Strategy FRGSX T16FS CHAR 2 0
FRGRL Release Not Yet Completely Effected FRGRL CHAR 1 0
X Yes
NULL No
LANDS Country for Tax Return LAND1_STML T005 CHAR 3 0
STCEG VAT Registration Number STCEG CHAR 20 0
ADDNR Document number for additional ADDI_BELNR CHAR 10 0
KORNR Correction of miscellaneous provisions KORNR CHAR 1 0
NULL No corrections of miscellaneous provisions
1 Correction of misc. provisions in invoice verification
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
ID Natural Number INT4 INT4 10 0
POSPLIT Trading Contract: Manual Purchase Order Split POSPLIT CHAR 10 0

MEPOHEADER foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
MEPOHEADER ABSGR SYST MANDT T165R Reason for Cancellation MANDT
MEPOHEADER ABSGR MEPOHEADER ABSGR T165R Reason for Cancellation ABSGR
MEPOHEADER BSART MEPOHEADER BSART T161 Purchasing Document Types BSART
MEPOHEADER BSART SYST MANDT T161 Purchasing Document Types MANDT
MEPOHEADER BSART 'F' T161 Purchasing Document Types BSTYP
MEPOHEADER BUKRS SYST MANDT T001 Company Codes MANDT
MEPOHEADER BUKRS MEPOHEADER BUKRS T001 Company Codes BUKRS
MEPOHEADER EKGRP MEPOHEADER EKGRP T024 Purchasing Groups EKGRP
MEPOHEADER EKGRP SYST MANDT T024 Purchasing Groups MANDT
MEPOHEADER EKORG SYST MANDT T024E Purchasing Organizations MANDT
MEPOHEADER EKORG MEPOHEADER EKORG T024E Purchasing Organizations EKORG
MEPOHEADER EXNUM SYST MANDT EIKP Foreign Trade: Export/Import Header Data MANDT
MEPOHEADER EXNUM MEPOHEADER EXNUM EIKP Foreign Trade: Export/Import Header Data EXNUM
MEPOHEADER FRGGR MEPOHEADER FRGGR T16FG Release Groups FRGGR
MEPOHEADER FRGGR SYST MANDT T16FG Release Groups MANDT
MEPOHEADER FRGKE SYST MANDT T16FB Release Indicator: Purchasing Document MANDT
MEPOHEADER FRGKE MEPOHEADER FRGKE T16FB Release Indicator: Purchasing Document FRGKE
MEPOHEADER FRGSX SYST MANDT T16FS Release Strategies MANDT
MEPOHEADER FRGSX MEPOHEADER FRGGR T16FS Release Strategies FRGGR
MEPOHEADER FRGSX MEPOHEADER FRGSX T16FS Release Strategies FRGSX
MEPOHEADER INCO1 SYST MANDT TINC Customers: Incoterms MANDT
MEPOHEADER INCO1 MEPOHEADER INCO1 TINC Customers: Incoterms INCO1
MEPOHEADER KALSM T681V KVEWE T683 Pricing procedures KVEWE
MEPOHEADER KALSM T681A KAPPL T683 Pricing procedures KAPPL
MEPOHEADER KALSM MEPOHEADER KALSM T683 Pricing procedures KALSM
MEPOHEADER KALSM SYST MANDT T683 Pricing procedures MANDT
MEPOHEADER KONNR MEPOHEADER KONNR EKKO Purchasing Document Header EBELN
MEPOHEADER KONNR SYST MANDT EKKO Purchasing Document Header MANDT
MEPOHEADER KUNNR MEPOHEADER KUNNR KNA1 General Data in Customer Master KUNNR
MEPOHEADER KUNNR SYST MANDT KNA1 General Data in Customer Master MANDT
MEPOHEADER LANDS SYST MANDT T005 Countries MANDT
MEPOHEADER LANDS MEPOHEADER LANDS T005 Countries LAND1
MEPOHEADER LIFNR SYST MANDT LFA1 Vendor Master (General Section) MANDT
MEPOHEADER LIFNR MEPOHEADER LIFNR LFA1 Vendor Master (General Section) LIFNR
MEPOHEADER LIFRE SYST MANDT LFA1 Vendor Master (General Section) MANDT
MEPOHEADER LIFRE MEPOHEADER LIFRE LFA1 Vendor Master (General Section) LIFNR
MEPOHEADER LLIEF MEPOHEADER LLIEF LFA1 Vendor Master (General Section) LIFNR
MEPOHEADER LLIEF SYST MANDT LFA1 Vendor Master (General Section) MANDT
MEPOHEADER LPONR SYST MANDT EKPO Purchasing Document Item MANDT
MEPOHEADER LPONR EKKO EBELN EKPO Purchasing Document Item EBELN
MEPOHEADER LPONR MEPOHEADER LPONR EKPO Purchasing Document Item EBELP
MEPOHEADER OIC_DCITYC SYST MANDT T005G City MANDT
MEPOHEADER OIC_DCITYC MEPOHEADER OIC_DLAND1 T005G City LAND1
MEPOHEADER OIC_DCITYC MEPOHEADER OIC_DREGIO T005G City REGIO
MEPOHEADER OIC_DCITYC MEPOHEADER OIC_DCITYC T005G City CITYC
MEPOHEADER OIC_DCOUNC MEPOHEADER OIC_DREGIO T005E County REGIO
MEPOHEADER OIC_DCOUNC MEPOHEADER OIC_DCOUNC T005E County COUNC
MEPOHEADER OIC_DCOUNC SYST MANDT T005E County MANDT
MEPOHEADER OIC_DCOUNC MEPOHEADER OIC_DLAND1 T005E County LAND1
MEPOHEADER OIC_DLAND1 SYST MANDT T005 Countries MANDT
MEPOHEADER OIC_DLAND1 MEPOHEADER OIC_DLAND1 T005 Countries LAND1
MEPOHEADER OIC_DREGIO MEPOHEADER OIC_DREGIO T005S Taxes: Region (Province) Key BLAND
MEPOHEADER OIC_DREGIO SYST MANDT T005S Taxes: Region (Province) Key MANDT
MEPOHEADER OIC_DREGIO MEPOHEADER OIC_DLAND1 T005S Taxes: Region (Province) Key LAND1
MEPOHEADER OIC_LIFNR SYST MANDT LFA1 Vendor Master (General Section) MANDT
MEPOHEADER OIC_LIFNR MEPOHEADER OIC_LIFNR LFA1 Vendor Master (General Section) LIFNR
MEPOHEADER OIC_MOT SYST MANDT TVTR Routes: Modes of Transport MANDT
MEPOHEADER OIC_MOT MEPOHEADER OIC_MOT TVTR Routes: Modes of Transport VKTRA
MEPOHEADER OIC_OCITYC SYST MANDT T005G City MANDT
MEPOHEADER OIC_OCITYC MEPOHEADER OIC_OLAND1 T005G City LAND1
MEPOHEADER OIC_OCITYC MEPOHEADER OIC_OREGIO T005G City REGIO
MEPOHEADER OIC_OCITYC MEPOHEADER OIC_OCITYC T005G City CITYC
MEPOHEADER OIC_OCOUNC MEPOHEADER OIC_OCOUNC T005E County COUNC
MEPOHEADER OIC_OCOUNC SYST MANDT T005E County MANDT
MEPOHEADER OIC_OCOUNC MEPOHEADER OIC_OLAND1 T005E County LAND1
MEPOHEADER OIC_OCOUNC MEPOHEADER OIC_OREGIO T005E County REGIO
MEPOHEADER OIC_OLAND1 SYST MANDT T005 Countries MANDT
MEPOHEADER OIC_OLAND1 MEPOHEADER OIC_OLAND1 T005 Countries LAND1
MEPOHEADER OIC_OREGIO SYST MANDT T005S Taxes: Region (Province) Key MANDT
MEPOHEADER OIC_OREGIO MEPOHEADER OIC_OLAND1 T005S Taxes: Region (Province) Key LAND1
MEPOHEADER OIC_OREGIO MEPOHEADER OIC_OREGIO T005S Taxes: Region (Province) Key BLAND
MEPOHEADER RELOC_ID SYST MANDT /ISDFPS/REL Definition of Relocation MANDT
MEPOHEADER RELOC_ID MEPOHEADER RELOC_ID /ISDFPS/REL Definition of Relocation RELOC_ID
MEPOHEADER RELOC_SEQ_ID SYST MANDT /ISDFPS/RELSEQ Definition of Relocation Steps MANDT
MEPOHEADER RELOC_SEQ_ID MEPOHEADER RELOC_SEQ_ID /ISDFPS/RELSEQ Definition of Relocation Steps RELOC_SEQ_ID
MEPOHEADER RESWK SYST MANDT T001W Plants/Branches MANDT
MEPOHEADER RESWK MEPOHEADER RESWK T001W Plants/Branches WERKS
MEPOHEADER SPRAS MEPOHEADER SPRAS T002 Language Keys (Component BC-I18) SPRAS
MEPOHEADER WAERS SYST MANDT TCURC Currency Codes MANDT
MEPOHEADER WAERS MEPOHEADER WAERS TCURC Currency Codes WAERS