R_COSTCENTERTEXTTP

CDS View

Cost Center Text

R_COSTCENTERTEXTTP is a CDS View in S/4HANA. Cost Center Text. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
A_CostCenterText_2 view_entity projection COMPOSITE Cost Center Text
C_CostCenterTextTP view_entity projection CONSUMPTION Cost Center - Text
I_CostCenterTextTP_2 view_entity projection TRANSACTIONAL Cost Center - Text
@AccessControl.authorizationCheck: #MANDATORY

@EndUserText.label: 'Cost Center Text'

@ObjectModel: {
  dataCategory: #TEXT,
  usageType: {
    serviceQuality: #A,
    sizeCategory: #M,
    dataClass: #MASTER
  }
}

@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type:#SAP_INTERNAL_API
}

@Metadata.ignorePropagatedAnnotations: true

define view entity R_CostCenterTextTP
  as select from I_CostCenterText

  association to parent R_CostCenterTP as _CostCenterTP on  $projection.ControllingArea = _CostCenterTP.ControllingArea
                                                        and $projection.CostCenter      = _CostCenterTP.CostCenter
                                                        and $projection.ValidityEndDate = _CostCenterTP.ValidityEndDate

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

{
      @Semantics.language: true
  key Language,

  key ControllingArea,

  key CostCenter,
      @Semantics.businessDate.to: true
  key ValidityEndDate,

      @ObjectModel.editableFieldFor: 'Language'
      @Semantics.language: true
      Language                                                            as LanguageForEdit,

      @Semantics.text: true
      CostCenterName,

      cast( CostCenterDescription as fis_cc_kostl_ltext preserving type ) as CostCenterDescription,

      /* Associations */
      _CostCenterTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCENTERTEXT"
],
"ASSOCIATED":
[
"R_COSTCENTERTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/