R_ProfitCenterTextTP

DDL: R_PROFITCENTERTEXTTP Type: view_entity TRANSACTIONAL

Profit Center - Text TP

R_ProfitCenterTextTP is a Transactional CDS View that provides data about "Profit Center - Text TP" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterText) and exposes 8 fields with key fields Language, ControllingArea, ProfitCenter, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
I_ProfitCenterText I_ProfitCenterText from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Profit Center - Text TP view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Language Language
KEY ControllingArea ControllingArea
KEY ProfitCenter ProfitCenter
KEY ValidityEndDate ValidityEndDate
LanguageForEdit Language
ProfitCenterName ProfitCenterName
ProfitCenterLongName ProfitCenterLongName
_ProfitCenterTP _ProfitCenterTP
@AccessControl.authorizationCheck: #MANDATORY

@EndUserText.label: 'Profit Center - Text TP'

@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_ProfitCenterTextTP
  as select from I_ProfitCenterText

  association to parent R_ProfitCenterTP as _ProfitCenterTP on  $projection.ControllingArea = _ProfitCenterTP.ControllingArea
                                                            and $projection.ProfitCenter    = _ProfitCenterTP.ProfitCenter
                                                            and $projection.ValidityEndDate = _ProfitCenterTP.ValidityEndDate
{
      @Semantics.language: true
  key Language,
  key ControllingArea,
  key ProfitCenter,
      @Semantics.businessDate.to: true
  key ValidityEndDate,

      @ObjectModel.editableFieldFor: 'Language'
      Language as LanguageForEdit,

      @Semantics.text: true
      ProfitCenterName,
      ProfitCenterLongName,

      /* Associations */
      _ProfitCenterTP
}