I_GrantType

DDL: I_GRANTTYPE SQL: IGMGRANTTYPE Type: view BASIC

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)

SourceAliasJoin Type
gmgrtype gmgrtype from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_GrantTypeText _GrantTypeText $projection.GrantType = _GrantTypeText.GrantType

Annotations (16)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/