I_Sitn2InstceTextAPI
Situation Instances - Text
I_Sitn2InstceTextAPI is a Composite CDS View that provides data about "Situation Instances - Text" in SAP S/4HANA. It reads from 1 data source (R_Sitn2RtmeTypeVersMessageText) and exposes 6 fields with key fields SitnAnchorObjectSOT, SitnAnchorObjectSONT, SitnInstceAnchorObjectKey, SitnInstceKey.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_Sitn2RtmeTypeVersMessageText | _text | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Situation Instances - Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SitnAnchorObjectSOT | _instance | SitnAnchorObjectSOT | |
| KEY | SitnAnchorObjectSONT | _instance | SitnAnchorObjectSONT | |
| KEY | SitnInstceAnchorObjectKey | _instance | SitnInstceAnchorObjectKey | |
| KEY | SitnInstceKey | _instance | SitnInstceKey | |
| SituationTitle | R_Sitn2RtmeTypeVersMessageText | SituationTitle | ||
| SituationText | R_Sitn2RtmeTypeVersMessageText | SituationText |
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck:#PRIVILEGED_ONLY
@ObjectModel:{
// dataCategory: #TEXT,
usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #MIXED
}
}
@EndUserText.label: 'Situation Instances - Text'
//define view entity I_Sitn2InstceTextAPI
// as select from R_Sitn2RuntimeTypeText
//{
// key SitnTypeID,
// key SitnTypeVersion,
// @Semantics.language:true
// key Language,
// key SitnObjectGroupID,
// key SitnObjGrpMessageID,
//
// SituationTitle,
// SituationText
//}
define view entity I_Sitn2InstceTextAPI
as select from R_Sitn2RtmeTypeVersMessageText as _text
join R_Sitn2InstanceAPI as _instance
on _instance.SitnObjGrpMessageID = _text.SitnObjGrpMessageID
and _instance.SitnTypeID = _text.SitnTypeID
and _instance.SitnTypeVersion = _text.SitnTypeVersion
and _instance.SitnObjectGroupID = _text.SitnObjectGroupID
{
key _instance.SitnAnchorObjectSOT,
key _instance.SitnAnchorObjectSONT,
key _instance.SitnInstceAnchorObjectKey,
key _instance.SitnInstceKey,
_text.SituationTitle,
_text.SituationText
}
where _text.Language = $session.system_language
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_SITN2INSTANCEAPI",
"R_SITN2RTMETYPEVERSMESSAGETEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA