I_CostOriginGroupText

DDL: I_COSTORIGINGROUPTEXT SQL: IFICOSTORIGROUPT Type: view BASIC

Cost Origin Group - Text

I_CostOriginGroupText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_CostOriginGroupText is a Basic CDS View that provides data about "Cost Origin Group - Text" in SAP S/4HANA. It reads from 1 data source (tkkh2) and exposes 8 fields with key fields CostOriginGroup, CostOriginType, ControllingArea, Language. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-PC-PCP
CapabilitiesData Source for Defining CDS Entities, Data Source for Data Extraction, Language-Dependent Text, Association Target for Defining CDS Entities
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tkkh2 tkkh2 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_CostOriginType _CostOriginType $projection.CostOriginType = _CostOriginType.CostOriginType
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea

Annotations (13)

NameValueLevelField
EndUserText.label Cost Origin Group - Text view
AbapCatalog.sqlViewName IFICOSTORIGROUPT view
VDM.viewType #BASIC view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey CostOriginGroup view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CostOriginGroup hrkft Origin Group as Subdivision of Cost Element
KEY CostOriginType koaty Origin type
KEY ControllingArea Controlling Area
KEY Language spras Off. Language
CostOriginGroupName hrktx Name
_Language _Language
_ControllingArea _ControllingArea
_CostOriginType _CostOriginType

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_CostOriginGroupText.
-- 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: IFICOSTORIGROUPT

CREATE VIEW I_CostOriginGroupText AS
SELECT
  hrkft AS CostOriginGroup,
  koaty AS CostOriginType,
  cast( kokrs as fis_kokrs preserving type ) AS ControllingArea,
  spras AS Language,
  hrktx AS CostOriginGroupName
FROM tkkh2
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_CostOriginType AS _CostOriginType ON CostOriginType = _CostOriginType.CostOriginType  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
;