CIC_CustomerOrderItemTypeCode

DDL: CIC_CUSTOMERORDERITEMTYPECODE Type: view_entity

Customer Order Item Type Code

CIC_CustomerOrderItemTypeCode is a CDS View that provides data about "Customer Order Item Type Code" in SAP S/4HANA. It reads from 1 data source (tvap) and exposes 2 fields with key field CustomerOrderItemTypeCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tvap tvap from

Associations (1)

CardinalityTargetAliasCondition
[0..*] CIC_CustomerOrdItmTypeCodeTxt _CustomerOrderItemTypeCodeText $projection.CustomerOrderItemTypeCode = _CustomerOrderItemTypeCodeText.CustomerOrderItemTypeCode

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Customer Order Item Type Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CustomerOrderItemTypeCode pstyv Item Category
_CustomerOrderItemTypeCodeText _CustomerOrderItemTypeCodeText

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 CIC_CustomerOrderItemTypeCode.
-- 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 CIC_CustomerOrderItemTypeCode AS
SELECT
  pstyv AS CustomerOrderItemTypeCode
FROM tvap
LEFT OUTER JOIN CIC_CustomerOrdItmTypeCodeTxt AS _CustomerOrderItemTypeCodeText ON CustomerOrderItemTypeCode = _CustomerOrderItemTypeCodeText.CustomerOrderItemTypeCode  -- association [0..*]
;