SEPM_I_ProductType

DDL: SEPM_I_PRODUCTTYPE SQL: SEPM_IPRODTYPE Type: view

EPM Demo: Product Type

SEPM_I_ProductType is a CDS View of category Dimension that provides data about "EPM Demo: Product Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ProductType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] SEPM_I_ProductTypeText _Text $projection.ProductType = _Text.ProductType

Annotations (9)

NameValueLevelField
EndUserText.label EPM Demo: Product Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName SEPM_IPRODTYPE view
ObjectModel.representativeKey ProductType view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProductType
_Text _Text

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 SEPM_I_ProductType.
-- 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: SEPM_IPRODTYPE

CREATE VIEW SEPM_I_ProductType AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as snwd_product_type_code preserving type ) AS ProductType
FROM dd07l
LEFT OUTER JOIN SEPM_I_ProductTypeText AS _Text ON ProductType = _Text.ProductType  -- association [0..*]
;