I_GrantType
Grant Type
I_GrantType is a Basic CDS View (Dimension) that provides data about "Grant Type" in SAP S/4HANA. It reads from 1 data source (gmgrtype) and exposes 3 fields with key field GrantType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gmgrtype | gmgrtype | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_GrantTypeText | _GrantTypeText | $projection.GrantType = _GrantTypeText.GrantType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Grant Type | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | GrantType | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AbapCatalog.sqlViewName | IGMGRANTTYPE | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantType | grant_type | ||
| StatusProfile | status_profile | |||
| _GrantTypeText | _GrantTypeText |
@EndUserText.label: 'Grant Type'
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'GrantType'
@ObjectModel.usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.buffering: { status: #ACTIVE, type: #FULL }
@AbapCatalog.sqlViewName: 'IGMGRANTTYPE'
@AbapCatalog.preserveKey: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION ]
define view I_GrantType
as select from gmgrtype
// if i change the cardinality to [1..1] and add the and with language condition
// the view gives weird error so I have commented out the Language condition
// and changed the cardinality back to [0..*]
association [0..*] to I_GrantTypeText as _GrantTypeText on $projection.GrantType = _GrantTypeText.GrantType
// and _GrantTypeText.Language = $session.system_language
{
@ObjectModel.text.association: '_GrantTypeText'
key grant_type as GrantType,
status_profile as StatusProfile,
_GrantTypeText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"GMGRTYPE"
],
"ASSOCIATED":
[
"I_GRANTTYPETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"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