I_CADocumentClass

DDL: I_CADOCUMENTCLASS Type: view_entity BASIC

Document Class

I_CADocumentClass is a Basic CDS View that provides data about "Document Class" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CADocumentClass. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CADocumentClassText _Text $projection.CADocumentClass = _Text.CADocumentClass

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Document Class view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CADocumentClass view
ObjectModel.sapObjectNodeType.name ContrAcctgDocumentClass view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CADocumentClass
_Text _Text
@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'Document Class'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: { modelingPattern: #NONE,
                representativeKey: 'CADocumentClass',
                sapObjectNodeType.name: 'ContrAcctgDocumentClass',
                supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
                                         #CDS_MODELING_DATA_SOURCE,
                                         #SQL_DATA_SOURCE ],
                usageType: { dataClass: #CUSTOMIZING,
                             serviceQuality: #A,
                             sizeCategory: #S } }

@VDM.viewType: #BASIC

define view entity I_CADocumentClass
  as select from dd07l

  association [1..*] to I_CADocumentClassText as _Text on $projection.CADocumentClass = _Text.CADocumentClass

{
      @ObjectModel.text.association: '_Text'
  key cast( left( dd07l.domvalue_l, 1 ) as bltyp_kk preserving type ) as CADocumentClass,

      _Text
}
where
      domname  = 'BLTYP_KK'
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_CADOCUMENTCLASSTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/