I_CostCenterLabelTP

DDL: I_COSTCENTERLABELTP SQL: IFICOSTCNTRLBLTP Type: view TRANSACTIONAL Package: ODATA_COST_CENTER_V2

Languages

I_CostCenterLabelTP is a Transactional CDS View that provides data about "Languages" in SAP S/4HANA. It reads from 1 data source (I_CostCenterText) and exposes 12 fields with key fields Language, ControllingArea, CostCenter, ValidityEndDate. It has 1 association to related views. Part of development package ODATA_COST_CENTER_V2.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterText I_CostCenterText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_CostCenterTP _CostCenter $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter and $projection.ValidityEndDate = _CostCenter.ValidityEndDate association[0..1] to I_Language as _Language on $projection.LanguageForEdit = _Language.Language

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IFICOSTCNTRLBLTP view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.writeDraftPersistence CSKT_DRAFT view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Languages view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Language Language Report Text Language
KEY ControllingArea ControllingArea Controlling Area
KEY CostCenter CostCenter Cost Center
KEY ValidityEndDate ValidityEndDate ValidTo
LanguageForEdit Language Report Text Language
CostCenterName CostCenterName Name
CostCenterDescription Description
UxFcCostCenterDescription
LanguageISOCode _Language LanguageISOCode Language ISO Code
LanguageName
_CostCenter _CostCenter
_Language _Language

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_CostCenterLabelTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IFICOSTCNTRLBLTP

CREATE VIEW I_CostCenterLabelTP AS
SELECT
  Language,
  ControllingArea,
  CostCenter,
  ValidityEndDate,
  Language AS LanguageForEdit,
  CostCenterName,
  cast( CostCenterDescription as fis_cc_kostl_ltext preserving type ) AS CostCenterDescription,
  cast ( '' as fco_long_text_indicator ) AS UxFcCostCenterDescription,
  _Language.LanguageISOCode AS LanguageISOCode,
  _Language._Text[1:Language=$session.system_language].LanguageName AS LanguageName
FROM I_CostCenterText
LEFT OUTER JOIN I_CostCenterTP AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter AND ValidityEndDate = _CostCenter.ValidityEndDate association[0..1] to I_Language as _Language on LanguageForEdit = _Language.Language  -- association [1..1]
;