SAP table MEPOHEADER (Purchase Order Header Data)

Field Description Data Type Length Decimals Checktable Data Element
EBELN Purchasing Document Number CHAR 10 0 EBELN
BUKRS Company Code CHAR 4 0 T001 BUKRS
BSART Purchasing Document Type CHAR 4 0 T161 ESART
LOEKZ Deletion Indicator in Purchasing Document CHAR 1 0 ELOEK
STATU Status of Purchasing Document CHAR 1 0 ESTAK
1 Purchase Order from APO
2 Third-Party Order from CRM
3 Returns Order from Incorrect Delivery
4 Subsequent Stock Transport Order for Additional Item
5 Incorrect Item Returns from Stock Transport Orders
9 Enjoy Purchase Order
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
K Purchase Order from BBP
L Scheduling Agreement from CRM
M Purchasing Document from E-Sourcing
N Purchase Document from external Network / System
R S4CRM Service Order
S Collective Purchase Order
T Purchase Order from Transportation Management
W Purchase Order Ignored for Collective Delivery Run
X Purchase Order Created via Function Module
AEDAT Date on which the record was created DATS 8 0 ERDAT
ERNAM Name of Person Responsible for Creating the Object CHAR 12 0 ERNAM
LASTCHANGEDATETIME Change Time Stamp DEC 21 7 CHANGEDATETIME
PINCR Item Number Interval NUMC 5 0 PINCR
LIFNR Vendor's account number CHAR 10 0 LFA1 ELIFN
SPRAS Language Key LANG 1 0 T002 SPRAS
ZTERM Terms of payment key CHAR 4 0 DZTERM
ZBD1T Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
ZBD2T Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
ZBD3T Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
ZBD1P Cash discount percentage 1 DEC 5 3 DZBD1P
ZBD2P Cash Discount Percentage 2 DEC 5 3 DZBD2P
EKORG Purchasing organization CHAR 4 0 T024E EKORG
EKGRP Purchasing Group CHAR 3 0 T024 BKGRP
WAERS Currency Key CUKY 5 0 TCURC WAERS
WKURS Exchange Rate DEC 9 5 WKURS
KUFIX Indicator for Fixed Exchange Rate CHAR 1 0 KUFIX
BEDAT Purchasing Document Date DATS 8 0 EBDAT
KDATB Start of Validity Period DATS 8 0 KDATB
KDATE End of Validity Period DATS 8 0 KDATE
GWLDT Warranty Date DATS 8 0 MM_GWLDT
ANGNR Quotation Number CHAR 10 0 ANGNR
IHRAN Quotation Submission Date DATS 8 0 IHRAN
IHREZ Your Reference CHAR 12 0 IHREZ
VERKF Responsible Salesperson at Supplier's Office CHAR 30 0 EVERK
TELF1 Supplier's Telephone Number CHAR 16 0 TELF0
LLIEF Goods Supplier CHAR 10 0 LFA1 LLIEF
KUNNR Customer Number CHAR 10 0 KNA1 KUNNR
KONNR Number of principal purchase agreement CHAR 10 0 EKKO KONNR
WEAKT Indicator: Goods Receipt Message CHAR 1 0 WEAKT
RESWK Supplying (issuing) plant in case of stock transport order CHAR 4 0 T001W RESWK
INCO1 Incoterms (Part 1) CHAR 3 0 TINC INCO1
INCO2 Incoterms (Part 2) CHAR 28 0 INCO2
SUBMI Collective Number CHAR 10 0 SUBMI
LIFRE Different Invoicing Party CHAR 10 0 LFA1 LIFRE
UNSEZ Our Reference CHAR 12 0 UNSEZ
LOGSY Logical System CHAR 10 0 * LOGSYSTEM
UPINC Item Number Interval for Subitems NUMC 5 0 UPINC
FRGKE Release Indicator: Purchasing Document CHAR 1 0 T16FB FRGKE
FRGZU Release State CHAR 8 0 FRGZU
HAS_HIERARCHY Single-Character Flag CHAR 1 0 CHAR1
ADRNR Address Number CHAR 10 0 * AD_ADDRNUM
STCEG_L Country/Region of Sales Tax ID Number CHAR 3 0 * STCEG_L
ABSGR Reason for Cancellation NUMC 2 0 T165R ABSGR
PROCSTAT Purchasing document processing state CHAR 2 0 MEPROCSTATE
01 Version in process
02 Active
03 In release
04 Partially released
05 Release completed
08 Rejected
11 In Distribution
12 Error in Distribution
13 Distributed
14 In Preparation
26 In external approval
PROCESS_INDICATOR Process Indicator for Purchase Order CHAR 3 0 MMPUR_PROCESS_INDICATOR
General / No specific Process
ISA Advanced Intercompany Sales (New IC)
IST Advanced Intercompany Stock Transfer
STAKO Document with time-dependent conditions CHAR 1 0 STAKO
REASON_CODE Goods Receipt Reason Code CHAR 4 0 /SAPPSPRO/_GR_REASON_CODE
RETTP Retention Indicator CHAR 1 0 RETTP
RETPC Retention in Percent DEC 5 2 RETPZ
DPTYP Down Payment Indicator CHAR 4 0 ME_DPTYP
DPAMT Down Payment Amount in Document Currency CURR 11 2 ME_DPAMNT
DPPCT Down Payment Percentage DEC 5 2 ME_DPPCNT
DPDAT Due Date for Down Payment DATS 8 0 ME_DPDDAT
VSART Shipping Type CHAR 2 0 * VERSART
HANDOVERLOC Location for a physical handover of goods CHAR 10 0 HANDOVER_LOC
SHIPCOND Shipping Conditions CHAR 2 0 * VSBED
AUTLF Complete Delivery Stipulated for Each Purchase Order CHAR 1 0 KMPLF
EXT_REV_TMSTMP Timestamp for Revision of External Calls DEC 21 7 MM_EXT_REV_TMSTMP
INCOV Incoterms Version CHAR 4 0 TINCV INCOV
INCO2_L Incoterms Location 1 CHAR 70 0 INCO2_L
INCO3_L Incoterms Location 2 CHAR 70 0 INCO3_L
INCO2_KEY Incoterm Location 1 - Place of Destination RAW 16 0 /SCMTMS/INC_LOC_1_KEY
INCO3_KEY Incoterm Location 2 - Place of Delivery RAW 16 0 /SCMTMS/INC_LOC_2_KEY
INCO4_KEY Incoterm - Deviating Place of Destination RAW 16 0 /SCMTMS/INC_DEV_PLACE_DEST_KEY
INCO2_ID Identifier for Incoterm Location 1 CHAR 20 0 TMINCO_LOC_1_ID
INCO3_ID Identifier for Incoterm Location 2 CHAR 20 0 TMINCO_LOC_2_ID
INCO4_ID Identifier of Deviating Location for Incoterm Location 1 CHAR 20 0 TMINCO_LOC_D_ID
INCO4_DESCR Description of Deviating Location for Incoterm Location 1 CHAR 70 0 TMINCO_LOC_D_DESCR
TOTAL_STATUS_PCS Product Compliance Supplier Check Status (All Items) CHAR 1 0 MMPUR_PC_TOTAL_STATUS_PCS
OK – Not Relevant
A OK – Approved
C Blocked – By Supplier
D Blocked - Not Approved
E Partially Blocked – By Supplier
F Partially Blocked - Not Approved
TOTAL_STATUS_PMA Product Marketability Status (All Items) CHAR 1 0 MMPUR_PC_TOTAL_STATUS_PMA
OK – Not Relevant
A OK – Approved
C Blocked – By Destination Country
D Blocked – Not approved
E Partially Blocked – By Destination Country
F Partially Blocked – Not approved
TOTAL_STATUS_DG Dangerous Goods Status (All Items) CHAR 1 0 MMPUR_PC_TOTAL_STATUS_DG
OK – Not Relevant
A OK – Transport Allowed
B Warning – Transport Restricted
C Partially Blocked – Transport Forbidden
D Blocked – Transport Forbidden
TOTAL_STATUS_SDS Safety Data Sheet Status (All Items) CHAR 1 0 MMPUR_PC_TOTAL_STATUS_SDS
OK – Not Relevant
A OK – Approved
B Warning
C Partially Blocked
D Blocked
GRWCU Currency of statistical values for foreign trade CUKY 5 0 * GRWCU
INTRA_REL Relevant for Intrastat Reporting CHAR 1 0 INTRA_REL
INTRA_EXCL Exclude from Intrastat Reporting CHAR 1 0 INTRA_EXCL
DUMMY Dummy function in length 1 CHAR 1 0 DUMMY
MSR_ID Process Identification Number CHAR 10 0 MSR_PROCESS_ID
FORCE_ID Internal Key for Force Element CHAR 32 0 /ISDFPS/FORCE_ID
FORCE_CNT Internal (Version) Counter NUMC 6 0 /ISDFPS/FORCE_CNT
RELOC_ID Relocation ID CHAR 10 0 /ISDFPS/REL /ISDFPS/RELOC_ID
RELOC_SEQ_ID Relocation Step ID CHAR 4 0 /ISDFPS/RELSEQ /ISDFPS/RELOC_SEQ_ID
SOURCE_LOGSYS Logical system CHAR 10 0 * LOGSYS
VZSKZ Interest Indicator CHAR 2 0 * VZSKZ
POHF_TYPE Document for Seasonal Purchase Order Processing CHAR 1 0 WRF_POHF_TYPE
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 DATS 8 0 WRF_POHF_EQ_EINDT
EQ_WERKS Plant Header: All Items Have Same Receiving Plant CHAR 4 0 * WRF_POHF_EQ_EWERK
FIXPO Firm Deal Indicator CHAR 1 0 WRF_POHF_FIXPO
EKGRP_ALLOW Take Account of Purch. Group CHAR 1 0 WRF_POHF_EKGRP_ALLOW
WERKS_ALLOW Take Account of Plants CHAR 1 0 WRF_POHF_WERKS_ALLOW
CONTRACT_ALLOW Take Account of Contracts CHAR 1 0 WRF_POHF_CONTRACT_ALLOW
PSTYP_ALLOW Take Account of Item Categories CHAR 1 0 WRF_POHF_PSTYP_ALLOW
FIXPO_ALLOW Take Account of Fixed-Date Purchases Indicator CHAR 1 0 WRF_POHF_FIXPO_ALLOW
KEY_ID_ALLOW Consider Budget CHAR 1 0 WRF_POHF_KEY_ID_ALLOW
AUREL_ALLOW Take Account of Alloc. Table Relevance CHAR 1 0 WRF_POHF_AUREL_ALLOW
DELPER_ALLOW Take Account of Dlvy Period CHAR 1 0 WRF_POHF_DELPER_ALLOW
EINDT_ALLOW Take Account of Delivery Date CHAR 1 0 WRF_POHF_EINDT_ALLOW
LTSNR_ALLOW Include Vendor Subrange CHAR 1 0 WRF_POHF_LTSNR_ALLOW
OTB_LEVEL OTB Check Level CHAR 1 0 WRF_POTB_CHECK_LEVEL
1 Header
2 Schedule Line
OTB_COND_TYPE OTB Condition Type CHAR 4 0 * WRF_POTB_COND_TYPE
KEY_ID Unique Number of Budget NUMC 16 0 WRF_BUDG_KEY_ID
OTB_VALUE Required Budget CURR 17 2 WRF_POTB_VALUE
OTB_CURR OTB Currency CUKY 5 0 * WRF_POTB_CURRENCY
OTB_RES_VALUE Reserved Budget for OTB-Relevant Purchasing Document CURR 17 2 WRF_POTB_RES_VALUE
OTB_SPEC_VALUE Special Release Budget CURR 17 2 WRF_POTB_SPECIAL_VALUE
SPR_RSN_PROFILE Reason Profile for OTB Special Release CHAR 4 0 WRF_POTB_SPR_RSN_PROFILE
BUDG_TYPE Budget Type CHAR 2 0 WRF_BUDG_TYPE
OTB_STATUS OTB Check Status CHAR 1 0 WRF_POTB_STATUS
Not Checked
1 OTB Check Without Errors
2 Checked with Errors
OTB_REASON Reason Indicator for OTB Check Status CHAR 3 0 WRF_POTB_STATUS_REASON
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 CHAR 1 0 WRF_BUDG_OTB_CHECK
1 Full Check
2 Limited Check
3 No Check
CON_OTB_REQ OTB-Relevant Contract CHAR 1 0 WRF_POTB_CON_REQ
CON_PREBOOK_LEV OTB Indicator Level for Contracts CHAR 1 0 WRF_POTB_PREBOOK_LEVEL
1 OTB Indicator on Header Level
2 OTB Indicator on Item Level
CON_DISTR_LEV Distribution Using Target Value or Item Data CHAR 1 0 WRF_POTB_DISTRIB_LEVEL
1 Distribution Using Contract Target Value
2 Distribution Using Item Quantities
DUMMY1 Checkbox CHAR 1 0 XFELD
No
X Yes
TM_CTRL_KEY Control Key for Document Transfer to TM CHAR 4 0 TM_CTRL_KEY
MSR_PO_TYPE Purchase Order Type for Advanced Returns CHAR 1 0 MSR_PO_TYPE
Not Relevant
1 Replacement Purchase Order
2 Purchase Order for External Repair
DUMMY5 Checkbox CHAR 1 0 XFELD
No
X Yes
PS_PA_ID_HDR Pricing Arrangement Identifier CHAR 4 0 /SAPPSPRO/_PA_STRUC_ID
PS_PA_CLNG_HDR Ceiling Amount CURR 15 2 /SAPPSPRO/_PA_CEILING_AMOUNT
DUMMY3 Checkbox CHAR 1 0 XFELD
No
X Yes
DUMMY4 Checkbox CHAR 1 0 XFELD
No
X Yes
DUMMY_EKKO_INCL_EEW_PS Data Element for Extensibility of Purchasing Document Header CHAR 1 0 EKKO_INCL_EEW
EXTERNALSYSTEM ID of External Reference System CHAR 60 0 MMPUR_EXTREFERENCESYSTEMID
EXTERNALREFERENCEID External Reference ID CHAR 70 0 MMPUR_EXTERNALREFERENCEID
ZAPCGK Annexing package key NUMC 4 0 /ILE/TV01 /ILE/TAPCGK
APCGK_EXTEND Extended key for annexing package NUMC 10 0 /ILE/TAPCGK_EXT
ZBAS_DATE Base Date DATS 8 0 /ILE/TBASDATE
ZADATTYP Annexing Date Type CHAR 1 0 /ILE/TADATTYP
ZSTART_DAT Annexing start date DATS 8 0 /ILE/TASDAT
Z_DEV deviation percentage DEC 6 3 /ILE/TMPERC
ZINDANX indicator for annexed order type CHAR 1 0 /ILE/TMANIND
ZLIMIT_DAT Annexing limit date (purchasing) DATS 8 0 /ILE/TALDAT
NUMERATOR IL Annexing Numerator CHAR 20 0 /ILE/NUMERATOR
HASHCAL_BDAT "The general acountant method" New base date. DATS 8 0 /ILE/HASHCAL_BDAT
HASHCAL Accountant general method CHAR 1 0 /ILE/MTG_CHASHCAL
NEGATIVE Do not allow negative annexing CHAR 1 0 /ILE/NEGATIVE_ANNEXING
HASHCAL_EXISTS Purchasing organization CHAR 4 0 * EKORG
KNOWN_INDEX Known Index indicator in /ILE/T_ANNEXING_CALCULATION Func CHAR 1 0 /ILE/KNOWN_INDEX_ANX
FSH_TRANSACTION Transaction Number CHAR 10 0 FSH_TRANSACTION
FSH_ITEM_GROUP Item Group NUMC 5 0 FSH_ITEM_GROUP
FSH_VAS_LAST_ITEM Last VAS Item Number NUMC 5 0 FSH_VAS_LAST_ITEM
FSH_SNST_STATUS Snapshot Status CHAR 2 0 FSH_SNST_STATUS
FSH_OS_STG_CHANGE Order Scheduling Strategy Fields Changed Manually CHAR 1 0 FSH_OS_STG_CHANGE
PROCE Procedure number NUMC 9 0 PFM_01TD04 PFM_01NUMPROCEDIMENTO
CONC Adjustment/contest CHAR 5 0 PFM_01TP12 PFM_01CONCURSO
CONT Contract CHAR 5 0 PFM_01TP13 PFM_01CONTRATO
COMP Legal competence CHAR 5 0 PFM_01TP14 PFM_01COMPETENCIA
OUTR Miscellaneous CHAR 5 0 PFM_01TP15 PFM_01OUTROS
DESP Despatch CHAR 100 0 PFM_01DESPACHO
DESP_DAT Date DATS 8 0 DATUM
DESP_CARGO Job CHAR 5 0 PFM_01TP16 PFM_01CARGO
PARE Assessment CHAR 100 0 PFM_01PARECER
PARE_DAT Date DATS 8 0 DATUM
PARE_CARGO Job CHAR 5 0 PFM_01TP16 PFM_01CARGO
PFM_CONTRACT PTFM: Contract in Purchasing process NUMC 8 0 PFM_CONTRACT
TMS_REF_UUID Reference UUID of Transportation Management CHAR 22 0 TMS_REF_UUID
MANDT Client CLNT 3 0 * MANDT
BSTYP Purchasing Document Category CHAR 1 0 EBSTYP
A Request for Quotation
C Central Contract
F Purchase Order
K Contract
L Scheduling Agreement
N Central Request for Quotation
O Quotation
P Central Purchsae Order
R RFQ
T Central Supplier Quotation
BSAKZ Control indicator for purchasing document type CHAR 1 0 BSAKZ
C Subordinate Document
H Hierarchy
R Purchase requisition for outline agreement
T Transport
LPONR Last Item Number NUMC 5 0 EKPO LPONR
KNUMV Number of the Document Condition CHAR 10 0 KNUMV
KALSM Procedure (Pricing, Output Control, Acct. Det., Costing,...) CHAR 6 0 T683 KALSM_D
STAFO Update Group for statistics update CHAR 6 0 * STAFO
EXNUM Number of foreign trade data in MM and SD documents CHAR 10 0 EIKP EXNUM
FRGGR Release group CHAR 2 0 T16FG FRGGR
FRGSX Release Strategy CHAR 2 0 T16FS FRGSX
FRGRL Release Not Yet Completely Effected CHAR 1 0 FRGRL
LANDS Country/Region for Tax Report CHAR 3 0 T005 LAND1_STML
STCEG VAT Registration Number CHAR 20 0 STCEG
ADDNR Document number for additional CHAR 10 0 ADDI_BELNR
KORNR Correction of miscellaneous provisions CHAR 1 0 KORNR
No corrections of miscellaneous provisions
1 Correction of misc. provisions in invoice verification
MEMORY Purchase order not yet complete CHAR 1 0 MEMER
MEMORYTYPE Category of Incompleteness CHAR 1 0 MEMORYTYPE
ID 4 Byte Signed Integer INT4 10 0 INT4
POSTAT Flag for the S1POSTAT message CHAR 1 0 ADSPC_POSTAT
POSPLIT Manual Purchase Order Split CHAR 10 0 POSPLIT

