I_MKT_ProgramMediaTypeSpend

DDL: I_MKT_PROGRAMMEDIATYPESPEND SQL: IMKT_PGMMTTS Type: view BASIC Package: CUAN_CDS_MRM

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)

SourceAliasJoin Type
cuan_d_pgm_mtsts cuan_d_pgm_mtsts from

Associations (3)

CardinalityTargetAliasCondition
[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)

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

KeyFieldSource TableSource FieldDescription
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]
;