I_RAContractStatusText

DDL: I_RACONTRACTSTATUSTEXT Type: view_entity BASIC Package: FARR_CONTRACT_CDS

RA Contract Status - Text

I_RAContractStatusText is a Basic CDS View that provides data about "RA Contract Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, RevnAcctgContractStatus. It has 1 association to related views. Part of development package FARR_CONTRACT_CDS.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.technicalName IRACSTSTEXT view
EndUserText.label RA Contract Status - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey RevnAcctgContractStatus view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY RevnAcctgContractStatus dd07t domvalue_l
RevnAcctgContractStatusName
DomainValue dd07t domvalue_l
_RAContractStatus _RAContractStatus
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED

@Analytics.technicalName: 'IRACSTSTEXT'

@EndUserText.label: 'RA Contract Status - Text'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'RevnAcctgContractStatus'

@ObjectModel.supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
                                      #CDS_MODELING_DATA_SOURCE,
                                      #LANGUAGE_DEPENDENT_TEXT,
                                      #SEARCHABLE_ENTITY,
                                      #SQL_DATA_SOURCE ]

@ObjectModel.usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #META }

@Search.searchable: true

@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view entity I_RAContractStatusText
  as select from dd07t

  association        to parent I_RAContractStatus as _RAContractStatus
    on $projection.RevnAcctgContractStatus = _RAContractStatus.RevnAcctgContractStatus

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

{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(dd07t.ddlanguage as spras preserving type)                  as Language,

      // cast(dd07t.domvalue_l as farr_contract_status) not possible with released API (C1), as field would be shortened

      @ObjectModel.foreignKey.association: '_RAContractStatus'
      @ObjectModel.text.element: [ 'RevnAcctgContractStatusName' ]
  key dd07t.domvalue_l                                                 as RevnAcctgContractStatus,

      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
      @Semantics.text: true
      cast(dd07t.ddtext as farr_cds_contr_status_text preserving type) as RevnAcctgContractStatusName,

      @Analytics.hidden: true
      @Consumption.hidden: true
      dd07t.domvalue_l                                                 as DomainValue,

      _RAContractStatus,
      _Language

}
where dd07t.domname  = 'FARR_CONTRACT_STATUS'
  and dd07t.as4local = 'A'
  and dd07t.as4vers  = '0000'