SAP ABAP Table SAPI_PO_HEADER (Step API: Header Data For Purchase Order)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-TEW (Application Component) Trading Execution Workbench
     WB2B_METHODS (Package) Methods Calls for BAPIs in Trading Execution Workbench
Basic Data
Table Category INTTAB    Structure 
Structure SAPI_PO_HEADER   Table Relationship Diagram
Short Description Step API: Header Data For Purchase Order    
Delivery and Maintenance
Pool/cluster      
Delivery Class      
Data Browser/Table View Maintenance     Display/Maintenance Allowed with Restrictions 
Components
     
Field Key Data Element Domain Data
Type
Length Decimal
Places
Short Description Check
table
1 DOC_KEY WB2_DOC_KEY   CHAR 20   0   Document Key  
2 EBELN EBELN EBELN CHAR 10   0   Purchasing Document Number *
3 EKKO WB2_EKKO   STRU 0   0    
4 .INCLUDE       0   0   Purchasing Document Header  
5 MANDT MANDT MANDT CLNT 3   0   Client  
6 EBELN EBELN EBELN CHAR 10   0   Purchasing Document Number  
7 .INCLUDE       0   0   Purchasing Document Header: Data Part  
8 BUKRS BUKRS BUKRS CHAR 4   0   Company Code  
9 BSTYP EBSTYP EBSTYP CHAR 1   0   Purchasing Document Category  
10 BSART ESART BSART CHAR 4   0   Purchasing Document Type  
11 BSAKZ BSAKZ BSAKZ CHAR 1   0   Control indicator for purchasing document type  
12 LOEKZ ELOEK ELOEK CHAR 1   0   Deletion indicator in purchasing document  
13 STATU ESTAK ESTAK CHAR 1   0   Status of Purchasing Document  
14 AEDAT ERDAT DATUM DATS 8   0   Date on which the record was created  
15 ERNAM ERNAM USNAM CHAR 12   0   Name of Person who Created the Object  
16 PINCR PINCR PINCR NUMC 5   0   Item Number Interval  
17 LPONR LPONR EBELP NUMC 5   0   Last Item Number  
18 LIFNR ELIFN LIFNR CHAR 10   0   Vendor's account number  
19 SPRAS SPRAS SPRAS LANG 1   0   Language Key  
20 ZTERM DZTERM ZTERM CHAR 4   0   Terms of payment key  
21 ZBD1T DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
22 ZBD2T DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
23 ZBD3T DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
24 ZBD1P DZBD1P PRZ23 DEC 5   3   Cash discount percentage 1  
25 ZBD2P DZBD2P PRZ23 DEC 5   3   Cash Discount Percentage 2  
26 EKORG EKORG EKORG CHAR 4   0   Purchasing organization  
27 EKGRP BKGRP EKGRP CHAR 3   0   Purchasing Group  
28 WAERS WAERS WAERS CUKY 5   0   Currency Key  
29 WKURS WKURS KURSP DEC 9   5   Exchange Rate  
30 KUFIX KUFIX XFELD CHAR 1   0   Indicator: Fixing of Exchange Rate  
31 BEDAT EBDAT DATUM DATS 8   0   Purchasing Document Date  
32 KDATB KDATB DATUM DATS 8   0   Start of Validity Period  
33 KDATE KDATE DATUM DATS 8   0   End of Validity Period  
34 BWBDT BWBDT DATUM DATS 8   0   Closing Date for Applications  
35 ANGDT ANGAB DATUM DATS 8   0   Deadline for Submission of Bid/Quotation  
36 BNDDT EBNDT DATUM DATS 8   0   Binding Period for Quotation  
37 GWLDT MM_GWLDT DATUM DATS 8   0   Warranty Date  
38 AUSNR AUSCH EBELN CHAR 10   0   Bid invitation number  
39 ANGNR ANGNR ANGNR CHAR 10   0   Quotation Number  
40 IHRAN IHRAN DATUM DATS 8   0   Quotation Submission Date  
41 IHREZ IHREZ TEXT12 CHAR 12   0   Your Reference  
42 VERKF EVERK TEXT30 CHAR 30   0   Responsible Salesperson at Vendor's Office  
43 TELF1 TELF0 TEXT16 CHAR 16   0   Vendor's Telephone Number  
44 LLIEF LLIEF LIFNR CHAR 10   0   Supplying Vendor  
45 KUNNR KUNNR KUNNR CHAR 10   0   Customer Number  
46 KONNR KONNR EBELN CHAR 10   0   Number of principal purchase agreement  
47 ABGRU ABDUM CHAR2 CHAR 2   0   Field Not Used  
48 AUTLF KMPLF XFELD CHAR 1   0   Complete Delivery Stipulated for Each Purchase Order  
49 WEAKT WEAKT XFELD CHAR 1   0   Indicator: Goods Receipt Message  
50 RESWK RESWK WERKS CHAR 4   0   Supplying (issuing) plant in case of stock transport order  
51 LBLIF LBLIF LIFNR CHAR 10   0   Field not used  
52 INCO1 INCO1 INCO1 CHAR 3   0   Incoterms (part 1)  
53 INCO2 INCO2 INCO2 CHAR 28   0   Incoterms (part 2)  
54 KTWRT KTWRT WERT15 CURR 15   2   Target Value for Header Area per Distribution  
55 SUBMI SUBMI CHAR10 CHAR 10   0   Collective Number  
56 KNUMV KNUMV KNUMV CHAR 10   0   Number of the document condition  
57 KALSM KALSM_D KALSM CHAR 6   0   Procedure (Pricing, Output Control, Acct. Det., Costing,...)  
58 STAFO STAFO STAFO CHAR 6   0   Update group for statistics update  
59 LIFRE LIFRE LIFNR CHAR 10   0   Different Invoicing Party  
60 EXNUM EXNUM EXNUM CHAR 10   0   Number of foreign trade data in MM and SD documents  
61 UNSEZ UNSEZ TEXT12 CHAR 12   0   Our Reference  
62 LOGSY LOGSYSTEM LOGSYS CHAR 10   0   Logical System  
63 UPINC UPINC PINCR NUMC 5   0   Item Number Interval for Subitems  
64 STAKO STAKO XFELD CHAR 1   0   Document with time-dependent conditions  
65 FRGGR FRGGR FRGGR CHAR 2   0   Release group  
66 FRGSX FRGSX FRGSX CHAR 2   0   Release Strategy  
67 FRGKE FRGKE FRGKE CHAR 1   0   Release Indicator: Purchasing Document  
68 FRGZU FRGZU FRGZU CHAR 8   0   Release status  
69 FRGRL FRGRL XFELD CHAR 1   0   Release Not Yet Completely Effected  
70 LANDS LAND1_STML LAND1 CHAR 3   0   Country for Tax Return  
71 LPHIS LPHIS XFELD CHAR 1   0   Indicator for scheduling agreement release documentation  
72 ADRNR AD_ADDRNUM AD_ADDRNUM CHAR 10   0   Address number  
73 STCEG_L STCEG_L LAND1 CHAR 3   0   Country of sales tax ID number  
74 STCEG STCEG STCEG CHAR 20   0   VAT Registration Number  
75 ABSGR ABSGR NUMC02 NUMC 2   0   Reason for Cancellation  
76 ADDNR ADDI_BELNR ADDI_BELNR CHAR 10   0   Document number for additional  
77 KORNR KORNR KORNR CHAR 1   0   Correction of miscellaneous provisions  
78 MEMORY MEMER XFELD CHAR 1   0   Purchase order not yet complete  
79 PROCSTAT MEPROCSTATE MEPROCSTATE CHAR 2   0   Purchasing document processing state  
80 RLWRT RLWRT WERT15 CURR 15   2   Total value at time of release  
81 REVNO REVNO REVNO CHAR 8   0   Version number in Purchasing  
82 SCMPROC SCMPROC CHAR1 CHAR 1   0   SCM Process That Created the Purchase Order  
83 REASON_CODE /SAPPSPRO/_GR_REASON_CODE /SAPPSPRO/_GR_REASON_CODE CHAR 4   0   Goods Receipt Reason Code  
84 MEMORYTYPE MEMORYTYPE MM_MEMORYTYPE CHAR 1   0   Category of Incompleteness  
85 RETTP RETTP RET_TYPE CHAR 1   0   Retention Indicator  
86 RETPC RETPZ PRZ32 DEC 5   2   Retention in Percent  
87 DPTYP ME_DPTYP ME_DPTYPE_DOMAIN CHAR 4   0   Down Payment Indicator  
88 DPPCT ME_DPPCNT PRZ32 DEC 5   2   Down Payment Percentage  
89 DPAMT ME_DPAMNT WERT11 CURR 11   2   Down Payment Amount in Document Currency  
90 DPDAT ME_DPDDAT DATS DATS 8   0   Due Date for Down Payment  
91 MSR_ID MSR_PROCESS_ID MSR_PROCESS_ID CHAR 10   0   Process Identification Number  
92 HIERARCHY_EXISTS HIERARCHY_EXISTS XFELD CHAR 1   0   Part of a Contract Hierarchy  
93 THRESHOLD_EXISTS EX_RATE_THRESHOLD XFELD CHAR 1   0   Threshold Value for Exchange Rates Exists  
94 LEGAL_CONTRACT LEGAL_CONTRACT_ID CHAR040 CHAR 40   0   Legal Contract Number  
95 DESCRIPTION CONTRACT_DESCRIPTION TEXT40 CHAR 40   0   Contract Name  
96 RELEASE_DATE RELEASE_DATE DATUM DATS 8   0   Release Date of Contract  
97 VSART VERSART VERSART CHAR 2   0   Shipping type  
98 HANDOVERLOC HANDOVER_LOC HANDOVER_LOC CHAR 10   0   Location for a physical handover of goods  
99 .INCLU--AP       0   0   Append to EKKO for DFPS  
100 .INCLUDE       0   0   Relocation: Structure for Enhancing Logistics Documents  
101 FORCE_ID /ISDFPS/FORCE_ID SYSUUID_C CHAR 32   0   Internal Key for Force Element  
102 FORCE_CNT /ISDFPS/FORCE_CNT NUMC6 NUMC 6   0   Internal (Version) Counter  
103 RELOC_ID /ISDFPS/RELOC_ID /ISDFPS/RELOC_ID CHAR 10   0   Relocation ID  
104 RELOC_SEQ_ID /ISDFPS/RELOC_SEQ_ID /ISDFPS/RELOC_SEQ_ID CHAR 4   0   Relocation Step ID  
105 .INCLUDE       0   0    
106 .INCLU--AP       0   0   EKKO Enhancement Seasonal Procurement: Procurement  
107 .INCLUDE       0   0   EKKO Enhancement: PO Handling  
108 POHF_TYPE WRF_POHF_TYPE WRF_POHF_TYPE CHAR 1   0   Document for Seasonal Purchase Order Processing  
109 EQ_EINDT WRF_POHF_EQ_EINDT DATUM DATS 8   0   Delivery Date Header: All Items Have Same Delivery Date  
110 EQ_WERKS WRF_POHF_EQ_EWERK WERKS CHAR 4   0   Plant Header: All Items Have Same Receiving Plant  
111 FIXPO WRF_POHF_FIXPO WRF_POHF_FIXPO_X CHAR 1   0   Firm Deal Indicator  
112 .INCLUDE       0   0   Structure for Grouping Criteria  
113 EKGRP_ALLOW WRF_POHF_EKGRP_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Purch. Group  
114 WERKS_ALLOW WRF_POHF_WERKS_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Plants  
115 CONTRACT_ALLOW WRF_POHF_CONTRACT_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Contracts  
116 PSTYP_ALLOW WRF_POHF_PSTYP_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Item Categories  
117 FIXPO_ALLOW WRF_POHF_FIXPO_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Fixed-Date Purchases Indicator  
118 KEY_ID_ALLOW WRF_POHF_KEY_ID_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Consider Budget  
119 AUREL_ALLOW WRF_POHF_AUREL_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Alloc. Table Relevance  
120 DELPER_ALLOW WRF_POHF_DELPER_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Dlvy Period  
121 EINDT_ALLOW WRF_POHF_EINDT_ALLOW WRF_POHF_CHAR_1_2 CHAR 1   0   Take Account of Delivery Date  
122 .INCLUDE       0   0   EKKO Enhancement: OTB  
123 OTB_LEVEL WRF_POTB_CHECK_LEVEL WRF_POTB_CHECK_LEVEL CHAR 1   0   OTB Check Level  
124 OTB_COND_TYPE WRF_POTB_COND_TYPE KSCHL CHAR 4   0   OTB Condition Type  
125 .INCLUDE       0   0   OTB-Relevant Data  
126 KEY_ID WRF_BUDG_KEY_ID WRF_BUDG_KEY_ID NUMC 16   0   Unique Number of Budget  
127 OTB_VALUE WRF_POTB_VALUE WRF_POTB_VALUE CURR 17   2   Required Budget  
128 .INCLUDE       0   0   OTB Currency  
129 OTB_CURR WRF_POTB_CURRENCY WAERS CUKY 5   0   OTB Currency  
130 OTB_RES_VALUE WRF_POTB_RES_VALUE WRF_POTB_RES_VALUE CURR 17   2   Reserved Budget for OTB-Relevant Purchasing Document  
131 OTB_SPEC_VALUE WRF_POTB_SPECIAL_VALUE WRF_POTB_SPECIAL_VALUE CURR 17   2   Special Release Budget  
132 SPR_RSN_PROFILE WRF_POTB_SPR_RSN_PROFILE WRF_POTB_SPR_RSN_PROFILE CHAR 4   0   Reason Profile for OTB Special Release  
133 BUDG_TYPE WRF_BUDG_TYPE WRF_BUDG_TYPE CHAR 2   0   Budget Type  
134 OTB_STATUS WRF_POTB_STATUS WRF_POTB_STATUS CHAR 1   0   OTB Check Status  
135 OTB_REASON WRF_POTB_STATUS_REASON WRF_POTB_STATUS_REASON CHAR 3   0   Reason Indicator for OTB Check Status  
136 CHECK_TYPE WRF_BUDG_OTB_CHECK WRF_BUDG_OTB_CHECK CHAR 1   0   Type of OTB Check  
137 .INCLUDE       0   0   Add-On Data for Contracts  
138 CON_OTB_REQ WRF_POTB_CON_REQ CHAR1_X CHAR 1   0   OTB-Relevant Contract  
139 CON_PREBOOK_LEV WRF_POTB_PREBOOK_LEVEL WRF_POTB_PREBOOK_LEVEL CHAR 1   0   OTB Indicator Level for Contracts  
140 CON_DISTR_LEV WRF_POTB_DISTRIB_LEVEL WRF_POTB_DISTRIB_LEVEL CHAR 1   0   Distribution Using Target Value or Item Data  
141 .INCLU-_GT       0   0   Purchasing Data Header Dynamic Part  
142 FILTERED_OUT_GT WB2_FILTERED_OUT WB2_FILTERED_OUT CHAR 1   0   Filtered Out  
143 EXTERNAL_NO_GT TKONN_EX TKONN_EX CHAR 30   0   Trading Contract: External Document Number  
144 STEP_STATUS_GT WB2_STEP_STA WB2_STEP_STA CHAR 2   0   Application Step Status  
145 STEP_STATUS_T_GT WB2_STEP_STA_T WB2_TEXT CHAR 40   0   Application Step Status: description  
146 STOCK_TYPE_GT WB2_STOCK_TYPE WB2_STOCK_TYPE CHAR 2   0   Global Trade: Stock Type  
147 SCENARIO_GT WB2_BUSINESS_SCENARIO WB2_BUSINESS_SCENARIO CHAR 2   0   Business Scenario  
148 .INCLUDE       0   0   Dynamic Part of Data for Subsequent Action  
149 ASSOC_QUAN_B WB2_ASSOCIATED_QUAN MENGV15 QUAN 15   3   Assoc. Mngt: Actually Associated Quantity of an Item  
150 UNIT_OF_QUAN_B MEINS MEINS UNIT 3   0   Base Unit of Measure *
151 ASSOC_QUAN_S WB2_ASSOCIATED_QUAN MENGV15 QUAN 15   3   Assoc. Mngt: Actually Associated Quantity of an Item  
152 UNIT_OF_QUAN_S MEINS MEINS UNIT 3   0   Base Unit of Measure *
153 ASSOC_QUAN_P WB2_ASSOCIATED_QUAN MENGV15 QUAN 15   3   Assoc. Mngt: Actually Associated Quantity of an Item  
154 UNIT_OF_QUAN_P MEINS MEINS UNIT 3   0   Base Unit of Measure *
155 PORTFOLIO WB2_PORTFOLIO KNUMB CHAR 10   0   Global Trade: (Internal) Portfolio Number  
156 .INCLUDE       0   0   Purchase Order Header Data  
157 PO_NUMBER EBELN EBELN CHAR 10   0   Purchasing Document Number *
158 COMP_CODE BUKRS BUKRS CHAR 4   0   Company Code *
159 DOC_TYPE ESART BSART CHAR 4   0   Purchasing Document Type *
160 DELETE_IND ELOEK ELOEK CHAR 1   0   Deletion indicator in purchasing document  
161 STATUS ESTAK ESTAK CHAR 1   0   Status of Purchasing Document  
162 CREAT_DATE ERDAT DATUM DATS 8   0   Date on which the record was created  
163 CREATED_BY ERNAM USNAM CHAR 12   0   Name of Person who Created the Object  
164 ITEM_INTVL PINCR PINCR NUMC 5   0   Item Number Interval  
165 VENDOR ELIFN LIFNR CHAR 10   0   Vendor's account number *
166 LANGU SPRAS SPRAS LANG 1   0   Language Key *
167 LANGU_ISO SPRAS_ISO LAISO CHAR 2   0   ISO code for language key  
168 PMNTTRMS DZTERM ZTERM CHAR 4   0   Terms of payment key  
169 DSCNT1_TO DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
170 DSCNT2_TO DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
171 DSCNT3_TO DZBDET ZBDXT DEC 3   0   Cash (Prompt Payment) Discount Days  
172 DSCT_PCT1 DZBD1P PRZ23 DEC 5   3   Cash discount percentage 1  
173 DSCT_PCT2 DZBD2P PRZ23 DEC 5   3   Cash Discount Percentage 2  
174 PURCH_ORG EKORG EKORG CHAR 4   0   Purchasing organization *
175 PUR_GROUP BKGRP EKGRP CHAR 3   0   Purchasing Group *
176 CURRENCY WAERS WAERS CUKY 5   0   Currency Key *
177 CURRENCY_ISO WAERS_ISO ISOCD CHAR 3   0   ISO code currency  
178 EXCH_RATE WKURS KURSP DEC 9   5   Exchange Rate  
179 EX_RATE_FX KUFIX XFELD CHAR 1   0   Indicator: Fixing of Exchange Rate  
180 DOC_DATE EBDAT DATUM DATS 8   0   Purchasing Document Date  
181 VPER_START KDATB DATUM DATS 8   0   Start of Validity Period  
182 VPER_END KDATE DATUM DATS 8   0   End of Validity Period  
183 WARRANTY MM_GWLDT DATUM DATS 8   0   Warranty Date  
184 QUOTATION ANGNR ANGNR CHAR 10   0   Quotation Number  
185 QUOT_DATE IHRAN DATUM DATS 8   0   Quotation Submission Date  
186 REF_1 IHREZ TEXT12 CHAR 12   0   Your Reference  
187 SALES_PERS EVERK TEXT30 CHAR 30   0   Responsible Salesperson at Vendor's Office  
188 TELEPHONE TELF0 TEXT16 CHAR 16   0   Vendor's Telephone Number  
189 SUPPL_VEND LLIEF LIFNR CHAR 10   0   Supplying Vendor *
190 CUSTOMER KUNNR KUNNR CHAR 10   0   Customer Number *
191 AGREEMENT KONNR EBELN CHAR 10   0   Number of principal purchase agreement *
192 GR_MESSAGE WEAKT XFELD CHAR 1   0   Indicator: Goods Receipt Message  
193 SUPPL_PLNT RESWK WERKS CHAR 4   0   Supplying (issuing) plant in case of stock transport order *
194 INCOTERMS1 INCO1 INCO1 CHAR 3   0   Incoterms (part 1) *
195 INCOTERMS2 INCO2 INCO2 CHAR 28   0   Incoterms (part 2)  
196 COLLECT_NO SUBMI CHAR10 CHAR 10   0   Collective Number  
197 DIFF_INV LIFRE LIFNR CHAR 10   0   Different Invoicing Party *
198 OUR_REF UNSEZ TEXT12 CHAR 12   0   Our Reference  
199 LOGSYSTEM LOGSYSTEM LOGSYS CHAR 10   0   Logical System *
200 SUBITEMINT UPINC PINCR NUMC 5   0   Item Number Interval for Subitems  
201 PO_REL_IND FRGKE FRGKE CHAR 1   0   Release Indicator: Purchasing Document T16FB
202 REL_STATUS FRGZU FRGZU CHAR 8   0   Release status  
203 VAT_CNTRY STCEG_L LAND1 CHAR 3   0   Country of sales tax ID number *
204 VAT_CNTRY_ISO STCEG_L_ISO INTCA CHAR 2   0   ISO country code for VAT registration number  
205 REASON_CANCEL ABSGR NUMC02 NUMC 2   0   Reason for Cancellation T165R
206 REASON_CODE /SAPPSPRO/_GR_REASON_CODE /SAPPSPRO/_GR_REASON_CODE CHAR 4   0   Goods Receipt Reason Code  
207 RETENTION_TYPE RETTP RET_TYPE CHAR 1   0   Retention Indicator  
208 RETENTION_PERCENTAGE RETPZ PRZ32 DEC 5   2   Retention in Percent  
209 DOWNPAY_TYPE ME_DPTYP ME_DPTYPE_DOMAIN CHAR 4   0   Down Payment Indicator  
210 DOWNPAY_AMOUNT BAPIMEDOWNPAY BAPICURR DEC 23   4   Down Payment Amount in BAPI  
211 DOWNPAY_PERCENT ME_DPPCNT PRZ32 DEC 5   2   Down Payment Percentage  
212 DOWNPAY_DUEDATE ME_DPDDAT DATS DATS 8   0   Due Date for Down Payment  
213 MEMORY MEMER XFELD CHAR 1   0   Purchase order not yet complete  
214 MEMORYTYPE MEMORYTYPE MM_MEMORYTYPE CHAR 1   0   Category of Incompleteness  
215 SHIPTYPE VERSART VERSART CHAR 2   0   Shipping type *
216 HANDOVERLOC HANDOVER_LOC HANDOVER_LOC CHAR 10   0   Location for a physical handover of goods  
Foreign Keys
Source Table Source Column Foreign Table Foreign Column Dependency Factor Cardinality left Cardinality right
1 SAPI_PO_HEADER PO_REL_IND T16FB FRGKE    
2 SAPI_PO_HEADER REASON_CANCEL T165R ABSGR    
History
Last changed by/on SAP  20130529 
SAP Release Created in 46C