BAPIOAHEAD SAP (Header Data Outline Agreement) Structure details

Dictionary Type: Structure
Description: Header Data Outline Agreement




ABAP Code to SELECT data from BAPIOAHEAD
Related tables to BAPIOAHEAD
Access table BAPIOAHEAD




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_NOPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
DOC_CATPurchasing Document Category EBSTYPCHAR1EBSTYP
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
DOC_TYPEPurchasing Document Type ESARTCHAR4Assigned to domainBSARTBSA
DELETE_INDDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
STATUSStatus of Purchasing Document ESTAKCHAR1ESTAK
CREAT_DATEDate on Which Record Was Created ERDATDATS8DATUM
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
ITEM_INTVLItem Number Interval PINCRNUMC5PINCR
VENDORVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
LANGULanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002
LANGU_ISOISO code for language key SPRAS_ISOCHAR2LAISO
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DSCNT1_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCNT2_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCNT3_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCT_PCT1Cash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
DSCT_PCT2Cash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
PURCH_ORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
PUR_GROUPPurchasing Group BKGRPCHAR3Assigned to domainEKGRPEKG
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CURR_ISOISO code currency WAERS_ISOCHAR3ISOCD
EXCH_RATEExchange Rate WKURSDEC9(5) EXCRTKURSP
EX_RATE_FXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
DOC_DATEPurchasing Document Date EBDATDATS8DATUM
VPER_STARTStart of Validity Period KDATBDATS8DATUM
VPER_ENDEnd of Validity Period KDATEDATS8DATUM
QUOTATIONQuotation Number ANGNRCHAR10ANGNR
QUOT_DATEQuotation Submission Date IHRANDATS8DATUM
REF_1Your Reference IHREZCHAR12TEXT12
SALES_PERSResponsible Salesperson at Vendor's Office EVERKCHAR30TEXT30
TELEPHONEVendor's Telephone Number TELF0CHAR16TEXT16
SUPPL_VENDSupplying Vendor LLIEFCHAR10Assigned to domainALPHALIFNRLLI
CUSTOMERCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
AGREEMENTNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
SUPPL_PLNTSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
INCOTERMS1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
COLLECT_NOCollective Number SUBMICHAR10CHAR10
DIFF_INVDifferent Invoicing Party LIFRECHAR10Assigned to domainALPHALIFNRLRE
OUR_REFOur Reference UNSEZCHAR12TEXT12
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
SUBITEMINTItem Number Interval for Subitems UPINCNUMC5PINCR
PO_REL_INDRelease Indicator: Purchasing Document FRGKECHAR1T16FBFRGKE
REL_STATUSRelease status FRGZUCHAR8FRGZU
VAT_CNTRYCountry of Sales Tax ID Number STCEG_LCHAR3Assigned to domainLAND1LND
VAT_CNTRYIISO country code for VAT registration number STCEG_L_ISOCHAR2INTCA

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!