SAM_RELATIONS SAP (SAM Relations) Table details
Dictionary Type: Table
Description: SAM Relations
Description: SAM Relations
ABAP Code to SELECT data from SAM_RELATIONS
Related tables to SAM_RELATIONS
Access table SAM_RELATIONS
Related tables to SAM_RELATIONS
Access table SAM_RELATIONS
Table field list including key, data, relationships and ABAP select examples
SAM_RELATIONS is a standard SAP Table which is used to store SAM Relations data and is available within R/3 SAP systems depending on the version and release level.
The SAM_RELATIONS table consists of various fields, each holding specific information or linking keys about SAM Relations data available in SAP. These include SCHEMA_ID (SAM Schema id), REL_NAME (Guid for the Relations), REL_TYPE (Status Model Relation Type), SRC_ELEM_TYPE (Status Model Element Type).. 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: S - System table, maint. only by SAP, change = modificationDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SAM_RELATIONS table 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 |
BO_NAME | S&AM Business objects | SAM_BUSINESS_OBJECTS | CHAR | 30 | |||||
SCHEMA_ID | SAM Schema id | SAM_SCHEMA_ID | CHAR | 32 | SAM_SCHEMA_ID | ||||
REL_NAME | Guid for the Relations | SAM_GUID | RAW | 16 | |||||
REL_TYPE | Status Model Relation Type | SAM_RELATION_TYPE | CHAR | 2 | SAM_RELATION_TYPE | ||||
SRC_ELEM_TYPE | Status Model Element Type | SAM_ELEMENT_TYPE | CHAR | 2 | SAM_ELEMENT_TYPE | ||||
SRC_ELEM_NAME | Status Model Element Name | SAM_ELEMENT_NAME | CHAR | 30 | |||||
SRC_VAR_NAME | Status Variable of Status Model | SAM_DB_STATUS_VARIABLE | CHAR | 30 | |||||
CONN_NODE_NAME | S&AM Business Object Node | SAM_BUSINESS_OBJECT_NODE | CHAR | 30 | |||||
CONN_SCHEMA_NAME | Data element to be used for schemas in the database | SAM_DB_SCHEMA_NAME | CHAR | 30 | |||||
TRG_ELEM_TYPE | Status Model Element Type | SAM_ELEMENT_TYPE | CHAR | 2 | SAM_ELEMENT_TYPE | ||||
TRG_ELEM_NAME | Status Model Element Name | SAM_ELEMENT_NAME | CHAR | 30 | |||||
TRG_VAR_NAME | Status Variable of Status Model | SAM_DB_STATUS_VARIABLE | CHAR | 30 | |||||
OWNER_ID | Owner Id: Segment Name/ Extension Name | SAM_OWNERID | CHAR | 30 | SAM_OWNER_ID |
Key field | Non-key field |
How do I retrieve data from SAP table SAM_RELATIONS using ABAP code
The following ABAP code Example will allow you to do a basic selection on SAM_RELATIONS to SELECT all data from the tableDATA: WA_SAM_RELATIONS TYPE SAM_RELATIONS.
SELECT SINGLE *
FROM SAM_RELATIONS
INTO CORRESPONDING FIELDS OF WA_SAM_RELATIONS
WHERE...
How to access SAP table SAM_RELATIONS
Within an ECC or HANA version of SAP you can also view further information about SAM_RELATIONS 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