I_MKT_ProgramMediaType

DDL: I_MKT_PROGRAMMEDIATYPE SQL: IMKT_PGMMT Type: view BASIC Package: CUAN_CDS_MRM

Marketing: Program Media Type

I_MKT_ProgramMediaType is a Basic CDS View (Dimension) that provides data about "Marketing: Program Media Type" in SAP S/4HANA. It reads from 1 data source (cuan_d_pgm_mts) and exposes 10 fields with key field MarketingProgramMediaTypeUUID. It has 4 associations to related views. Part of development package CUAN_CDS_MRM.

Data Sources (1)

SourceAliasJoin Type
cuan_d_pgm_mts cuan_d_pgm_mts from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MKT_Program _MKT_Program $projection.MarketingProgram = _MKT_Program.MarketingProgram
[0..1] I_MKT_ProgramPhase _MKT_ProgramPhase $projection.MarketingProgramPhaseUUID = _MKT_ProgramPhase.MarketingProgramPhaseUUID
[0..*] I_MKT_ProgramMediaTypeSpend _MKT_ProgramMediaTypeSpend $projection.MarketingProgramMediaTypeUUID = _MKT_ProgramMediaTypeSpend.MarketingProgramMediaTypeUUID
[0..1] I_MKT_MediaType _MKT_MediaType $projection.MarketingProgramMediaType = _MKT_MediaType.MediaType

Annotations (16)

NameValueLevelField
EndUserText.label Marketing: Program Media Type view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMKT_PGMMT view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey MarketingProgramMediaTypeUUID 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
ObjectModel.sapObjectNodeType.name MarketingProgramMediaType view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MarketingProgramMediaTypeUUID db_key UUID
MarketingProgram parent_key UUID
MarketingProgramMediaType cuan_d_pgm_mts media_type_id
MktgProgramMediaTypeStartDate cuan_d_pgm_mts start_date Valn start date
MktgProgramMediaTypeEndDate cuan_d_pgm_mts end_date Valn End date
MarketingProgramPhaseUUID cuan_d_pgm_mts phase_guid
_MKT_Program _MKT_Program
_MKT_ProgramPhase _MKT_ProgramPhase
_MKT_ProgramMediaTypeSpend _MKT_ProgramMediaTypeSpend
_MKT_MediaType _MKT_MediaType

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_ProgramMediaType.
-- 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_PGMMT

CREATE VIEW I_MKT_ProgramMediaType AS
SELECT
  db_key AS MarketingProgramMediaTypeUUID,
  parent_key AS MarketingProgram,
  cuan_d_pgm_mts.media_type_id AS MarketingProgramMediaType,
  cuan_d_pgm_mts.start_date AS MktgProgramMediaTypeStartDate,
  cuan_d_pgm_mts.end_date AS MktgProgramMediaTypeEndDate,
  cuan_d_pgm_mts.phase_guid AS MarketingProgramPhaseUUID
FROM cuan_d_pgm_mts
LEFT OUTER JOIN I_MKT_Program AS _MKT_Program ON MarketingProgram = _MKT_Program.MarketingProgram  -- association [1..1]
LEFT OUTER JOIN I_MKT_ProgramPhase AS _MKT_ProgramPhase ON MarketingProgramPhaseUUID = _MKT_ProgramPhase.MarketingProgramPhaseUUID  -- association [0..1]
LEFT OUTER JOIN I_MKT_ProgramMediaTypeSpend AS _MKT_ProgramMediaTypeSpend ON MarketingProgramMediaTypeUUID = _MKT_ProgramMediaTypeSpend.MarketingProgramMediaTypeUUID  -- association [0..*]
LEFT OUTER JOIN I_MKT_MediaType AS _MKT_MediaType ON MarketingProgramMediaType = _MKT_MediaType.MediaType  -- association [0..1]
;