/SAPHT/DRMAGRDET SAP (Agreement: Detail) Structure details

Dictionary Type: Structure
Description: Agreement: Detail




ABAP Code to SELECT data from /SAPHT/DRMAGRDET
Related tables to /SAPHT/DRMAGRDET
Access table /SAPHT/DRMAGRDET




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

/SAPHT/DRMAGRDET 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 "Agreement: Detail" 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_/SAPHT/DRMAGRDET TYPE /SAPHT/DRMAGRDET.

The /SAPHT/DRMAGRDET table consists of various fields, each holding specific information or linking keys about Agreement: Detail data available in SAP. These include ITM_NUMBER (Sales Document Item), MATERIAL (Material Number), MATERIAL_DESC (Short text for sales order item), CUST_MAT22 (Customer's material number (obsolete)).. 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 /SAPHT/DRMAGRDET 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
ITM_NUMBERSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATERIAL_DESCShort text for sales order item ARKTXCHAR40TEXT40
CUST_MAT22Customer's material number (obsolete) MATNR_KU1CHAR22IDNEX_OLD
TARGET_QTYTarget quantity in sales units DZMENGQUAN13(3) MENG13
TARGET_QUTarget quantity UoM DZIEMEUNIT3Assigned to domainCUNITMEINS
REASON_REJReason for rejection of quotations and sales orders ABGRUCHAR2ABGRU
CALLED_OFF_QTYCumulative Order Quantity in Sales Units KWMENGQUAN15(3) MENG15
TARGET_KNUMHCondition record number KNUMHCHAR10KNUMB
TARGET_RATERate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
TARGET_RATE_UNITRate unit (currency or percentage) KONWACUKY5Assigned to domainWAERS
TARGET_PRICE_UNITCondition pricing unit KPEINDEC5KPEIN
TARGET_COND_UNITCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
ECUST_KNUMHCondition record number KNUMHCHAR10KNUMB
ECUST_RATERate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
ECUST_RATE_UNITRate unit (currency or percentage) KONWACUKY5Assigned to domainWAERS
ECUST_PRICE_UNITCondition pricing unit KPEINDEC5KPEIN
ECUST_COND_UNITCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
RESALE_KNUMHCondition record number KNUMHCHAR10KNUMB
RESALE_RATERate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
RESALE_RATE_UNITRate unit (currency or percentage) KONWACUKY5Assigned to domainWAERS
RESALE_PRICE_UNITCondition pricing unit KPEINDEC5KPEIN
RESALE_COND_UNITCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
BOOK_RATERate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
BOOK_RATE_UNITRate unit (currency or percentage) KONWACUKY5Assigned to domainWAERS
BOOK_PRICE_UNITCondition pricing unit KPEINDEC5KPEIN
BOOK_COND_UNITCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
COMP_RATERate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
COMP_RATE_UNITRate unit (currency or percentage) KONWACUKY5Assigned to domainWAERS
COMP_PRICE_UNITCondition pricing unit KPEINDEC5KPEIN
COMP_COND_UNITCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
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
HEADER_VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
HEADER_VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
HEADER_SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART

Key field Non-key field



How do I retrieve data from SAP structure /SAPHT/DRMAGRDET using ABAP code?

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

How to access SAP table /SAPHT/DRMAGRDET

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