I_Directiontext

DDL: I_DIRECTIONTEXT SQL: IDIRECTIONT Type: view BASIC

Direction Text

I_Directiontext is a Basic CDS View that provides data about "Direction Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, CashFlowDirection. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (12)

NameValueLevelField
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IDIRECTIONT view
ObjectModel.representativeKey CashFlowDirection view
EndUserText.label Direction Text view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language ddlanguage
KEY CashFlowDirection
CashFlowDirectionName ddtext
_Language _Language
@ObjectModel.dataCategory:#TEXT 
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED //or #CHECK 

@AbapCatalog.sqlViewName: 'IDIRECTIONT'
@ObjectModel.representativeKey: 'CashFlowDirection'
@EndUserText.label: 'Direction Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.preserveKey:true
define view I_Directiontext as select from dd07t 

association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
    @Semantics.language: true
    @ObjectModel.foreignKey.association: '_Language' //Inserted by VDM CDS Suite Plugin    

    key ddlanguage                                         as Language,
    key cast(substring(domvalue_l,1,4) as fclm_direction ) as CashFlowDirection,
    @Semantics.text    
    ddtext                                                 as CashFlowDirectionName,
    _Language     
    
}
where domname = 'FCLM_DIRECTION'
and   as4local = 'A'