I_UsageDecisionCodeGroup
Usage Decision Code Group
I_UsageDecisionCodeGroup is a Basic CDS View (Dimension) that provides data about "Usage Decision Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 7 fields with key field UsageDecisionCodeGroup. It has 1 association to related views. Part of development package VDM_QM_INSPECTION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpgr | qpgr | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_UsageDecisionCodeGroupText | _Text | $projection.UsageDecisionCodeGroup = _Text.UsageDecisionCodeGroup |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IUSGDECCDGRP | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Usage Decision Code Group | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | UsageDecisionCodeGroup | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.sapObjectNodeType.name | UsageDecisionCodeGroup | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
@AbapCatalog.sqlViewName: 'IUSGDECCDGRP'
//@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Usage Decision Code Group'
@Analytics.dataCategory: #DIMENSION
@Metadata.allowExtensions:true
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.representativeKey: 'UsageDecisionCodeGroup'
@ObjectModel.usageType: {
dataClass: #CUSTOMIZING,
sizeCategory: #M,
serviceQuality: #A
}
@ObjectModel.sapObjectNodeType.name: 'UsageDecisionCodeGroup'
@Metadata.ignorePropagatedAnnotations: true
define view I_UsageDecisionCodeGroup as select from qpgr
association [0..*] to I_UsageDecisionCodeGroupText as _Text
on $projection.UsageDecisionCodeGroup = _Text.UsageDecisionCodeGroup
{
@ObjectModel.text.association: '_Text'
key qpgr.codegruppe as UsageDecisionCodeGroup,
// DB field has three values, but field shall be indicator
// @Semantics.booleanIndicator: true // It is boolean, but we cannot tag it, due to static code check
case qpgr.inaktiv
when ' ' then cast( ' ' as vdm_qm_codegroupisinactive preserving type )
else cast( 'X' as vdm_qm_codegroupisinactive preserving type )
end as CodeGroupIsInactive,
qpgr.status as CodeGroupStatus,
@Semantics.user.createdBy: true
qpgr.ersteller as UsgeDcsnCodeGroupCreatedBy,
@Semantics.businessDate.at: true
qpgr.e_datum as UsgeDcsnCodeGroupCreatedOn,
@Semantics.user.lastChangedBy: true
qpgr.aenderer as UsgeDcsnCodeGroupLastChgdBy,
@Semantics.businessDate.at: true
qpgr.a_datum as UsgeDcsnCodeGroupLastChgdOn,
/* Associations */
_Text
}
where katalogart = '3' // Usage Decision
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