BAPIOAHEAD SAP (Header Data Outline Agreement) Structure details
Description: Header Data Outline Agreement
Structure field list including key, data, relationships and ABAP select examples
BAPIOAHEAD 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 "Header Data Outline Agreement" 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_BAPIOAHEAD TYPE BAPIOAHEAD.
The BAPIOAHEAD table consists of various fields, each holding specific information or linking keys about Header Data Outline Agreement data available in SAP. These include DOC_CAT (Purchasing Document Category), COMP_CODE (Company Code), DOC_TYPE (Purchasing Document Type), DELETE_IND (Deletion Indicator in Purchasing Document).. 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 BAPIOAHEAD 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 |
AGMT_NO | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
DOC_CAT | Purchasing Document Category | EBSTYP | CHAR | 1 | EBSTYP | ||||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
DOC_TYPE | Purchasing Document Type | ESART | CHAR | 4 | Assigned to domain | BSART | BSA | ||
DELETE_IND | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
STATUS | Status of Purchasing Document | ESTAK | CHAR | 1 | ESTAK | ||||
CREAT_DATE | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ITEM_INTVL | Item Number Interval | PINCR | NUMC | 5 | PINCR | ||||
VENDOR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
LANGU | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
LANGU_ISO | ISO code for language key | SPRAS_ISO | CHAR | 2 | LAISO | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
DSCNT1_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCNT2_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCNT3_TO | Cash (Prompt Payment) Discount Days | DZBDET | DEC | 3 | ZBDXT | ||||
DSCT_PCT1 | Cash Discount Percentage 1 | DZBD1P | DEC | 5(3) | PRZ23 | ||||
DSCT_PCT2 | Cash Discount Percentage 2 | DZBD2P | DEC | 5(3) | PRZ23 | ||||
PURCH_ORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
PUR_GROUP | Purchasing Group | BKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
CURR_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
EXCH_RATE | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
EX_RATE_FX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
DOC_DATE | Purchasing Document Date | EBDAT | DATS | 8 | DATUM | ||||
VPER_START | Start of Validity Period | KDATB | DATS | 8 | DATUM | ||||
VPER_END | End of Validity Period | KDATE | DATS | 8 | DATUM | ||||
QUOTATION | Quotation Number | ANGNR | CHAR | 10 | ANGNR | ||||
QUOT_DATE | Quotation Submission Date | IHRAN | DATS | 8 | DATUM | ||||
REF_1 | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
SALES_PERS | Responsible Salesperson at Vendor's Office | EVERK | CHAR | 30 | TEXT30 | ||||
TELEPHONE | Vendor's Telephone Number | TELF0 | CHAR | 16 | TEXT16 | ||||
SUPPL_VEND | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI | |
CUSTOMER | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
AGREEMENT | Number of Principal Purchase Agreement | KONNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | KTR | |
SUPPL_PLNT | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | Assigned to domain | WERKS | |||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | Assigned to domain | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
COLLECT_NO | Collective Number | SUBMI | CHAR | 10 | CHAR10 | ||||
DIFF_INV | Different Invoicing Party | LIFRE | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LRE | |
OUR_REF | Our Reference | UNSEZ | CHAR | 12 | TEXT12 | ||||
LOGSYSTEM | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
SUBITEMINT | Item Number Interval for Subitems | UPINC | NUMC | 5 | PINCR | ||||
PO_REL_IND | Release Indicator: Purchasing Document | FRGKE | CHAR | 1 | T16FB | FRGKE | |||
REL_STATUS | Release status | FRGZU | CHAR | 8 | FRGZU | ||||
VAT_CNTRY | Country of Sales Tax ID Number | STCEG_L | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
VAT_CNTRYI | ISO country code for VAT registration number | STCEG_L_ISO | CHAR | 2 | INTCA |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIOAHEAD using ABAP code?
As BAPIOAHEAD 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 BAPIOAHEAD as there is no data to select.How to access SAP table BAPIOAHEAD
Within an ECC or HANA version of SAP you can also view further information about BAPIOAHEAD 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