I_MKT_ProgramMediaTypeSpend
Marketing Program Media Type Spend
I_MKT_ProgramMediaTypeSpend is a Basic CDS View (Dimension) that provides data about "Marketing Program Media Type Spend" in SAP S/4HANA. It reads from 1 data source (cuan_d_pgm_mtsts) and exposes 9 fields with key field MktgPgmMediaTypeSpendUUID. It has 3 associations to related views. Part of development package CUAN_CDS_MRM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cuan_d_pgm_mtsts | cuan_d_pgm_mtsts | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MKT_Program | _MKT_Program | $projection.MarketingProgram = _MKT_Program.MarketingProgram |
| [1..1] | I_MKT_ProgramMediaType | _MKT_ProgramMediaType | $projection.MarketingProgramMediaTypeUUID = _MKT_ProgramMediaType.MarketingProgramMediaTypeUUID |
| [0..1] | I_Currency | _MarketingProgramCurrency | $projection.MarketingProgramCurrency = _MarketingProgramCurrency.Currency |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Marketing Program Media Type Spend | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IMKT_PGMMTTS | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | MktgPgmMediaTypeSpendUUID | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MktgPgmMediaTypeSpendUUID | db_key | UUID | |
| MarketingProgram | root_key | UUID | ||
| MarketingProgramMediaTypeUUID | parent_key | UUID | ||
| MarketingProposedSpendDate | cuan_d_pgm_mtsts | spend_date | ||
| MarketingProgramCurrency | cuan_d_pgm_mtsts | currency | Valuation Crcy | |
| ProposedMktgSpendAmt | cuan_d_pgm_mtsts | proposed_spend | ||
| _MKT_Program | _MKT_Program | |||
| _MKT_ProgramMediaType | _MKT_ProgramMediaType | |||
| _MarketingProgramCurrency | _MarketingProgramCurrency |
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_MKT_ProgramMediaTypeSpend.
-- 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: IMKT_PGMMTTS
CREATE VIEW I_MKT_ProgramMediaTypeSpend AS
SELECT
db_key AS MktgPgmMediaTypeSpendUUID,
root_key AS MarketingProgram,
parent_key AS MarketingProgramMediaTypeUUID,
cuan_d_pgm_mtsts.spend_date AS MarketingProposedSpendDate,
cuan_d_pgm_mtsts.currency AS MarketingProgramCurrency,
cuan_d_pgm_mtsts.proposed_spend AS ProposedMktgSpendAmt
FROM cuan_d_pgm_mtsts
LEFT OUTER JOIN I_MKT_Program AS _MKT_Program ON MarketingProgram = _MKT_Program.MarketingProgram -- association [1..1]
LEFT OUTER JOIN I_MKT_ProgramMediaType AS _MKT_ProgramMediaType ON MarketingProgramMediaTypeUUID = _MKT_ProgramMediaType.MarketingProgramMediaTypeUUID -- association [1..1]
LEFT OUTER JOIN I_Currency AS _MarketingProgramCurrency ON MarketingProgramCurrency = _MarketingProgramCurrency.Currency -- 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