C_MKT_PrdtvScenSegmtnObject

DDL: C_MKT_PRDTVSCENSEGMTNOBJECT SQL: CMKTPSCENSEGOBJ Type: view CONSUMPTION Package: CUAN_CDS_PREDICTIVE_SCENARIO

Predictive Scenarios: Seg. Objects

C_MKT_PrdtvScenSegmtnObject is a Consumption CDS View that provides data about "Predictive Scenarios: Seg. Objects" in SAP S/4HANA. It reads from 1 data source (I_MKT_PrdtvScenSegmtnObject) and exposes 11 fields with key fields PredictiveScenario, PredictiveScenarioVersion, SegmentationApplication, SegmentationObject. Part of development package CUAN_CDS_PREDICTIVE_SCENARIO.

Data Sources (1)

SourceAliasJoin Type
I_MKT_PrdtvScenSegmtnObject SegmentationObject from

Annotations (19)

NameValueLevelField
EndUserText.label Predictive Scenarios: Seg. Objects view
AbapCatalog.sqlViewName CMKTPSCENSEGOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
UI.headerInfo.typeName Assigned Segmentation Objects view
UI.headerInfo.typeNamePlural Segmentation Objects view
UI.headerInfo.title.value SegmentationObject view
UI.headerInfo.description.value SegmentationObject view
UI.presentationVariant.sortOrder.by SegmentationObject view
VDM.viewType #CONSUMPTION view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PredictiveScenario I_MKT_PrdtvScenSegmtnObject PredictiveScenario
KEY PredictiveScenarioVersion I_MKT_PrdtvScenSegmtnObject PredictiveScenarioVersion
KEY SegmentationApplication I_MKT_PrdtvScenSegmtnObject SegmentationApplication
KEY SegmentationObject I_MKT_PrdtvScenSegmtnObject SegmentationObject
SegmentationObjectName
SegmentationAttributeGroup I_MKT_PrdtvScenSegmtnObject SegmentationAttributeGroup
SegmentationDataSourceAlias I_MKT_PrdtvScenSegmtnObject SegmentationDataSourceAlias
CreationDateTime I_MKT_PrdtvScenSegmtnObject CreationDateTime Timestamp
CreatedByUserName
LastChangeDateTime I_MKT_PrdtvScenSegmtnObject LastChangeDateTime Timestamp
LastChangedByUserName

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 C_MKT_PrdtvScenSegmtnObject.
-- 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: CMKTPSCENSEGOBJ

CREATE VIEW C_MKT_PrdtvScenSegmtnObject AS
SELECT
  SegmentationObject.PredictiveScenario AS PredictiveScenario,
  SegmentationObject.PredictiveScenarioVersion AS PredictiveScenarioVersion,
  SegmentationObject.SegmentationApplication AS SegmentationApplication,
  SegmentationObject.SegmentationObject AS SegmentationObject,
  SegmentationObject._SegmentationObjectText.SegmentationObjectName AS SegmentationObjectName,
  SegmentationObject.SegmentationAttributeGroup AS SegmentationAttributeGroup,
  SegmentationObject.SegmentationDataSourceAlias AS SegmentationDataSourceAlias,
  SegmentationObject.CreationDateTime AS CreationDateTime,
  cast(SegmentationObject._CreatedByUser.FullName as cuan_created_by preserving type) AS CreatedByUserName,
  SegmentationObject.LastChangeDateTime AS LastChangeDateTime,
  cast(SegmentationObject._LastChangedByUser.FullName as cuan_changed_by preserving type) AS LastChangedByUserName
FROM I_MKT_PrdtvScenSegmtnObject AS SegmentationObject
;