CUAN_OVH_MKTPLN_RelatedObjects

DDL: CUAN_OVH_MKTPLN_RELATEDOBJECTS SQL: CUANOVHMPLRELOBJ Type: view Package: CUAN_CDS_MRM

Related Objects Marketing Plan

CUAN_OVH_MKTPLN_RelatedObjects is a CDS View that provides data about "Related Objects Marketing Plan" in SAP S/4HANA. It reads from 7 data sources and exposes 8 fields with key field Object_Guid. Part of development package CUAN_CDS_MRM.

Data Sources (7)

SourceAliasJoin Type
I_MKT_BudgetSource I_MKT_BudgetSource union
I_MKT_BudgetSource I_MKT_BudgetSource union
I_Mkt_Initiative I_Mkt_Initiative union
I_MKT_MarketingPlanBudgetPlan I_MKT_MarketingPlanBudgetPlan union
I_MKT_SpendHeader I_MKT_SpendHeader union
cuand_mktpl_root MarketingPlan union
I_MKT_Program Program from

Parameters (1)

NameTypeDefault
OriginatingObjectUUID cuan_ovh_originating_obj_uuid

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CUANOVHMPLRELOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Related Objects Marketing Plan view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Object_Guid I_MKT_Program MarketingProgram UUID
CampaignasObject_Guid
MarketingSpendHeaderUUIDasObject_Guid
MarketingPlanCoordinateUUIDasObject_Guid
MarketingBudgetPlanUUIDasObject_Guid
MarketingBudgetPlanUUIDasObject_Guid
db_keyasObject_Guid
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_OVH_MKTPLN_RelatedObjects.
-- 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: CUANOVHMPLRELOBJ
-- Parameters: OriginatingObjectUUID : cuan_ovh_originating_obj_uuid

CREATE VIEW CUAN_OVH_MKTPLN_RelatedObjects AS
SELECT
  Program.MarketingProgram AS Object_Guid,
  cast('CUAN_PROGRAM' as hpa_generic_object_type ) as Object_Type AS CampaignasObject_Guid,
  cast('CUAN_INITIATIVE' as hpa_generic_object_type ) as Object_Type AS MarketingSpendHeaderUUIDasObject_Guid,
  cast('CUAN_MARKETING_SPEND' as hpa_generic_object_type ) as Object_Type AS MarketingPlanCoordinateUUIDasObject_Guid,
  cast('CUAN_PLAN_COORDINATE' as hpa_generic_object_type ) as Object_Type AS MarketingBudgetPlanUUIDasObject_Guid,
  cast('CUAN_BUDGET_PLANNING' as hpa_generic_object_type ) as Object_Type AS db_keyasObject_Guid,
  cast('CUAN_MARKETING_PLAN' as hpa_generic_object_type ) AS Object_Type
FROM I_MKT_Program AS Program
-- UNION with additional select branch(es): I_Mkt_Initiative, I_MKT_SpendHeader, I_MKT_BudgetSource, I_MKT_MarketingPlanBudgetPlan, cuand_mktpl_root
;