I_CostOriginTypeText

DDL: I_COSTORIGINTYPETEXT SQL: IFICOSTORITYPET Type: view BASIC

Cost Origin Type - Text

I_CostOriginTypeText (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_CostOriginTypeText is a Basic CDS View that provides data about "Cost Origin Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, CostOriginType. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-PC-PCP
CapabilitiesData Source for Defining CDS Entities, 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
dd07t dd07t from

Associations (1)

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

Annotations (13)

NameValueLevelField
ObjectModel.representativeKey CostOriginType view
EndUserText.label Cost Origin Type - Text view
AbapCatalog.sqlViewName IFICOSTORITYPET view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language Language Key
KEY CostOriginType Origin Type
CostOriginTypeName ddtext Short Text for Fixed Values
_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_CostOriginTypeText.
-- 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: IFICOSTORITYPET

CREATE VIEW I_CostOriginTypeText AS
SELECT
  cast( ddlanguage as spras ) AS Language,
  cast ( cast ( substring( domvalue_l, 1, 2 ) as abap.char( 2 ) ) as hrktyp ) AS CostOriginType,
  ddtext AS CostOriginTypeName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;