I_SeasonPurchasePeriod

DDL: I_SEASONPURCHASEPERIOD SQL: ISEASONMMPERIOD Type: view BASIC Package: VDM_RFM_SEASON

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 26 fields with key fields ConditionRecord, ProductSeasonYear, ProductSeason, ProductCollection, ProductTheme. It has 6 associations to related views. Part of development package VDM_RFM_SEASON.

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_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)

NameValueLevelField
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 (26)

KeyFieldSource TableSource FieldDescription
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
SeasonInternalIdentifier season_guid Sea Int. Identifier
SeasonPurchasePeriodUUID purchasing_guid
_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,
  season_guid AS SeasonInternalIdentifier,
  purchasing_guid AS SeasonPurchasePeriodUUID
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]
;