I_SeasonPurchasePeriod_2
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
| Category | Seasons for Retail |
|---|
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
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Cross Applications |
| Application Component | LO-RFM-CA-SE-2CL |
| Capabilities | Data 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 |
| Package | Cross 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fsh_mm_periods | fsh_mm_periods | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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