/SAPSRM/S_DISTRIB SAP (Structure for distribution entry for WD context) Structure details

Dictionary Type: Structure
Description: Structure for distribution entry for WD context




ABAP Code to SELECT data from /SAPSRM/S_DISTRIB
Related tables to /SAPSRM/S_DISTRIB
Access table /SAPSRM/S_DISTRIB




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

/SAPSRM/S_DISTRIB 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 "Structure for distribution entry for WD context" 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_/SAPSRM/S_DISTRIB TYPE /SAPSRM/S_DISTRIB.

The /SAPSRM/S_DISTRIB table consists of various fields, each holding specific information or linking keys about Structure for distribution entry for WD context data available in SAP. These include CLIENT (Client), GUID (Globally Unique identifier), P_GUID (Parent GUID), DEL_IND (Deletion Indicator SRM Purchasing 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 /SAPSRM/S_DISTRIB 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
CLIENTClient EC_CLIENTCLNT3Assigned to domainMANDT
GUIDGlobally Unique identifier BBP_GUIDRAW16SYSUUID
P_GUIDParent GUID BBP_PGUIDRAW16SYSUUID
DEL_INDDeletion Indicator SRM Purchasing Document BBP_DEL_INDCHAR1XFELD
PURCHASE_ORGRelease Authorized Purchasing Org. BBP_PURCH_ORG_DISCHAR32SYSUUID_C
LOCATIONLocation BBP_LOCATION_DISCHAR32SYSUUID_C
TARGET_OBJECTObject Type in Target System BBP_TRGT_OBJTYPCHAR1BBP_TRGT_OBJTYP
TARGET_OBJECT_IDBack-End Contract Number BBP_TRGT_OBJIDCHAR10BBP_TRGT_OBJID
VALUENet Value BBP_VALUECURR15(2) WERT8
QUANTITYQuantity BBP_MENGE_PIQUAN13(3) MENG13
LOCK_INDLock Indicator BBP_LOCK_INDCHAR1BBP_LOCK_IND
DISTR_INDDistribution Indicator BBP_DISTR_INDCHAR1BBP_DISTR_IND
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FILTER_HIERFilter hierarchy based on earlier release to ERP system BBP_FILTER_HIERCHAR1BBP_FILTER_HIER
INFOUPDATEInforecord Update BBP_INFOREC_UPD_INDCHAR1BBP_INFOREC_UPD_IND
SOURCELIST_UPDATSourcelist Update indicator BBP_SOURCELIST_INDCHAR1BBP_SOURCELIST_IND
PREFERRED_SOURCEFixed Source Indicator BBP_PREFERRED_SOURCE_INDCHAR1BBP_PREFERRED_SOURCE_IND
BLOCK_SOURCEBlock Source Indicator BBP_BLOCKED_SOURCE_INDCHAR1BBP_BLOCKED_SOURCE_IND
LOCATION_DESCRFull Name of Person AD_NAMTEXTCHAR80TEXT80
LOCATION_IDBusiness Partner Number BU_PARTNERCHAR10Assigned to domainALPHABU_PARTNERBPABUPA
PUR_ORG_DESCRFull Name of Person AD_NAMTEXTCHAR80TEXT80
PUR_ORG_IDBusiness Partner Number BU_PARTNERCHAR10Assigned to domainALPHABU_PARTNERBPABUPA
DUMMY_ITEMCheckbox XFELDCHAR1XFELD
UNIT_DESCDescription of Unit of Measurement BBP_UNIT_DESCCHAR40CHAR40
UNITUnit of Measurement BBP_UNITUNIT3Assigned to domainCUNITMEINS
DEF_TAR_VALDefault Target value /SAPSRM/DFLT_TRGT_VALCHAR1XFELD
LOGSYSOriginal System COMT_LOGSYSCHAR10Assigned to domainALPHALOGSYSCOM_LOGSYSCOM_PRODUCT_LOGSYS
LOGSYS_FILogical System of FI System BBP_LOGSYS_FICHAR10Assigned to domainALPHALOGSYSBBP_BACKEND_DESTINATION_F4
PMNTTRMS_TXTTerms of Payment BBP_TEXT1_052CHAR50TEXT50
ITEM_STATECharacter field of length 40 CHAR40CHAR40CHAR40
ITEM_FLAGSingle-Character Indicator CHAR1CHAR1CHAR1

Key field Non-key field



How do I retrieve data from SAP structure /SAPSRM/S_DISTRIB using ABAP code?

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

How to access SAP table /SAPSRM/S_DISTRIB

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