CUAN_MktPlanAndRelatedObjects

DDL: CUAN_MKTPLANANDRELATEDOBJECTS SQL: CUAN_MPL_RELOBJ Type: view Package: CUAN_CDS_MRM

Marketing Plan with related Pgm and Cpg

CUAN_MktPlanAndRelatedObjects is a CDS View that provides data about "Marketing Plan with related Pgm and Cpg" in SAP S/4HANA. It reads from 4 data sources (I_Mkt_Initiative, I_MKT_InitiativeVersion, cuand_mktpl_root, cuan_d_pgm_root) and exposes 9 fields with key fields Root_Key, Object_Key, Object_Key, Object_Key, Object_Key. Part of development package CUAN_CDS_MRM.

Data Sources (4)

SourceAliasJoin Type
I_Mkt_Initiative I_Mkt_Initiative union
I_MKT_InitiativeVersion I_MKT_InitiativeVersion union
cuand_mktpl_root MarketingPlan union
cuan_d_pgm_root Program from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CUAN_MPL_RELOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Marketing Plan with related Pgm and Cpg view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Root_Key cuan_d_pgm_root marketing_plan_guid
KEY Object_Key cuan_d_pgm_root db_key UUID
MarketingPlanUUIDasRoot_Key
KEY Object_Key I_Mkt_Initiative Campaign UUID
MarketingPlanUUIDasRoot_Key
KEY Object_Key I_MKT_InitiativeVersion Campaign UUID
db_keyasRoot_Key
KEY Object_Key cuand_mktpl_root db_key UUID
Object_Type

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 CUAN_MktPlanAndRelatedObjects.
-- 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: CUAN_MPL_RELOBJ

CREATE VIEW CUAN_MktPlanAndRelatedObjects AS
SELECT
  Program.marketing_plan_guid AS Root_Key,
  Program.db_key AS Object_Key,
  cast('CUAN_PROGRAM' as hpa_generic_object_type) as Object_Type AS MarketingPlanUUIDasRoot_Key,
  cast('CUAN_INITIATIVE' as hpa_generic_object_type) as Object_Type AS db_keyasRoot_Key,
  cast('CUAN_MARKETING_PLAN' as hpa_generic_object_type) AS Object_Type
FROM cuan_d_pgm_root AS Program
-- UNION with additional select branch(es): I_Mkt_Initiative, I_MKT_InitiativeVersion, cuand_mktpl_root
;