I_CAContractTypeEnhancedText

DDL: I_CACONTRACTTYPEENHANCEDTEXT Type: view_entity COMPOSITE

Contract Type - Text

I_CAContractTypeEnhancedText is a Composite CDS View that provides data about "Contract Type - Text" in SAP S/4HANA. It reads from 2 data sources (dd07t, I_CAContractTypeText) and exposes 6 fields with key fields CAContractType, Language, Language. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
dd07t dd07t from
I_CAContractTypeText I_CAContractTypeText union_all

Associations (1)

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

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Contract Type - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey CAContractType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CAContractType
KEY Language Report Text Language
CAContractTypeText
KEY Language Language Report Text Language
CAContractTypeText CAContractTypeText
_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_CAContractTypeEnhancedText.
-- 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.

CREATE VIEW I_CAContractTypeEnhancedText AS
SELECT
  cast ( substring( domvalue_l,1,1 ) as vtreftype_kk ) AS CAContractType,
  cast( ddlanguage as spras preserving type) AS Language,
  cast(ddtext as vtreftype_text_kk ) AS CAContractTypeText
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
-- UNION ALL with additional select branch(es): I_CAContractTypeText
;