I_BR_CTeDocumentTypeText

DDL: I_BR_CTEDOCUMENTTYPETEXT SQL: IBRCTEDOCTYPET Type: view BASIC

Brazil CT-e Document Type - Text

I_BR_CTeDocumentTypeText is a Basic CDS View that provides data about "Brazil CT-e Document Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, BR_CTeDocumentType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BR_CTeDocumentType _BR_CTeDocumentType $projection.BR_CTeDocumentType = _BR_CTeDocumentType.BR_CTeDocumentType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
EndUserText.label Brazil CT-e Document Type - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRCTEDOCTYPET view
ObjectModel.representativeKey BR_CTeDocumentType view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
AbapCatalog.preserveKey true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY BR_CTeDocumentType
BR_CTeDocumentTypeDesc ddtext
_BR_CTeDocumentType _BR_CTeDocumentType
_Language _Language
@EndUserText.label: 'Brazil CT-e Document Type - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IBRCTEDOCTYPET'
@ObjectModel.representativeKey: 'BR_CTeDocumentType'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,#CDS_MODELING_DATA_SOURCE]
@AbapCatalog.preserveKey:true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.compiler.compareFilter: true
@Metadata.ignorePropagatedAnnotations: true


define view I_BR_CTeDocumentTypeText as select from dd07t
  association [1..1] to I_BR_CTeDocumentType as _BR_CTeDocumentType on $projection.BR_CTeDocumentType = _BR_CTeDocumentType.BR_CTeDocumentType
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
  @Semantics.language
  key cast( ddlanguage as spras preserving type ) as Language,
  @ObjectModel.foreignKey.association: '_BR_CTeDocumentType'
  key cast ( substring( domvalue_l, 1, 1 ) as logbr_type_cte preserving type ) as BR_CTeDocumentType,  
  @Semantics.text
  ddtext as BR_CTeDocumentTypeDesc,
  @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
  _BR_CTeDocumentType, 
  _Language 
}
where domname = 'J_1BCTTYPE' and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_BR_CTEDOCUMENTTYPE",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/