A_Sitn2MblInstanceText
Situation Instances - Text
A_Sitn2MblInstanceText 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 8 fields with key fields SitnTypeID, SitnTypeVersion, SitnObjectGroupID, SitnObjGrpMessageID, Language. It is exposed through 1 OData service (A_SITN2MBLINSTCE_SRV). Part of development package CA_SIT2_PUB_MBL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_Sitn2RtmeTypeVersMessageText | R_Sitn2RtmeTypeVersMessageText | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| OData.entityType.name | InstanceText_Type | view | |
| EndUserText.label | Situation Instances - Text | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| A_SITN2MBLINSTCE_SRV | A_SITN2MBLINSTCE_V4 | V4 | C1 | NOT_RELEASED |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SitnTypeID | SitnTypeID | ||
| KEY | SitnTypeVersion | SitnTypeVersion | ||
| KEY | SitnObjectGroupID | SitnObjectGroupID | ||
| KEY | SitnObjGrpMessageID | SitnObjGrpMessageID | ||
| KEY | Language | Language | ||
| SituationTitle | SituationTitle | |||
| SituationText | SituationText | |||
| SituationTextSearchText | SituationText |
@AccessControl.authorizationCheck: #MANDATORY
@VDM:{
viewType: #COMPOSITE ,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:{
dataCategory: #TEXT,
usageType:{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MASTER
}
}
@OData.entityType.name: 'InstanceText_Type' // pref. check A_Sitn2MblInstance: 'Instance_Type'
@EndUserText.label: 'Situation Instances - Text'
// No search annotations here, because this would require annotation "@Semantics.text:true"
// @Search is enabled on R_Sitn2InstceTriggerObjectTP
// @Search.searchable: true -> I had to add it for the unified API
//@Search.searchable: true
define view entity A_Sitn2MblInstanceText
as select from R_Sitn2RtmeTypeVersMessageText
{
key SitnTypeID,
key SitnTypeVersion,
key SitnObjectGroupID,
key SitnObjGrpMessageID,
@Semantics.language:true
key Language,
@Semantics.text:true
// @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
SituationTitle,
@Semantics.text:true
SituationText,
@Semantics.text:true
// @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
@Consumption.hidden: true
SituationText as SituationTextSearchText
}
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