I_ManageSeasonBasic

DDL: I_MANAGESEASONBASIC Type: view_entity COMPOSITE Package: VDM_RFM_SEASON

Season basic

I_ManageSeasonBasic is a Composite CDS View that provides data about "Season basic" in SAP S/4HANA. It reads from 1 data source (I_SeasonBasic) and exposes 27 fields with key field ProductSeasonInternalUUID. It has 5 associations to related views. Part of development package VDM_RFM_SEASON.

Data Sources (1)

SourceAliasJoin Type
I_SeasonBasic SeasonBasic from

Associations (5)

CardinalityTargetAliasCondition
[0..1] P_SeasonProduct _SeasonProduct $projection.ProductSeasonYear = _SeasonProduct.ProductSeasonYear and $projection.ProductSeason = _SeasonProduct.ProductSeason and $projection.ProductCollection = _SeasonProduct.ProductCollection and $projection.ProductTheme = _SeasonProduct.ProductTheme
[0..1] P_SeasonSalesPeriod _SeasonSalesPeriod $projection.ProductSeasonYear = _SeasonSalesPeriod.ProductSeasonYear and $projection.ProductSeason = _SeasonSalesPeriod.ProductSeason and $projection.ProductCollection = _SeasonSalesPeriod.ProductCollection and $projection.ProductTheme = _SeasonSalesPeriod.ProductTheme
[0..1] P_SeasonPurchasingPeriod _SeasonPurchasingPeriod $projection.ProductSeasonYear = _SeasonPurchasingPeriod.ProductSeasonYear and $projection.ProductSeason = _SeasonPurchasingPeriod.ProductSeason and $projection.ProductCollection = _SeasonPurchasingPeriod.ProductCollection and $projection.ProductTheme = _SeasonPurchasingPeriod.ProductTheme
[0..1] P_SeasonStockTransferPeriod _SeasonStockTransferPeriod $projection.ProductSeasonYear = _SeasonStockTransferPeriod.ProductSeasonYear and $projection.ProductSeason = _SeasonStockTransferPeriod.ProductSeason and $projection.ProductCollection = _SeasonStockTransferPeriod.ProductCollection and $projection.ProductTheme = _SeasonStockTransferPeriod.ProductTheme
[0..*] I_SeasonLevelText _SeasonLevelText $projection.SeasonLevel = _SeasonLevelText.SeasonLevel

Annotations (7)

NameValueLevelField
EndUserText.label Season basic view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey ProductSeasonInternalUUID view
AccessControl.authorizationCheck #MANDATORY view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY ProductSeasonInternalUUID SeasonInternalIdentifier Sea Int. Identifier
ProductSeasonYear ProductSeasonYear Season Year
ProductSeason ProductSeason Season
ProductCollection ProductCollection Collection
ProductTheme ProductTheme Theme
SeasonLevel SeasonLevel Season Level
SeasonLevelText
SeasonYearParent SeasonYearParent Season Year Par
SeasonParent SeasonParent Season Parent
CollectionParent CollectionParent Collection Par
ThemeParent ThemeParent Theme Parent
ProductSeasonValidFrom ProductSeasonValidFrom Validity From
ProductSeasonValidTo ProductSeasonValidTo Validity To
ProductSeasonStatus
SalesPeriodStatus
PurchasePeriodStatus
StockTransferPeriodStatus
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_SeasonText _SeasonText
_SeasonLevelText _SeasonLevelText

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_ManageSeasonBasic.
-- 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_ManageSeasonBasic AS
SELECT
  SeasonInternalIdentifier AS ProductSeasonInternalUUID,
  ProductSeasonYear,
  ProductSeason,
  ProductCollection,
  ProductTheme,
  SeasonLevel,
  _SeasonLevelText[1: Language=$session.system_language].SeasonLevelText AS SeasonLevelText,
  SeasonYearParent,
  SeasonParent,
  CollectionParent,
  ThemeParent,
  ProductSeasonValidFrom,
  ProductSeasonValidTo,
  ' ' AS ProductSeasonStatus,
  ' ' AS SalesPeriodStatus,
  ' ' AS PurchasePeriodStatus,
  ' ' AS StockTransferPeriodStatus,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangedByUser,
  LastChangeDate,
  LastChangeTime
FROM I_SeasonBasic AS SeasonBasic
LEFT OUTER JOIN P_SeasonProduct AS _SeasonProduct ON ProductSeasonYear = _SeasonProduct.ProductSeasonYear AND ProductSeason = _SeasonProduct.ProductSeason AND ProductCollection = _SeasonProduct.ProductCollection AND ProductTheme = _SeasonProduct.ProductTheme  -- association [0..1]
LEFT OUTER JOIN P_SeasonSalesPeriod AS _SeasonSalesPeriod ON ProductSeasonYear = _SeasonSalesPeriod.ProductSeasonYear AND ProductSeason = _SeasonSalesPeriod.ProductSeason AND ProductCollection = _SeasonSalesPeriod.ProductCollection AND ProductTheme = _SeasonSalesPeriod.ProductTheme  -- association [0..1]
LEFT OUTER JOIN P_SeasonPurchasingPeriod AS _SeasonPurchasingPeriod ON ProductSeasonYear = _SeasonPurchasingPeriod.ProductSeasonYear AND ProductSeason = _SeasonPurchasingPeriod.ProductSeason AND ProductCollection = _SeasonPurchasingPeriod.ProductCollection AND ProductTheme = _SeasonPurchasingPeriod.ProductTheme  -- association [0..1]
LEFT OUTER JOIN P_SeasonStockTransferPeriod AS _SeasonStockTransferPeriod ON ProductSeasonYear = _SeasonStockTransferPeriod.ProductSeasonYear AND ProductSeason = _SeasonStockTransferPeriod.ProductSeason AND ProductCollection = _SeasonStockTransferPeriod.ProductCollection AND ProductTheme = _SeasonStockTransferPeriod.ProductTheme  -- association [0..1]
LEFT OUTER JOIN I_SeasonLevelText AS _SeasonLevelText ON SeasonLevel = _SeasonLevelText.SeasonLevel  -- association [0..*]
;