I_SeasonPurchasePeriod
Season purchasing periods basic view
I_SeasonPurchasePeriod is a Basic CDS View that provides data about "Season purchasing periods basic view" 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.
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_SeasonMaster | _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 |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISEASONMMPERIOD | view | |
| EndUserText.label | Season purchasing periods basic view | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | ConditionRecord | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionRecord | fsh_crsd | Cond.Record No. | |
| KEY | ProductSeasonYear | fsh_season_year | Season Year | |
| KEY | ProductSeason | fsh_season | Season | |
| KEY | ProductCollection | fsh_collection | Collection | |
| KEY | ProductTheme | fsh_theme | Theme | |
| PurchasingOrganization | ekorg | Purchasing Org. | ||
| PurchasingGroup | ekgrp | Sub. purchasing grp | ||
| Supplier | lifnr | Vendor no. | ||
| DeliveryStartDate | pp_dldt_from | Deliv.Date From | ||
| DeliveryEndDate | pp_dldt_to | Deliv. Date To | ||
| OrderStartDate | pp_ordt_from | Order Date From | ||
| OrderEndDate | pp_ordt_to | Order Date To | ||
| CreatedByUser | fsh_createuser | Created by | ||
| CreationDate | fsh_createdate | Created On | ||
| CreationTime | fsh_createtime | Created at | ||
| LastChangedByUser | fsh_changeuser | Changed by | ||
| LastChangeDate | fsh_changedate | Changed on | ||
| LastChangeTime | fsh_changetime | Changed at | ||
| _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.
-- 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: ISEASONMMPERIOD
CREATE VIEW I_SeasonPurchasePeriod 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_SeasonMaster 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