I_SeasonPurchasePeriod_2

DDL: I_SEASONPURCHASEPERIOD_2 Type: view_entity BASIC Package: VDM_RFM_SEASON

Season Purchase Period

I_SeasonPurchasePeriod_2 (Basic)

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

SeasonPurchasePeriod · Cross Applications

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

SAP Help Documentation

CategorySeasons for Retail
Purpose
This CDS view displays the purchase periods 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 PurchasingOrganization Purchasing organization PurchasingGroup Purchasing group Supplier Supplier's account number DeliveryStartDate Delivery date from DeliveryEndDate Delivery date to OrderStartDate Order date from OrderEndDate Order date to 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 SeasonInternalIdentifier Season internal unique identifier SeasonPurchasePeriodUUID Unique identifier of the season purchasing periods

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 purchase periods 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_mm_periods fsh_mm_periods from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.UserID
[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_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup

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 SeasonPurchasePeriod view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Season Purchase Period view

Fields (24)

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
PurchasingOrganization ekorg Purchasing Organization
PurchasingGroup ekgrp Sub. purchasing grp
Supplier lifnr Supplier's Account Number
DeliveryStartDate pp_dldt_from Delivery Date From
DeliveryEndDate pp_dldt_to Delivery Date To
OrderStartDate pp_ordt_from Order Date From
OrderEndDate pp_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
_Season _Season
_ChangedByUser _ChangedByUser
_CreatedByUser _CreatedByUser
_Supplier _Supplier
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup

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_SeasonPurchasePeriod_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_SeasonPurchasePeriod_2 AS
SELECT
  fsh_crsd AS ConditionRecord,
  fsh_season_year AS ProductSeasonYear,
  fsh_season AS ProductSeason,
  fsh_collection AS ProductCollection,
  fsh_theme AS ProductTheme,
  ekorg AS PurchasingOrganization,
  ekgrp AS PurchasingGroup,
  lifnr AS Supplier,
  pp_dldt_from AS DeliveryStartDate,
  pp_dldt_to AS DeliveryEndDate,
  pp_ordt_from AS OrderStartDate,
  pp_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
FROM fsh_mm_periods
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_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_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
;