/SAPHT/DRM_SALESDOC_AGR SAP (Ship and Debit Agreements for the Sales Document) Structure details

Dictionary Type: Structure
Description: Ship and Debit Agreements for the Sales Document




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




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

/SAPHT/DRM_SALESDOC_AGR 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 "Ship and Debit Agreements for the Sales Document" 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/DRM_SALESDOC_AGR TYPE /SAPHT/DRM_SALESDOC_AGR.

The /SAPHT/DRM_SALESDOC_AGR table consists of various fields, each holding specific information or linking keys about Ship and Debit Agreements for the Sales Document data available in SAP. These include DIST_CHNL (Distribution Channel), DIVISION (Division), SLS_DOCNO (Sales and Distribution Document Number), SLS_DOCITM (Item number of the SD document).. 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/DRM_SALESDOC_AGR 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
SALES_ORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DIST_CHNLDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
SLS_DOCNOSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
SLS_DOCITMItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
SD_AGR_NOShip-and-debit agreement number /SAPHT/DRM_SDAGRNOCHAR10ALPHABELNR
SD_AGR_ITMShip-and-debit agreement item number /SAPHT/DRM_SDAGRITMNUMC6Assigned to domainPOSNR
AGR_CLAIM_QTYCalculated bill-up claim quantity /SAPHT/DRM_CALCCLAIMQTYQUAN15(3) MENG15
QTY_UNITBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
KSCHLCondition Type KSCHLCHAR4Assigned to domainKSCHLVKS
SD_AGR_RATERate (condition amount or percentage) KBETRCURR11(2) WERTV6
SD_AGR_CURRCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
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
KWERTCondition value KWERTCURR13(2) WERTV7
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
BOOK_DATEBooking Date- From /SAPHT/DRM_BOOK_FROMDATS8DATS
SHIP_DATEShipping Date - From /SAPHT/DRM_SHIP_FROMDATS8DATS
BILL_DATEBilling Date - From /SAPHT/DRM_BILL_FROMDATS8DATS
EXER_DATEExercise Date -To /SAPHT/DRM_EXER_FROMDATS8DATS
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
AGREE_VALIDShip-and-debit agreement validity flag /SAPHT/DRM_AGR_VAL_FLGCHAR10/SAPHT/DRM_AGR_VAL_FLG

Key field Non-key field



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

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

How to access SAP table /SAPHT/DRM_SALESDOC_AGR

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