P_ClassifyProductForKeyDate
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)
| Source | Alias | Join Type |
|---|---|---|
| I_TrdClassfctnNmbrSchm | _NumberScheme | cross |
| I_TrdClassfctnProduct | Product | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sll_validon |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PCLSPRFORKDATE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA