BAPIAGRMNT SAP (BAPI Structure for Agreements) Structure details

Dictionary Type: Structure
Description: BAPI Structure for Agreements




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




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

BAPIAGRMNT 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 "BAPI Structure for Agreements" 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_BAPIAGRMNT TYPE BAPIAGRMNT.

The BAPIAGRMNT table consists of various fields, each holding specific information or linking keys about BAPI Structure for Agreements data available in SAP. These include AGREE_COND (Agreement (various conditions grouped together)), SALES_ORG (Sales Organization), DISTR_CHAN (Distribution Channel), DIVISION (Division).. 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: Cannot Be Enhanced


SAP BAPIAGRMNT 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
OPERATIONFunction MSGFNCHAR3MSGFN
AGREE_CONDAgreement (various conditions grouped together) KNUMACHAR10Assigned to domainALPHAKNUMAVMBO
SALES_ORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
AGR_TYPEAgreement type BOARTCHAR4Assigned to domainBOARTVBA
CATEGORYCategory of the rebate agreement BOABTYPCHAR1ABTYP
APPLICATIOApplication KAPPLCHAR2Assigned to domainKAPPLKAP
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
CREAT_DATEDate on Which Record Was Created ERDATDATS8DATUM
CREAT_TIMEEntry time ERZETTIMS6UZEIT
CHANGED_BYName of Person Who Changed Object AENAMCHAR12USNAM
CHANG_DATEChanged On AEDATDATS8DATUM
CHANG_TIMETime last change was made AEZETTIMS6UZEIT
RECIPIENTRebate recipient BONEMCHAR10Assigned to domainALPHAKUNNRVBE
AGRMT_CURRCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
AGCURR_ISOISO Currency Code BAPIISOCDCHAR3ISOCD
EX_DESCRExternal description for agreement ABREXCHAR20CHAR20
STATOFAGREStatus of the agreement BOSTACHAR1BOSTA
VALID_FROMAgreement valid-from date ABDATABDATS8DATUM
VALID_TOAgreement valid-to date ABDATBIDATS8DATUM
COND_GROUPCondition type/table group for agreements KOBOGCHAR4Assigned to domainKOBOG
AGRMT_TEXTDescription of agreement (e.g. sales deal, promotion) BOTEXTCHAR40TEXT40
PAY_METHODPayment Method DZLSCHCHAR1Assigned to domainZLSCH
FRMOBJ_TYPFrame Object/Maintenance Object for Agreement AGR_FRAME_OBJECT_TYPECHAR1AGR_FRAME_OBJECT_TYPE
FRMOBJ_KEYFrame Object/Maintenance Object for Agreement AGR_FRAME_OBJECT_KEYCHAR10AGR_FRAME_OBJECT_KEY
DEL_FLAGDeletion Indicator for Agreement AGR_DELCHAR1AGR_DEL
PAY_EXTERNOnly External Payment Allowed PAY_EXTERNCHAR1PAY_EXTERN

Key field Non-key field



How do I retrieve data from SAP structure BAPIAGRMNT using ABAP code?

As BAPIAGRMNT 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 BAPIAGRMNT as there is no data to select.

How to access SAP table BAPIAGRMNT

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