MBEPOH SAP (Transfer Structure: Purchase Order Header) Structure details
Description: Transfer Structure: Purchase Order Header
Structure field list including key, data, relationships and ABAP select examples
MBEPOH is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Transfer Structure: Purchase Order Header" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_MBEPOH TYPE MBEPOH.
The MBEPOH table consists of various fields, each holding specific information or linking keys about Transfer Structure: Purchase Order Header data available in SAP. These include EBELN (Purchasing Document Number), BUKRS (Company Code), EKORG (Purchasing Organization), EKGRP (Purchasing Group).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP MBEPOH structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
STYPE | Batch Input Interface Record Type | STYPE_BI | CHAR | 1 | CHAR1 | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
BSART | Order Type (Purchasing) | BSART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
BEDAT | Purchase Order Date | BEDAT | DATS | 8 | DATUM | ||||
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
ZBD1T | Cash discount days (direct input, transfer of POs) | MZBDET | CHAR | 3 | CHAR3 | ||||
ZBD2T | Cash discount days (direct input, transfer of POs) | MZBDET | CHAR | 3 | CHAR3 | ||||
ZBD3T | Cash discount days (direct input, transfer of POs) | MZBDET | CHAR | 3 | CHAR3 | ||||
ZBD1P | Cash discount percentage 1 (direct input, transfer of POs) | MZBD1P | CHAR | 6 | CHAR6 | ||||
ZBD2P | Cash discount percentage 2 (direct input, transfer of POs) | MZBD2P | CHAR | 6 | CHAR6 | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WKURS | Exchange rate (direct input, transfer of POs) | MWKURS | CHAR | 10 | CHAR10 | ||||
KUFIX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
INCO1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCO2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
IHREZ | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
VERKF | Responsible Salesperson at Vendor's Office | EVERK | CHAR | 30 | TEXT30 | ||||
TELF1 | Vendor's Telephone Number | TELF0 | CHAR | 16 | TEXT16 | ||||
EXPVZ | Mode of Transport for Foreign Trade | EXPVZ | CHAR | 1 | Assigned to domain | EXPVZ | |||
ZOLLA | Customs Office: Office of Exit/Entry for Foreign Trade | DZOLLS | CHAR | 6 | Assigned to domain | ZOLLS | |||
NAME1 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME2 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME3 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME4 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
PSTLZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
ORT01 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
STRAS | House number and street | STRAS_GP | CHAR | 35 | TEXT35 | ||||
PFACH | PO Box | PFACH | CHAR | 10 | PFACH | ||||
PSTL2 | P.O. Box Postal Code | PSTL2 | CHAR | 10 | PSTLZ | ||||
ANRED | Title | ANRED | CHAR | 15 | TEXT15 | ||||
TELX1 | Telex number | TELX1 | CHAR | 30 | TEXT30 | ||||
TELFX | Fax Number | TELFX | CHAR | 31 | TEXT31 | ||||
TELTX | Teletex number | TELTX | CHAR | 30 | TEXT30 | ||||
DATLT | Data communication line no. | DATLT | CHAR | 14 | TEXT14 | ||||
TELBX | Telebox number | TELBX | CHAR | 15 | TEXT15 | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO |
Key field | Non-key field |
How do I retrieve data from SAP structure MBEPOH using ABAP code?
As MBEPOH is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on MBEPOH as there is no data to select.How to access SAP table MBEPOH
Within an ECC or HANA version of SAP you can also view further information about MBEPOH and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects