P_ClassifyProdEndUseForKeyDate

DDL: P_CLASSIFYPRODENDUSEFORKEYDATE SQL: PCLSPREUKDATE Type: view COMPOSITE

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

Data Sources (2)

SourceAliasJoin Type
I_TrdClassfctnEndUse _NumberSchemeEndUse cross
I_TrdClassfctnProduct Product from

Parameters (1)

NameTypeDefault
P_KeyDate sll_validon

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PCLSPREUKDATE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY TrdClassfctnNmbrSchm I_TrdClassfctnEndUse TrdClassfctnNmbrSchm Numbering Scheme
KEY Product I_TrdClassfctnProduct Product Product Sold
KEY TrdClassfctnEndUse I_TrdClassfctnEndUse TrdClassfctnEndUse End-Use
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_TrdClassfctnEndUse TrdClassfctnNmbrSchmType
TrdClassfctnNmbr _Class TrdClassfctnNmbr
_TrdClassfctnNmbrSchmText I_TrdClassfctnEndUse _TrdClassfctnNmbrSchmText
_TrdClassfctnEndUseText I_TrdClassfctnEndUse _TrdClassfctnEndUseText
_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_ClassifyProdEndUseForKeyDate.
-- 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: PCLSPREUKDATE
-- Parameters: P_KeyDate : sll_validon

CREATE VIEW P_ClassifyProdEndUseForKeyDate AS
SELECT
  _NumberSchemeEndUse.TrdClassfctnNmbrSchm AS TrdClassfctnNmbrSchm,
  Product.Product AS Product,
  _NumberSchemeEndUse.TrdClassfctnEndUse AS TrdClassfctnEndUse,
  Product.AuthorizationGroup AS AuthorizationGroup,
  IsMarkedForDeletion,
  ProductCategory,
  Product.ProductGroup AS ProductGroup,
  Division,
  ProductHierarchy,
  Product.ProductType AS ProductType,
  ProductTypeCode,
  ExternalProductGroup,
  IndustrySector,
  CreationDate,
  _NumberSchemeEndUse.TrdClassfctnNmbrSchmType AS TrdClassfctnNmbrSchmType,
  _Class.TrdClassfctnNmbr AS TrdClassfctnNmbr,
  _NumberSchemeEndUse._TrdClassfctnNmbrSchmText AS _TrdClassfctnNmbrSchmText,
  _NumberSchemeEndUse._TrdClassfctnEndUseText AS _TrdClassfctnEndUseText,
  Product._ProductGroup AS _ProductGroup,
  Product._ProductType AS _ProductType
FROM I_TrdClassfctnProduct AS Product
CROSS JOIN I_TrdClassfctnEndUse AS _NumberSchemeEndUse
;