I_Mkt_Sr_ModelStatus
Suppression Rule: Model Status
I_Mkt_Sr_ModelStatus is a Basic CDS View that provides data about "Suppression Rule: Model Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field RuleModelStatus. It has 1 association to related views. Part of development package CUAN_CDS_SUPPRESSION_RULE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | ModelStatus | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_Mkt_Sr_ModelStatusText | _ModelStatusText | $projection.RuleModelStatus = _ModelStatusText.RuleModelStatus |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Suppression Rule: Model Status | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IMKTSRMODELSTAT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | RuleModelStatus | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RuleModelStatus | |||
| _ModelStatusText | _ModelStatusText |
@EndUserText.label: 'Suppression Rule: Model Status'
@AbapCatalog: {
compiler.compareFilter: true,
preserveKey: true,
sqlViewName: 'IMKTSRMODELSTAT'
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
representativeKey: 'RuleModelStatus',
usageType: {
dataClass: #META,
serviceQuality: #B,
sizeCategory: #S
}
}
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
define view I_Mkt_Sr_ModelStatus
as select from dd07l as ModelStatus
association [0..*] to I_Mkt_Sr_ModelStatusText as _ModelStatusText on $projection.RuleModelStatus = _ModelStatusText.RuleModelStatus
{
@ObjectModel: {
readOnly: true,
text.association: '_ModelStatusText'
}
key cast(ModelStatus.domvalue_l as cuan_sr_model_status) as RuleModelStatus,
@ObjectModel.readOnly: true
cast(case ModelStatus.domvalue_l
when '20' // active
then 3
when '25' // activating...
then 2
end as cuan_sr_model_status_crtclty preserving type) as RuleModelStatusCriticality,
_ModelStatusText
}
where
ModelStatus.domname = 'CUAN_SR_MODEL_STATUS'
and ModelStatus.as4local = 'A'
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