C_ProductSeasons
Consumption - Product Seasons
C_ProductSeasons is a Consumption CDS View that provides data about "Consumption - Product Seasons" in SAP S/4HANA. It reads from 1 data source (I_ProductSeasonsTP) and exposes 25 fields with key fields Product, ProductCollection, ProductSeason, ProductTheme, ProductSeasonYear. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductSeasonsTP | I_ProductSeasonsTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | C_ProductSeasonYearVH | _SeasonYear | $projection.ProductSeasonYearForEdit = _SeasonYear.ProductSeasonYear and $projection.ProductSeasonForEdit = _SeasonYear.ProductSeason and $projection.ProductCollectionForEdit = _SeasonYear.ProductCollection and $projection.ProductThemeForEdit = _SeasonYear.ProductTheme |
| [0..1] | I_ProductSeasonsValidity | _SeasonValid | $projection.ProductSeasonYear = _SeasonValid.ProductSeasonYear and $projection.ProductSeason = _SeasonValid.ProductSeason |
| [0..*] | I_ProductCollectionT | _CollectionText | $projection.ProductSeasonForCreate = _CollectionText.ProductSeason and $projection.ProductSeasonYearForEdit = _CollectionText.ProductSeasonYear and $projection.ProductCollectionForCreate = _CollectionText.ProductCollection |
| [0..*] | I_ProductThemeT | _ThemeText | $projection.ProductSeasonForCreate = _ThemeText.ProductSeason and $projection.ProductSeasonYearForEdit = _ThemeText.ProductSeasonYear and $projection.ProductCollectionForCreate = _ThemeText.ProductCollection and $projection.ProductThemeForCreate = _ThemeText.ProductTheme |
| [0..*] | I_ProductSeasonsText | _SeasonText | $projection.ProductSeasonYearForEdit = _SeasonText.ProductSeasonYear and $projection.ProductSeasonForCreate = _SeasonText.ProductSeason |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRODSEASONS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption - Product Seasons | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Feature | SW:ISR_RETAILSWITCH | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Sold | |
| KEY | ProductCollection | ProductCollection | Collection | |
| KEY | ProductSeason | ProductSeason | Season | |
| KEY | ProductTheme | ProductTheme | Theme | |
| KEY | ProductSeasonYear | ProductSeasonYear | Season Year | |
| KEY | RequirementSegment | RequirementSegment | Req. Segment | |
| ProductCollectionForCreate | ProductCollectionForCreate | Collection | ||
| ProductCollectionForEdit | ProductCollectionForEdit | Collection | ||
| ProductSeasonForCreate | ProductSeasonForCreate | Season | ||
| ProductSeasonForEdit | ProductSeasonForEdit | Season | ||
| ProductSeasonYearForEdit | ProductSeasonYearForEdit | Season Year | ||
| ProductThemeForCreate | ProductThemeForCreate | Theme | ||
| ProductThemeForEdit | ProductThemeForEdit | Theme | ||
| IsProductSeasonType1 | IsProductSeasonType1 | |||
| IsProductSeasonType2 | IsProductSeasonType2 | |||
| IsProductSeasonType3 | IsProductSeasonType3 | |||
| ProductSeasonName | ||||
| ProductSeasonValidFrom | ||||
| ProductSeasonValidTo | ||||
| _Product | _Product | |||
| _SeasonYear | _SeasonYear | |||
| _SeasonValid | _SeasonValid | |||
| _CollectionText | _CollectionText | |||
| _ThemeText | _ThemeText | |||
| _SeasonText | _SeasonText |
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 C_ProductSeasons.
-- 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: CPRODSEASONS
CREATE VIEW C_ProductSeasons AS
SELECT
Product,
ProductCollection,
ProductSeason,
ProductTheme,
ProductSeasonYear,
RequirementSegment,
ProductCollectionForCreate,
ProductCollectionForEdit,
ProductSeasonForCreate,
ProductSeasonForEdit,
ProductSeasonYearForEdit,
ProductThemeForCreate,
ProductThemeForEdit,
IsProductSeasonType1,
IsProductSeasonType2,
IsProductSeasonType3,
cast ( '' as fsh_article_season_desc ) AS ProductSeasonName,
cast( '' as fsh_sea_valid_from ) AS ProductSeasonValidFrom,
cast( '' as fsh_sea_valid_to ) AS ProductSeasonValidTo
FROM I_ProductSeasonsTP
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN C_ProductSeasonYearVH AS _SeasonYear ON ProductSeasonYearForEdit = _SeasonYear.ProductSeasonYear AND ProductSeasonForEdit = _SeasonYear.ProductSeason AND ProductCollectionForEdit = _SeasonYear.ProductCollection AND ProductThemeForEdit = _SeasonYear.ProductTheme -- association [0..1]
LEFT OUTER JOIN I_ProductSeasonsValidity AS _SeasonValid ON ProductSeasonYear = _SeasonValid.ProductSeasonYear AND ProductSeason = _SeasonValid.ProductSeason -- association [0..1]
LEFT OUTER JOIN I_ProductCollectionT AS _CollectionText ON ProductSeasonForCreate = _CollectionText.ProductSeason AND ProductSeasonYearForEdit = _CollectionText.ProductSeasonYear AND ProductCollectionForCreate = _CollectionText.ProductCollection -- association [0..*]
LEFT OUTER JOIN I_ProductThemeT AS _ThemeText ON ProductSeasonForCreate = _ThemeText.ProductSeason AND ProductSeasonYearForEdit = _ThemeText.ProductSeasonYear AND ProductCollectionForCreate = _ThemeText.ProductCollection AND ProductThemeForCreate = _ThemeText.ProductTheme -- association [0..*]
LEFT OUTER JOIN I_ProductSeasonsText AS _SeasonText ON ProductSeasonYearForEdit = _SeasonText.ProductSeasonYear AND ProductSeasonForCreate = _SeasonText.ProductSeason -- association [0..*]
;
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