P_CnsldtnCurrencySourceText

DDL: P_CNSLDTNCURRENCYSOURCETEXT Type: view BASIC

P_CnsldtnCurrencySourceText is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_CnsldtnDomainText) and exposes 5 fields with key fields Language, ConsolidationCurrencySource. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnDomainText P_CnsldtnDomainText from

Associations (1)

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

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCSCRCYSRCT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language _Source Language
KEY ConsolidationCurrencySource
CnsldtnCurrencySourceText
DomainValue _Source DomainValue
_Language _Language
@AbapCatalog:{
  sqlViewName: 'PCSCRCYSRCT',
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #A,
    sizeCategory: #S
  }
//  dataCategory: #TEXT

}
@VDM:{
  viewType: #BASIC,
  private: true
}

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view P_CnsldtnCurrencySourceText
  as select from P_CnsldtnDomainText( P_DomainName: 'FC_CURRENCY_SOURCE' ) as _Source

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

{
  key _Source.Language,

  key cast( substring(_Source.DomainValue, 1, 1) as fincs_currency_source preserving type ) as ConsolidationCurrencySource,

      cast( _Source.DomainValueText as fincs_currency_source_text preserving type )         as CnsldtnCurrencySourceText,

     _Source.DomainValue,
     
      
      /* associations */
      _Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_CNSLDTNDOMAINTEXT"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/