I_CAPaymentDirectionText

DDL: I_CAPAYMENTDIRECTIONTEXT Type: view_entity BASIC Package: ODATA_O2C_FICA_RETURN_ANALYZE

Payment Direction - Text

I_CAPaymentDirectionText is a Basic CDS View that provides data about "Payment Direction - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 3 fields with key fields CAPaymentDirection, Language. Part of development package ODATA_O2C_FICA_RETURN_ANALYZE.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payment Direction - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey CAPaymentDirection view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CAPaymentDirection
KEY Language ddlanguage
CAPaymentDirectionText
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Payment Direction - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { dataCategory: #TEXT,
                modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
                representativeKey: 'CAPaymentDirection',                
                supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
                                         #CDS_MODELING_DATA_SOURCE,
                                         #LANGUAGE_DEPENDENT_TEXT,
                                         #SQL_DATA_SOURCE ],
                usageType: { dataClass: #CUSTOMIZING,
                             serviceQuality: #A,
                             sizeCategory: #S } }
@VDM.viewType: #BASIC

define view entity I_CAPaymentDirectionText
  as select from dd07t

//  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language

{
  key cast( left( dd07t.domvalue_l,1 ) as pydir_kk ) as CAPaymentDirection,
      @Semantics.language: true
  key ddlanguage                                     as Language,

      @Semantics.text
      cast( ddtext as pydir_text_ca )                as CAPaymentDirectionText
//      ,


//      _Language

}
where
      domname  = 'PYDIR_KK' //'PYDIR_CA'//'FTR_CODIR'

  and as4local = 'A'