/SAPSRM/S_DISTRIB SAP (Structure for distribution entry for WD context) Structure details
Description: Structure for distribution entry for WD context
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 |
CLIENT | Client | EC_CLIENT | CLNT | 3 | Assigned to domain | MANDT | |||
GUID | Globally Unique identifier | BBP_GUID | RAW | 16 | SYSUUID | ||||
P_GUID | Parent GUID | BBP_PGUID | RAW | 16 | SYSUUID | ||||
DEL_IND | Deletion Indicator SRM Purchasing Document | BBP_DEL_IND | CHAR | 1 | XFELD | ||||
PURCHASE_ORG | Release Authorized Purchasing Org. | BBP_PURCH_ORG_DIS | CHAR | 32 | SYSUUID_C | ||||
LOCATION | Location | BBP_LOCATION_DIS | CHAR | 32 | SYSUUID_C | ||||
TARGET_OBJECT | Object Type in Target System | BBP_TRGT_OBJTYP | CHAR | 1 | BBP_TRGT_OBJTYP | ||||
TARGET_OBJECT_ID | Back-End Contract Number | BBP_TRGT_OBJID | CHAR | 10 | BBP_TRGT_OBJID | ||||
VALUE | Net Value | BBP_VALUE | CURR | 15(2) | WERT8 | ||||
QUANTITY | Quantity | BBP_MENGE_PI | QUAN | 13(3) | MENG13 | ||||
LOCK_IND | Lock Indicator | BBP_LOCK_IND | CHAR | 1 | BBP_LOCK_IND | ||||
DISTR_IND | Distribution Indicator | BBP_DISTR_IND | CHAR | 1 | BBP_DISTR_IND | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FILTER_HIER | Filter hierarchy based on earlier release to ERP system | BBP_FILTER_HIER | CHAR | 1 | BBP_FILTER_HIER | ||||
INFOUPDATE | Inforecord Update | BBP_INFOREC_UPD_IND | CHAR | 1 | BBP_INFOREC_UPD_IND | ||||
SOURCELIST_UPDAT | Sourcelist Update indicator | BBP_SOURCELIST_IND | CHAR | 1 | BBP_SOURCELIST_IND | ||||
PREFERRED_SOURCE | Fixed Source Indicator | BBP_PREFERRED_SOURCE_IND | CHAR | 1 | BBP_PREFERRED_SOURCE_IND | ||||
BLOCK_SOURCE | Block Source Indicator | BBP_BLOCKED_SOURCE_IND | CHAR | 1 | BBP_BLOCKED_SOURCE_IND | ||||
LOCATION_DESCR | Full Name of Person | AD_NAMTEXT | CHAR | 80 | TEXT80 | ||||
LOCATION_ID | Business Partner Number | BU_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BPA | BUPA |
PUR_ORG_DESCR | Full Name of Person | AD_NAMTEXT | CHAR | 80 | TEXT80 | ||||
PUR_ORG_ID | Business Partner Number | BU_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BPA | BUPA |
DUMMY_ITEM | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
UNIT_DESC | Description of Unit of Measurement | BBP_UNIT_DESC | CHAR | 40 | CHAR40 | ||||
UNIT | Unit of Measurement | BBP_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DEF_TAR_VAL | Default Target value | /SAPSRM/DFLT_TRGT_VAL | CHAR | 1 | XFELD | ||||
LOGSYS | Original System | COMT_LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | COM_LOGSYS | COM_PRODUCT_LOGSYS |
LOGSYS_FI | Logical System of FI System | BBP_LOGSYS_FI | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | BBP_BACKEND_DESTINATION_F4 | |
PMNTTRMS_TXT | Terms of Payment | BBP_TEXT1_052 | CHAR | 50 | TEXT50 | ||||
ITEM_STATE | Character field of length 40 | CHAR40 | CHAR | 40 | CHAR40 | ||||
ITEM_FLAG | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 |
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 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