SEPMRA_C_SH_Category

DDL: SEPMRA_C_SH_CATEGORY Type: view

Category

SEPMRA_C_SH_Category is a CDS View that provides data about "Category" in SAP S/4HANA. It reads from 1 data source (SEPMRA_I_ProductCategory) and exposes 6 fields with key field Id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
SEPMRA_I_ProductCategory Category from

Associations (1)

CardinalityTargetAliasCondition
[1..1] SEPMRA_C_SH_MainCategory _MainCategory _MainCategory.Id = $projection.MainCategoryId

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName SEPMRACSHCAT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Category view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Id SEPMRA_I_ProductCategory ProductCategory Prod Category
Name SEPMRA_I_ProductCategory ProductCategory Prod Category
intheEPMmodel
MainProductCategoryasMainCategoryId
MainCategoryName SEPMRA_I_ProductCategory MainProductCategory Main Category
intheEPMmodel

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 SEPMRA_C_SH_Category.
-- 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 SEPMRA_C_SH_Category AS
SELECT
  Category.ProductCategory AS Id,
  Category.ProductCategory AS Name,
  categories do not have multi-language texts Category.MainProductCategory as MainCategoryId AS MainProductCategoryasMainCategoryId,
  Category.MainProductCategory AS MainCategoryName
FROM SEPMRA_I_ProductCategory AS Category
LEFT OUTER JOIN SEPMRA_C_SH_MainCategory AS _MainCategory ON _MainCategory.Id = MainCategoryId  -- association [1..1]
;