P_ClassifyProductForKeyDate

DDL: P_CLASSIFYPRODUCTFORKEYDATE SQL: PCLSPRFORKDATE Type: view COMPOSITE

P_ClassifyProductForKeyDate is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_TrdClassfctnNmbrSchm, I_TrdClassfctnProduct) and exposes 31 fields with key fields TrdClassfctnNmbrSchm, Product.

Data Sources (2)

SourceAliasJoin Type
I_TrdClassfctnNmbrSchm _NumberScheme cross
I_TrdClassfctnProduct Product from

Parameters (1)

NameTypeDefault
P_KeyDate sll_validon

Annotations (5)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PCLSPRFORKDATE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY TrdClassfctnNmbrSchm I_TrdClassfctnNmbrSchm TrdClassfctnNmbrSchm Numbering Scheme
KEY Product I_TrdClassfctnProduct Product Product Sold
AuthorizationGroup I_TrdClassfctnProduct AuthorizationGroup AuthorizGroup
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
ProductCategory ProductCategory Prod Category
ProductGroup I_TrdClassfctnProduct ProductGroup Product Sold Group
Division Division Internal Division ID
ProductHierarchy ProductHierarchy Prod.hierarchy
ProductType I_TrdClassfctnProduct ProductType Product Type Group
ProductTypeCode ProductTypeCode Product Type Group
ExternalProductGroup ExternalProductGroup Ext. prod group
IndustrySector IndustrySector Industry
CreationDate CreationDate Time Stamp
TrdClassfctnNmbrSchmType I_TrdClassfctnNmbrSchm TrdClassfctnNmbrSchmType No. Scheme Type
TrdClassfctnNmbr _Class TrdClassfctnNmbr
_TrdClassfctnNmbrSchmText I_TrdClassfctnNmbrSchm _TrdClassfctnNmbrSchmText
_Text _Text
_ProductCategory _ProductCategory
_ProductCategoryText _ProductCategoryText
_ProductGroup I_TrdClassfctnProduct _ProductGroup
_ProductGroupText _ProductGroupText
_Division _Division
_DivisionText _DivisionText
_ProductHierarchy _ProductHierarchy
_ProductHierarchyText _ProductHierarchyText
_ProductType I_TrdClassfctnProduct _ProductType
_ProductTypeText _ProductTypeText
_ExternalProductGroup _ExternalProductGroup
_ExternalProductGroupText _ExternalProductGroupText
_IndustrySector _IndustrySector
_IndustrySectorText _IndustrySectorText

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 P_ClassifyProductForKeyDate.
-- 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: PCLSPRFORKDATE
-- Parameters: P_KeyDate : sll_validon

CREATE VIEW P_ClassifyProductForKeyDate AS
SELECT
  _NumberScheme.TrdClassfctnNmbrSchm AS TrdClassfctnNmbrSchm,
  Product.Product AS Product,
  Product.AuthorizationGroup AS AuthorizationGroup,
  IsMarkedForDeletion,
  ProductCategory,
  Product.ProductGroup AS ProductGroup,
  Division,
  ProductHierarchy,
  Product.ProductType AS ProductType,
  ProductTypeCode,
  ExternalProductGroup,
  IndustrySector,
  CreationDate,
  _NumberScheme.TrdClassfctnNmbrSchmType AS TrdClassfctnNmbrSchmType,
  _Class.TrdClassfctnNmbr AS TrdClassfctnNmbr,
  _NumberScheme._TrdClassfctnNmbrSchmText AS _TrdClassfctnNmbrSchmText,
  Product._ProductGroup AS _ProductGroup,
  Product._ProductType AS _ProductType
FROM I_TrdClassfctnProduct AS Product
CROSS JOIN I_TrdClassfctnNmbrSchm AS _NumberScheme
;