C_MKT_PrdtvScenAttribute
Predictive Scenarios: Attributes
C_MKT_PrdtvScenAttribute is a Consumption CDS View that provides data about "Predictive Scenarios: Attributes" in SAP S/4HANA. It reads from 1 data source (I_MKT_PrdtvScenAttribute) and exposes 13 fields with key fields PredictiveScenario, PredictiveScenarioVersion, PredictiveScenarioAttribute. Part of development package CUAN_CDS_PREDICTIVE_SCENARIO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MKT_PrdtvScenAttribute | PredictiveScenAttribute | from |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Predictive Scenarios: Attributes | view | |
| AbapCatalog.sqlViewName | CMKTPREDSCENATTR | 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 | Predictive Scenarios: Attributes | view | |
| UI.headerInfo.typeNamePlural | Predictive Scenarios: Attributes | view | |
| UI.headerInfo.title.value | PredictiveScenarioAttribute | view | |
| UI.headerInfo.description.value | PredictiveScenarioAttribute | view | |
| UI.presentationVariant.sortOrder.by | PredictiveScenarioAttribute | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PredictiveScenario | I_MKT_PrdtvScenAttribute | PredictiveScenario | |
| KEY | PredictiveScenarioVersion | I_MKT_PrdtvScenAttribute | PredictiveScenarioVersion | |
| KEY | PredictiveScenarioAttribute | I_MKT_PrdtvScenAttribute | PredictiveScenarioAttribute | |
| IsPredictiveScenAttribDisabled | I_MKT_PrdtvScenAttribute | IsPredictiveScenAttribDisabled | ||
| PrdtvScenAttributeIsMandatory | I_MKT_PrdtvScenAttribute | PrdtvScenAttributeIsMandatory | ||
| MchnLrngAttributeType | I_MKT_PrdtvScenAttribute | MchnLrngAttributeType | ||
| ODataResourcePathTemplate | I_MKT_PrdtvScenAttribute | ODataResourcePathTemplate | ||
| ODataPropertyPath | I_MKT_PrdtvScenAttribute | ODataPropertyPath | ||
| PredictiveScenAttributeName | ||||
| CreationDateTime | I_MKT_PrdtvScenAttribute | CreationDateTime | Timestamp | |
| CreatedByUserName | ||||
| LastChangeDateTime | I_MKT_PrdtvScenAttribute | 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_PrdtvScenAttribute.
-- 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: CMKTPREDSCENATTR
CREATE VIEW C_MKT_PrdtvScenAttribute AS
SELECT
PredictiveScenAttribute.PredictiveScenario AS PredictiveScenario,
PredictiveScenAttribute.PredictiveScenarioVersion AS PredictiveScenarioVersion,
PredictiveScenAttribute.PredictiveScenarioAttribute AS PredictiveScenarioAttribute,
PredictiveScenAttribute.IsPredictiveScenAttribDisabled AS IsPredictiveScenAttribDisabled,
PredictiveScenAttribute.PrdtvScenAttributeIsMandatory AS PrdtvScenAttributeIsMandatory,
PredictiveScenAttribute.MchnLrngAttributeType AS MchnLrngAttributeType,
PredictiveScenAttribute.ODataResourcePathTemplate AS ODataResourcePathTemplate,
PredictiveScenAttribute.ODataPropertyPath AS ODataPropertyPath,
PredictiveScenAttribute._DataSrceAttribute.PrdtvDataSrceViewAttributeName AS PredictiveScenAttributeName,
PredictiveScenAttribute.CreationDateTime AS CreationDateTime,
cast(PredictiveScenAttribute._CreatedByUser.FullName as cuan_created_by preserving type) AS CreatedByUserName,
PredictiveScenAttribute.LastChangeDateTime AS LastChangeDateTime,
cast(PredictiveScenAttribute._LastChangedByUser.FullName as cuan_changed_by preserving type) AS LastChangedByUserName
FROM I_MKT_PrdtvScenAttribute AS PredictiveScenAttribute
;
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