/BON/AG_HEADER SAP (Agreement Header) Table details

Dictionary Type: Table
Description: Agreement Header




ABAP Code to SELECT data from /BON/AG_HEADER
Related tables to /BON/AG_HEADER
Access table /BON/AG_HEADER




Table field list including key, data, relationships and ABAP select examples

/BON/AG_HEADER is a standard SAP Table which is used to store Agreement Header data and is available within R/3 SAP systems depending on the version and release level.

The /BON/AG_HEADER table consists of various fields, each holding specific information or linking keys about Agreement Header data available in SAP. These include AG_GUID (Agreement GUID), AG_NUMBER (Agreement Number for External Display), AG_LOGSYS (System in Which the Agreement Was Created), AG_TYPE (Agreement Type).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP /BON/AG_HEADER table 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
AG_GUIDAgreement GUID /BON/AG_GUIDRAW16SYSUUID
AG_NUMBERAgreement Number for External Display /BON/AG_NUMBERCHAR10ALPHA/BON/AG_NUMBER
AG_LOGSYSSystem in Which the Agreement Was Created /BON/LOGSYSCHAR10Assigned to domainALPHALOGSYS
AG_TYPEAgreement Type /BON/AG_TYPECHAR4CHAR4
CREATED_BYName of the Person that Created the Object /BON/CREATED_BYCHAR12USNAM
CREATED_ONDate and Time At Which Object Created /BON/CREATED_ONDEC15TZNTSTMPS
CHANGED_BYName of the Person that Changed the Object /BON/CHANGED_BYCHAR12USNAM
CHANGED_ONDate and Time Object Last Changed /BON/CHANGED_ONDEC15TZNTSTMPS
SALES_ORGSales Organization CRMT_SALES_ORGCHAR14HROBJEC_14CRM_ORGMAN_SALES_ORG
DIS_CHANNELDistribution Channel CRMT_DISTRIBUTION_CHANNELCHAR2Assigned to domainCRM_DISTRIBUTION_CHANNELCRM_ORGMAN_DIS_CHANNEL
DIVISIONDivision CRMT_DIVISIONCHAR2Assigned to domainCRM_DIVISIONCRM_DIVISION
PARTNERRebate Partner /BON/AG_PARTNERRAW16SYSUUID
CURRENCYCurrency Indicator /BON/AG_CURRCUKY5Assigned to domainWAERS
STATUSRebate Status /BON/AG_STATUSCHAR1/BON/AG_BOSTA
DATE_BEGINAgreement Valid-From Date (as Time Stamp) /BON/DATE_BEGINDEC15TZNTSTMPS
DATE_ENDAgreement Valid-To Date (as Time Stamp) /BON/DATE_ENDDEC15TZNTSTMPS
COND_TYPES_GROUPCondition Maintenance Group /SAPCND/MAINT_GROUPCHAR10Assigned to domain/SAPCND/MAINT_GROUP/SAPCND/GRP
AG_TEXTAgreement Description /BON/AG_TEXTCHAR40TEXT40
PAYMENT_METHODPayment Method CRMT_BUAG_PAYMETHCHAR1Assigned to domainCRM_BUAG_PAYMETH
FRAME_OBJ_GUIDCRM Marketing Planning - Marketing Element GUID CRM_MKTPL_GUIDRAW16MKTPLCRM_MKTPL_GUID
COND_TYPECondition Type /SAPCND/COND_TYPECHAR4Assigned to domain/SAPCND/COND_TYPE/SAPCND/VKS
CR_FIX_VARIABLEIndicator for Calculation Type: Fixed or Variable Amount /BON/CR_FIX_VARIABLECHAR1/BON/CR_FIX_VARIABLE
DEL_FLAGDeletion Indicator for Agreements /BON/AG_DEL_FLAGCHAR1/BON/AG_LOEKZ
FRAME_OBJ_TYPEType of Superordinate Object/Maintenance Object /BON/FRAME_OBJECT_TYPECHAR3/BON/FRAME_OBJECT_TYPE

Key field Non-key field



How do I retrieve data from SAP table /BON/AG_HEADER using ABAP code

The following ABAP code Example will allow you to do a basic selection on /BON/AG_HEADER to SELECT all data from the table
DATA: WA_/BON/AG_HEADER TYPE /BON/AG_HEADER.

SELECT SINGLE *
FROM /BON/AG_HEADER
INTO CORRESPONDING FIELDS OF WA_/BON/AG_HEADER
WHERE...

How to access SAP table /BON/AG_HEADER

Within an ECC or HANA version of SAP you can also view further information about /BON/AG_HEADER 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!