I_SeasonSalesPeriod_2

DDL: I_SEASONSALESPERIOD_2 Type: view_entity BASIC Package: VDM_RFM_SEASON

Season Sales Period

I_SeasonSalesPeriod_2 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

SeasonSalesPeriod · Cross Applications

I_SeasonSalesPeriod_2 is a Basic CDS View that provides data about "Season Sales Period" in SAP S/4HANA. It reads from 1 data source (fsh_sd_periods) and exposes 33 fields with key fields ConditionRecord, ProductSeasonYear, ProductSeason, ProductCollection, ProductTheme. It has 9 associations to related views. Part of development package VDM_RFM_SEASON.

SAP Help Documentation

CategorySeasons for Retail
Purpose
This CDS view displays the order and delivery windows for a season. This CDS view provides the data to answer the following business questions: Which season is available in the current order window? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Structure
Important Fields Important fields in this view include the following: Field Name Description ConditionRecord Condition record number for seasons ProductSeasonYear Season year ProductSeason Season ProductCollection Fashion collection ProductTheme Fashion theme SalesOrganization Sales organization DistributionChannel Distribution channel Country Country/Region key Region Region (state, province, country) CustomerGroup Customer group SoldToParty Customer number SalesDistrict Sales district PartnerFunction Partner function DeliveryStartDate Delivery date from DeliveryEndDate Delivery date to OrderStartDate Order date from OrderEndDate Order date to StoreSaleStartDate Store date from StoreSaleEndDate Store date to DeliveryDateIsProposed Delivery date check PreferredDeliveryDate Preferred delivery date CreatedByUser User who created the object CreationDate Date on which the object was created CreationTime Time at which the object was created LastChangedByUser Last user to change the object LastChangeDate Date on which the object was last changed LastChangeTime Time at which the object was last changed SupplyingPlant Plant SeasonInternalIdentifier Season internal unique identifier SeasonSalesPeriodUUID Unique identifier of the season sales periods SeasonPeriodType Season period type like sales or stock tranfer

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessCross Applications
Application ComponentLO-RFM-CA-SE-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view displays the order and delivery windows for a season.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which season is available in the current order window?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
fsh_sd_periods fsh_sd_periods from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.UserID
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[1..1] I_Season _Season $projection.ProductSeasonYear = _Season.ProductSeasonYear and $projection.ProductSeason = _Season.ProductSeason and $projection.ProductCollection = _Season.ProductCollection and $projection.ProductTheme = _Season.ProductTheme
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_Region _Region $projection.Country = _Region.Country and $projection.Region = _Region.Region
[1..1] I_CustomerGroup _CustomerGroup $projection.CustomerGroup = _CustomerGroup.CustomerGroup

Annotations (13)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ObjectModel.sapObjectNodeType.name SeasonSalesPeriod view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Season Sales Period view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY ConditionRecord fsh_crsd Condition Record Number for Seasons
KEY ProductSeasonYear fsh_season_year Season Year
KEY ProductSeason fsh_season Season
KEY ProductCollection fsh_collection Fashion Collection
KEY ProductTheme fsh_theme Fashion Theme
SalesOrganization vkorg Sales Organization
DistributionChannel vtweg Distribution Channel
Country land1 Country/Region Key
Region regio Region (State, Province, County)
CustomerGroup kdgrp Customer group
SoldToParty kunnr Customer Number
DeliveryStartDate sd_dldt_from Delivery Date From
DeliveryEndDate sd_dldt_to Delivery Date To
OrderStartDate sd_ordt_from Order Date From
OrderEndDate sd_ordt_to Order Date To
CreatedByUser fsh_createuser User Who Created the Object
CreationDate fsh_createdate Date on Which the Object Was Created
CreationTime fsh_createtime Time at Which the Object Was Created
LastChangedByUser fsh_changeuser Last User to Change the Object
LastChangeDate fsh_changedate Date on Which the Object Was Last Changed
LastChangeTime fsh_changetime Time at Which the Object Was Last Changed
SeasonInternalIdentifier season_guid Season Internal Unique Identifier
SeasonSalesPeriodUUID sales_guid Unique Identifier of the Season Sales Periods
SeasonPeriodType season_period_type Season period type like sales or stock tranfer
_SalesOrganization _SalesOrganization
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_DistributionChannel _DistributionChannel
_SoldToParty _SoldToParty
_Country _Country
_Region _Region
_CustomerGroup _CustomerGroup
_Season _Season

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 I_SeasonSalesPeriod_2.
-- 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 I_SeasonSalesPeriod_2 AS
SELECT
  fsh_crsd AS ConditionRecord,
  fsh_season_year AS ProductSeasonYear,
  fsh_season AS ProductSeason,
  fsh_collection AS ProductCollection,
  fsh_theme AS ProductTheme,
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  land1 AS Country,
  regio AS Region,
  kdgrp AS CustomerGroup,
  kunnr AS SoldToParty,
  sd_dldt_from AS DeliveryStartDate,
  sd_dldt_to AS DeliveryEndDate,
  sd_ordt_from AS OrderStartDate,
  sd_ordt_to AS OrderEndDate,
  fsh_createuser AS CreatedByUser,
  fsh_createdate AS CreationDate,
  fsh_createtime AS CreationTime,
  fsh_changeuser AS LastChangedByUser,
  fsh_changedate AS LastChangeDate,
  fsh_changetime AS LastChangeTime,
  season_guid AS SeasonInternalIdentifier,
  sales_guid AS SeasonSalesPeriodUUID,
  season_period_type AS SeasonPeriodType
FROM fsh_sd_periods
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_Season AS _Season ON ProductSeasonYear = _Season.ProductSeasonYear AND ProductSeason = _Season.ProductSeason AND ProductCollection = _Season.ProductCollection AND ProductTheme = _Season.ProductTheme  -- association [1..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Country = _Region.Country AND Region = _Region.Region  -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup  -- association [1..1]
;