MEPOHEADER foreign key relationships

Table Field Check Table Check Field
0 MEPOHEADER BSART T161 Purchasing Document Types MANDT
1 MEPOHEADER BUKRS T001 Company Codes BUKRS
0 MEPOHEADER COMP PFM_01TP14 Additional fields in MM doc.- parameter Legal competence MANDT
0 MEPOHEADER COMP PFM_01TP14 Additional fields in MM doc.- parameter Legal competence COMP
1 MEPOHEADER CONC PFM_01TP12 Additional fields in MM document - param.ajust.dir./contest MANDT
1 MEPOHEADER CONC PFM_01TP12 Additional fields in MM document - param.ajust.dir./contest CONC
0 MEPOHEADER CONT PFM_01TP13 Additional fields in MM doc.- parameter Contract MANDT
0 MEPOHEADER CONT PFM_01TP13 Additional fields in MM doc.- parameter Contract CONT
1 MEPOHEADER DESP_CARGO PFM_01TP16 Additional fields in MM doc.- parameter Job/holder1 MANDT
1 MEPOHEADER DESP_CARGO PFM_01TP16 Additional fields in MM doc.- parameter Job/holder1 CARGO
0 MEPOHEADER EKGRP T024 Purchasing Groups EKGRP
1 MEPOHEADER EKORG T024E Purchasing Organizations EKORG
0 MEPOHEADER EXNUM EIKP Foreign Trade: Export/Import Header Data EXNUM
1 MEPOHEADER FRGGR T16FG Release Groups FRGGR
0 MEPOHEADER INCO1 TINC Customers: Incoterms INCO1
1 MEPOHEADER INCOV TINCV Incoterms Versions MANDT
1 MEPOHEADER INCOV TINCV Incoterms Versions INCOV
0 MEPOHEADER KALSM T683 Pricing procedures KAPPL
0 MEPOHEADER KALSM T683 Pricing procedures KALSM
1 MEPOHEADER KONNR EKKO Purchasing Document Header MANDT
1 MEPOHEADER KONNR EKKO Purchasing Document Header EBELN
0 MEPOHEADER KUNNR KNA1 General Data in Customer Master MANDT
0 MEPOHEADER KUNNR KNA1 General Data in Customer Master KUNNR
1 MEPOHEADER LANDS T005 Countries MANDT
1 MEPOHEADER LANDS T005 Countries LAND1
0 MEPOHEADER LIFNR LFA1 Supplier Master (General Section) MANDT
0 MEPOHEADER LIFNR LFA1 Supplier Master (General Section) LIFNR
1 MEPOHEADER LIFRE LFA1 Supplier Master (General Section) MANDT
1 MEPOHEADER LIFRE LFA1 Supplier Master (General Section) LIFNR
0 MEPOHEADER LLIEF LFA1 Supplier Master (General Section) MANDT
0 MEPOHEADER LLIEF LFA1 Supplier Master (General Section) LIFNR
1 MEPOHEADER LPONR EKPO Purchasing Document Item MANDT
1 MEPOHEADER LPONR EKPO Purchasing Document Item EBELN
0 MEPOHEADER OUTR PFM_01TP15 Additional fields in MM doc.- parameter Miscellaneous MANDT
0 MEPOHEADER OUTR PFM_01TP15 Additional fields in MM doc.- parameter Miscellaneous OUTR
1 MEPOHEADER PARE_CARGO PFM_01TP16 Additional fields in MM doc.- parameter Job/holder1 MANDT
1 MEPOHEADER PARE_CARGO PFM_01TP16 Additional fields in MM doc.- parameter Job/holder1 CARGO
0 MEPOHEADER PROCE PFM_01TD04 Procedures MANDT
1 MEPOHEADER RESWK T001W Plants/Branches WERKS
0 MEPOHEADER WAERS TCURC Currency Codes MANDT
0 MEPOHEADER WAERS TCURC Currency Codes WAERS