BAPI_DRMAGR SAP (Comm structure for DRM Agreement extracts) Structure details
Description: Comm structure for DRM Agreement extracts
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_AGR | Logical system of ship & debit agreement | /SAPHT/DRM_LS_SDAGR | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
SD_AGR_NO | Ship-and-debit agreement number | /SAPHT/DRM_SDAGRNO | CHAR | 10 | ALPHA | BELNR | |||
SD_AGR_ITM | Ship-and-debit agreement item number | /SAPHT/DRM_SDAGRITM | NUMC | 6 | Assigned to domain | POSNR | |||
TRACK_PARTNER | Tracking partner | /SAPHT/DRM_TRACK_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BUPA | |
SOLD_TO_PARTY | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
MSBOOKPARTNO | Manufacturer book part number | /SAPHT/DRM_MSBOOKPARTNO | CHAR | 18 | Assigned to domain | MATN1 | MATNR | /SAPHT/DRM_MSBOOKPRT | MAT1 |
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
SD_AGR_TYP | Ship-and-debit agreement type | /SAPHT/DRM_SDAGRTYP | CHAR | 1 | /SAPHT/DRM_SDAGRTYP | ||||
AGR_STATUS | DRM Ship and Debit agreement status | /SAPHT/DRM_AGRSTATUS | CHAR | 1 | /SAPHT/DRM_AGRSTATUS | ||||
AGR_CAL_TYP | Ship-and-debit claim amount calculation type | /SAPHT/DRM_SDAGR_CAL | CHAR | 1 | /SAPHT/DRM_SDAGR_CAL | ||||
BRANCH_FLAG | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
COND_RATE | Price protectable price condition rate | /SAPHT/DRM_COND_RATE | CURR | 11(2) | WERTV6 | ||||
COND_CURR | Price protectable price currency | /SAPHT/DRM_COND_CURR | CUKY | 5 | Assigned to domain | WAERS | |||
COND_NUMER | Numerator for converting price protectable price | /SAPHT/DRM_COND_NUMERATOR | DEC | 5 | UMBSZ | ||||
COND_DENOM | Denominator for conversion to base unit | /SAPHT/DRM_COND_DENOM | DEC | 5 | UMBSN | ||||
COND_UOM | Pricing unit of measure | /SAPHT/DRM_PRIC_UOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
COND_PRIC_UNIT | Pricing unit for price protectable price | /SAPHT/DRM_PRCUNIT | DEC | 5 | KPEIN | ||||
RESALEPRC | Resale price | /SAPHT/DRM_RESPRC | CURR | 11(2) | WERTV6 | ||||
RESALECURR | Resale price currency | /SAPHT/DRM_RESCURR | CUKY | 5 | Assigned to domain | WAERS | |||
RESALENUMER | Numerator for converting resale price | /SAPHT/DRM_RESNUMER | DEC | 5 | UMBSZ | ||||
RESALEDENOM | Denominator for conversion to base unit | /SAPHT/DRM_RESDENOM | DEC | 5 | UMBSN | ||||
RESALEUOM | Pricing unit of measure | /SAPHT/DRM_RESUOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
RESALE_PRCUNIT | Pricing Unit for Resale price | /SAPHT/DRM_RES_PRCUNIT | DEC | 5 | KPEIN | ||||
SD_AGR_RATE | Condition rate for BAPI interface | /SAPHT/DRM_BAPI_RATE | DEC | 23(4) | BAPICURR | ||||
SD_AGR_CURR | Ship-and-debit agreement rate currency | /SAPHT/DRM_SDAGRCURR | CUKY | 5 | Assigned to domain | WAERS | |||
PRIC_UNIT | Ship-and-debit agreement pricing unit | /SAPHT/DRM_AGR_PRC_UNIT | DEC | 5 | KPEIN | ||||
AGR_CON_NUM | Numerator for coversion to base unit | /SAPHT/DRM_AGR_COND_NUMER | DEC | 5 | UMBSZ | ||||
AGR_CON_DEN | Denominator for conversion to base unit of material | /SAPHT/DRM_AGR_COND_DENOM | DEC | 5 | UMBSN | ||||
SD_AGR_UOM | Unit of measure for SD Agreement | /SAPHT/DRM_SDAGRCUOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
END_CUST | DRM end customer | /SAPHT/DRM_ENDCST | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | DEBI | |
TOT_AGR_QTY | Total quantity in the agreement | /SAPHT/DRM_TOT_AGR_QTY | QUAN | 15(3) | MENG15 | ||||
CALLED_OFF_QTY | Total referenced quantity | /SAPHT/DRM_CALLED_OFF_QTY | QUAN | 15(3) | MENG15 | ||||
QTY_UNIT | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
AGR_VALID_FR | Valid-from date (outline agreements, product proposals) | GUEBG | DATS | 8 | DATUM | ||||
AGR_VALID_TO | Valid-to date (outline agreements, product proposals) | GUEEN | DATS | 8 | DATUM | ||||
BOOKING_FR | Booking Date- From | /SAPHT/DRM_BOOK_FROM | DATS | 8 | DATS | ||||
BOOKING_TO | Booking Date - To | /SAPHT/DRM_BOOK_TO | DATS | 8 | DATS | ||||
SHIPPING_FR | Shipping Date - From | /SAPHT/DRM_SHIP_FROM | DATS | 8 | DATS | ||||
SHIPPING_TO | Shipping Date - To | /SAPHT/DRM_SHIP_TO | DATS | 8 | DATS | ||||
BILLING_FR | Billing Date - From | /SAPHT/DRM_BILL_FROM | DATS | 8 | DATS | ||||
BILLING_TO | Billing Date - To | /SAPHT/DRM_BILL_TO | DATS | 8 | DATS | ||||
EXERCISE_FR | Exercise Date -To | /SAPHT/DRM_EXER_FROM | DATS | 8 | DATS | ||||
EXERCISE_TO | Exercise Date - From | /SAPHT/DRM_EXER_TO | DATS | 8 | DATS | ||||
DESIGN_REG_NO | Design registration number | /SAPHT/DRM_DESIGN_REG_NO | CHAR | 30 | CHAR30 | ||||
STSMA | Status Profile | J_STSMA | CHAR | 8 | Assigned to domain | J_STSMA | |||
ESTAT | User Status | J_ESTAT | CHAR | 5 | Assigned to domain | J_ESTAT | |||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
CREATED_DT | Created on | /SAPHT/DRM_CRDATE | DATS | 8 | DATUM | ||||
CREATED_TM | Time created | C_TIME | TIMS | 6 | UZEIT | ||||
LASTCHGDBY | Last Changed By | UPNAM | CHAR | 12 | USNAM | ||||
LASTCHGDDT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
CHANGED_TM | Last changed at | AS4TIME | TIMS | 6 | AS4TIME | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
MSBOOKPARTNO_EXTERNAL | Long Material Number for MSBOOKPARTNO Field | MGV_MSBOOKPARTNO_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MSBOOKPARTNO_GUID | External GUID for MSBOOKPARTNO Field | MGV_MSBOOKPARTNO_GUID | CHAR | 32 | MATNR_EGUID | ||||
MSBOOKPARTNO_VERSION | Version Number for MSBOOKPARTNO Field | MGV_MSBOOKPARTNO_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_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 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