I_BR_ImportDeclarationTypeText

DDL: I_BR_IMPORTDECLARATIONTYPETEXT SQL: IBRIMPDECTYPT Type: view BASIC Package: GLO_LOG_BR

Brazil Import Declaration Type - Txt

I_BR_ImportDeclarationTypeText is a Basic CDS View that provides data about "Brazil Import Declaration Type - Txt" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, BR_NFImportDeclarationType. It has 2 associations to related views. Part of development package GLO_LOG_BR.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BR_ImportDeclarationType _BR_ImportDeclarationType $projection.BR_NFImportDeclarationType = _BR_ImportDeclarationType.BR_NFImportDeclarationType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

NameValueLevelField
EndUserText.label Brazil Import Declaration Type - Txt view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRIMPDECTYPT view
ObjectModel.representativeKey BR_NFImportDeclarationType view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY BR_NFImportDeclarationType
BR_NFImportDeclarationTypeDesc ddtext
_BR_ImportDeclarationType _BR_ImportDeclarationType
_Language _Language
@EndUserText.label: 'Brazil Import Declaration Type - Txt'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IBRIMPDECTYPT'
@ObjectModel.representativeKey: 'BR_NFImportDeclarationType'
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,#CDS_MODELING_DATA_SOURCE]
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@AbapCatalog.preserveKey:true
define view I_BR_ImportDeclarationTypeText
  as select from dd07t
  association [1..1] to I_BR_ImportDeclarationType as _BR_ImportDeclarationType on $projection.BR_NFImportDeclarationType = _BR_ImportDeclarationType.BR_NFImportDeclarationType
  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_ImportDeclarationType'
  key cast( substring(domvalue_l, 1, 1) as logbr_declarationtype preserving type ) as BR_NFImportDeclarationType,
      @Semantics.text
      ddtext                                                                       as BR_NFImportDeclarationTypeDesc,
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _BR_ImportDeclarationType,
      _Language
}
where
      domname  = 'J_1B_IMP_DECLAR_TYPE'
  and as4local = 'A'