BAPI_DRMAGR SAP (Comm structure for DRM Agreement extracts) Structure details

Dictionary Type: Structure
Description: Comm structure for DRM Agreement extracts




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




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

BAPI_DRMAGR 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 "Comm structure for DRM Agreement extracts" 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_BAPI_DRMAGR TYPE BAPI_DRMAGR.

The BAPI_DRMAGR table consists of various fields, each holding specific information or linking keys about Comm structure for DRM Agreement extracts data available in SAP. These include SD_AGR_NO (Ship-and-debit agreement number), SD_AGR_ITM (Ship-and-debit agreement item number), TRACK_PARTNER (Tracking partner), SOLD_TO_PARTY (Customer Numbers).. 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 BAPI_DRMAGR 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
LS_SD_AGRLogical system of ship & debit agreement /SAPHT/DRM_LS_SDAGRCHAR10Assigned to domainALPHALOGSYS
SD_AGR_NOShip-and-debit agreement number /SAPHT/DRM_SDAGRNOCHAR10ALPHABELNR
SD_AGR_ITMShip-and-debit agreement item number /SAPHT/DRM_SDAGRITMNUMC6Assigned to domainPOSNR
TRACK_PARTNERTracking partner /SAPHT/DRM_TRACK_PARTNERCHAR10Assigned to domainALPHABU_PARTNERBUPA
SOLD_TO_PARTYCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
MSBOOKPARTNOManufacturer book part number /SAPHT/DRM_MSBOOKPARTNOCHAR18Assigned to domainMATN1MATNR/SAPHT/DRM_MSBOOKPRTMAT1
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
SD_AGR_TYPShip-and-debit agreement type /SAPHT/DRM_SDAGRTYPCHAR1/SAPHT/DRM_SDAGRTYP
AGR_STATUSDRM Ship and Debit agreement status /SAPHT/DRM_AGRSTATUSCHAR1/SAPHT/DRM_AGRSTATUS
AGR_CAL_TYPShip-and-debit claim amount calculation type /SAPHT/DRM_SDAGR_CALCHAR1/SAPHT/DRM_SDAGR_CAL
BRANCH_FLAGSingle-Character Indicator CHAR1CHAR1CHAR1
COND_RATEPrice protectable price condition rate /SAPHT/DRM_COND_RATECURR11(2) WERTV6
COND_CURRPrice protectable price currency /SAPHT/DRM_COND_CURRCUKY5Assigned to domainWAERS
COND_NUMERNumerator for converting price protectable price /SAPHT/DRM_COND_NUMERATORDEC5UMBSZ
COND_DENOMDenominator for conversion to base unit /SAPHT/DRM_COND_DENOMDEC5UMBSN
COND_UOMPricing unit of measure /SAPHT/DRM_PRIC_UOMUNIT3Assigned to domainCUNITMEINS
COND_PRIC_UNITPricing unit for price protectable price /SAPHT/DRM_PRCUNITDEC5KPEIN
RESALEPRCResale price /SAPHT/DRM_RESPRCCURR11(2) WERTV6
RESALECURRResale price currency /SAPHT/DRM_RESCURRCUKY5Assigned to domainWAERS
RESALENUMERNumerator for converting resale price /SAPHT/DRM_RESNUMERDEC5UMBSZ
RESALEDENOMDenominator for conversion to base unit /SAPHT/DRM_RESDENOMDEC5UMBSN
RESALEUOMPricing unit of measure /SAPHT/DRM_RESUOMUNIT3Assigned to domainCUNITMEINS
RESALE_PRCUNITPricing Unit for Resale price /SAPHT/DRM_RES_PRCUNITDEC5KPEIN
SD_AGR_RATECondition rate for BAPI interface /SAPHT/DRM_BAPI_RATEDEC23(4) BAPICURR
SD_AGR_CURRShip-and-debit agreement rate currency /SAPHT/DRM_SDAGRCURRCUKY5Assigned to domainWAERS
PRIC_UNITShip-and-debit agreement pricing unit /SAPHT/DRM_AGR_PRC_UNITDEC5KPEIN
AGR_CON_NUMNumerator for coversion to base unit /SAPHT/DRM_AGR_COND_NUMERDEC5UMBSZ
AGR_CON_DENDenominator for conversion to base unit of material /SAPHT/DRM_AGR_COND_DENOMDEC5UMBSN
SD_AGR_UOMUnit of measure for SD Agreement /SAPHT/DRM_SDAGRCUOMUNIT3Assigned to domainCUNITMEINS
END_CUSTDRM end customer /SAPHT/DRM_ENDCSTCHAR10Assigned to domainALPHABU_PARTNERDEBI
TOT_AGR_QTYTotal quantity in the agreement /SAPHT/DRM_TOT_AGR_QTYQUAN15(3) MENG15
CALLED_OFF_QTYTotal referenced quantity /SAPHT/DRM_CALLED_OFF_QTYQUAN15(3) MENG15
QTY_UNITBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
AGR_VALID_FRValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
AGR_VALID_TOValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
BOOKING_FRBooking Date- From /SAPHT/DRM_BOOK_FROMDATS8DATS
BOOKING_TOBooking Date - To /SAPHT/DRM_BOOK_TODATS8DATS
SHIPPING_FRShipping Date - From /SAPHT/DRM_SHIP_FROMDATS8DATS
SHIPPING_TOShipping Date - To /SAPHT/DRM_SHIP_TODATS8DATS
BILLING_FRBilling Date - From /SAPHT/DRM_BILL_FROMDATS8DATS
BILLING_TOBilling Date - To /SAPHT/DRM_BILL_TODATS8DATS
EXERCISE_FRExercise Date -To /SAPHT/DRM_EXER_FROMDATS8DATS
EXERCISE_TOExercise Date - From /SAPHT/DRM_EXER_TODATS8DATS
DESIGN_REG_NODesign registration number /SAPHT/DRM_DESIGN_REG_NOCHAR30CHAR30
STSMAStatus Profile J_STSMACHAR8Assigned to domainJ_STSMA
ESTATUser Status J_ESTATCHAR5Assigned to domainJ_ESTAT
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
CREATED_DTCreated on /SAPHT/DRM_CRDATEDATS8DATUM
CREATED_TMTime created C_TIMETIMS6UZEIT
LASTCHGDBYLast Changed By UPNAMCHAR12USNAM
LASTCHGDDTChanged On AEDATDATS8DATUM
CHANGED_TMLast changed at AS4TIMETIMS6AS4TIME
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS
MSBOOKPARTNO_EXTERNALLong Material Number for MSBOOKPARTNO Field MGV_MSBOOKPARTNO_EXTERNALCHAR40MATNR_EXT
MSBOOKPARTNO_GUIDExternal GUID for MSBOOKPARTNO Field MGV_MSBOOKPARTNO_GUIDCHAR32MATNR_EGUID
MSBOOKPARTNO_VERSIONVersion Number for MSBOOKPARTNO Field MGV_MSBOOKPARTNO_VERSIONCHAR10MATNWMATNR_VERS
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT

Key field Non-key field



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

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

How to access SAP table BAPI_DRMAGR

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