SAP table BAPIMEPOHEADER (Purchase Order Header Data)

Field Description Data Type Length Decimals Checktable Data Element
PO_NUMBER Purchasing Document Number CHAR 10 0 EBELN
COMP_CODE Company Code CHAR 4 0 BUKRS
DOC_TYPE Purchasing Document Type CHAR 4 0 ESART
DELETE_IND Deletion Indicator in Purchasing Document CHAR 1 0 ELOEK
STATUS 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
CREAT_DATE Date on which the record was created DATS 8 0 ERDAT
CREATED_BY Name of Person Responsible for Creating the Object CHAR 12 0 ERNAM
ITEM_INTVL Item Number Interval NUMC 5 0 PINCR
VENDOR Vendor's account number CHAR 10 0 ELIFN
LANGU Language Key LANG 1 0 SPRAS
LANGU_ISO ISO code for language key CHAR 2 0 SPRAS_ISO
PMNTTRMS Terms of payment key CHAR 4 0 DZTERM
DSCNT1_TO Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
DSCNT2_TO Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
DSCNT3_TO Cash (Prompt Payment) Discount Days DEC 3 0 DZBDET
DSCT_PCT1 Cash discount percentage 1 DEC 5 3 DZBD1P
DSCT_PCT2 Cash Discount Percentage 2 DEC 5 3 DZBD2P
PURCH_ORG Purchasing organization CHAR 4 0 EKORG
PUR_GROUP Purchasing Group CHAR 3 0 BKGRP
CURRENCY Currency Key CUKY 5 0 WAERS
CURRENCY_ISO ISO code currency CHAR 3 0 WAERS_ISO
EXCH_RATE Exchange Rate DEC 9 5 WKURS
EX_RATE_FX Indicator for Fixed Exchange Rate CHAR 1 0 KUFIX
DOC_DATE Purchasing Document Date DATS 8 0 EBDAT
VPER_START Start of Validity Period DATS 8 0 KDATB
VPER_END End of Validity Period DATS 8 0 KDATE
WARRANTY Warranty Date DATS 8 0 MM_GWLDT
QUOTATION Quotation Number CHAR 10 0 ANGNR
QUOT_DATE Quotation Submission Date DATS 8 0 IHRAN
REF_1 Your Reference CHAR 12 0 IHREZ
SALES_PERS Responsible Salesperson at Supplier's Office CHAR 30 0 EVERK
TELEPHONE Supplier's Telephone Number CHAR 16 0 TELF0
SUPPL_VEND Goods Supplier CHAR 10 0 LLIEF
CUSTOMER Customer Number CHAR 10 0 KUNNR
AGREEMENT Number of principal purchase agreement CHAR 10 0 KONNR
GR_MESSAGE Indicator: Goods Receipt Message CHAR 1 0 WEAKT
SUPPL_PLNT Supplying (issuing) plant in case of stock transport order CHAR 4 0 RESWK
INCOTERMS1 Incoterms (Part 1) CHAR 3 0 INCO1
INCOTERMS2 Incoterms (Part 2) CHAR 28 0 INCO2
COLLECT_NO Collective Number CHAR 10 0 SUBMI
DIFF_INV Different Invoicing Party CHAR 10 0 LIFRE
OUR_REF Our Reference CHAR 12 0 UNSEZ
LOGSYSTEM Logical System CHAR 10 0 LOGSYSTEM
SUBITEMINT Item Number Interval for Subitems NUMC 5 0 UPINC
PO_REL_IND Release Indicator: Purchasing Document CHAR 1 0 T16FB FRGKE
REL_STATUS Release State CHAR 8 0 FRGZU
VAT_CNTRY Country/Region of Sales Tax ID Number CHAR 3 0 STCEG_L
VAT_CNTRY_ISO ISO country/region code for VAT registration number CHAR 2 0 STCEG_L_ISO
REASON_CANCEL Reason for Cancellation NUMC 2 0 T165R ABSGR
REASON_CODE Goods Receipt Reason Code CHAR 4 0 /SAPPSPRO/_GR_REASON_CODE
RETENTION_TYPE Retention Indicator CHAR 1 0 RETTP
RETENTION_PERCENTAGE Retention in Percent DEC 5 2 RETPZ
DOWNPAY_TYPE Down Payment Indicator CHAR 4 0 ME_DPTYP
DOWNPAY_AMOUNT Down Payment Amount in BAPI DEC 23 4 BAPIMEDOWNPAY
DOWNPAY_PERCENT Down Payment Percentage DEC 5 2 ME_DPPCNT
DOWNPAY_DUEDATE Due Date for Down Payment DATS 8 0 ME_DPDDAT
MEMORY Purchase order not yet complete CHAR 1 0 MEMER
MEMORYTYPE Category of Incompleteness CHAR 1 0 MEMORYTYPE
SHIPTYPE 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
INCOTERMSV Incoterms Version CHAR 4 0 INCOV
INCOTERMS2L Incoterms Location 1 CHAR 70 0 INCO2_L
INCOTERMS3L Incoterms Location 2 CHAR 70 0 INCO3_L
EXT_SYS ID of External Reference System CHAR 60 0 MMPUR_EXTREFERENCESYSTEMID
EXT_REF External Reference ID CHAR 70 0 MMPUR_EXTERNALREFERENCEID
INTRASTAT_REL Relevant for Intrastat Reporting CHAR 1 0 INTRA_REL
INTRASTAT_EXCL Exclude from Intrastat Reporting CHAR 1 0 INTRA_EXCL
EXT_REV_TMSTMP Timestamp for Revision of External Calls DEC 21 7 MM_EXT_REV_TMSTMP
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