SAM_RELATIONS SAP (SAM Relations) Table details

Dictionary Type: Table
Description: SAM Relations




ABAP Code to SELECT data from 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 = modification
Display/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_NAMES&AM Business objects SAM_BUSINESS_OBJECTSCHAR30
SCHEMA_IDSAM Schema id SAM_SCHEMA_IDCHAR32SAM_SCHEMA_ID
REL_NAMEGuid for the Relations SAM_GUIDRAW16
REL_TYPEStatus Model Relation Type SAM_RELATION_TYPECHAR2SAM_RELATION_TYPE
SRC_ELEM_TYPEStatus Model Element Type SAM_ELEMENT_TYPECHAR2SAM_ELEMENT_TYPE
SRC_ELEM_NAMEStatus Model Element Name SAM_ELEMENT_NAMECHAR30
SRC_VAR_NAMEStatus Variable of Status Model SAM_DB_STATUS_VARIABLECHAR30
CONN_NODE_NAMES&AM Business Object Node SAM_BUSINESS_OBJECT_NODECHAR30
CONN_SCHEMA_NAMEData element to be used for schemas in the database SAM_DB_SCHEMA_NAMECHAR30
TRG_ELEM_TYPEStatus Model Element Type SAM_ELEMENT_TYPECHAR2SAM_ELEMENT_TYPE
TRG_ELEM_NAMEStatus Model Element Name SAM_ELEMENT_NAMECHAR30
TRG_VAR_NAMEStatus Variable of Status Model SAM_DB_STATUS_VARIABLECHAR30
OWNER_IDOwner Id: Segment Name/ Extension Name SAM_OWNERIDCHAR30SAM_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 table
DATA: 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 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!