A_CnsldtnDocumentTypeT

DDL: A_CNSLDTNDOCUMENTTYPET Type: view BASIC

Consolidation Document Type - Text

A_CnsldtnDocumentTypeT is a Basic CDS View that provides data about "Consolidation Document Type - Text" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnDocumentTypeT) and exposes 6 fields with key fields ConsolidationDocumentType, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnDocumentTypeT I_CnsldtnDocumentTypeT from

Associations (2)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnDocumentType _CnsldtnDocumentType $projection.ConsolidationDocumentType = _CnsldtnDocumentType.ConsolidationDocumentType
[0..1] A_CnsldtnDimension _CnsldtnDimension $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSDOCUMENTTYPET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ConsolidationDocumentType view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Consolidation Document Type - Text view
OData.entitySet.name ConsolidationDocTypeText view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationDocumentType ConsolidationDocumentType
KEY Language Language
ConsolidationDimension ConsolidationDimension
ConsolidationDocumentTypeText
_CnsldtnDimension _CnsldtnDimension
_CnsldtnDocumentType _CnsldtnDocumentType
@AbapCatalog:{
  sqlViewName: 'ACSDOCUMENTTYPET',
  compiler.compareFilter: true,
  preserveKey: true
  }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:{
  usageType: {
    dataClass: #CUSTOMIZING,
    serviceQuality: #A,
    sizeCategory: #S},
  dataCategory: #TEXT,
  representativeKey: 'ConsolidationDocumentType'
  }
@VDM:{
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
  }
@EndUserText.label: 'Consolidation Document Type - Text'
@OData.entitySet.name: 'ConsolidationDocTypeText'

define view A_CnsldtnDocumentTypeT
  as select from I_CnsldtnDocumentTypeT

  association [0..1] to A_CnsldtnDocumentType as _CnsldtnDocumentType on $projection.ConsolidationDocumentType = _CnsldtnDocumentType.ConsolidationDocumentType

  association [0..1] to A_CnsldtnDimension    as _CnsldtnDimension    on $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension

{

      @ObjectModel.foreignKey.association: '_CnsldtnDocumentType'
  key ConsolidationDocumentType,

      @Semantics.language: true
  key Language,

      @Consumption.hidden: true
      @ObjectModel.foreignKey.association: '_CnsldtnDimension'
      //TODO: add text association

      ConsolidationDimension,

      @Semantics.text: true
      cast(ConsolidationDocumentTypeText as fincs_docty_t preserving type) as ConsolidationDocumentTypeText,

      // associations

      @Consumption.hidden: true
      _CnsldtnDimension, // required for value help retrieval


      _CnsldtnDocumentType // required for value help retrieval and navigation

}
where
  ConsolidationDimension = 'Y1'