I_MKT_BudgetSource

DDL: I_MKT_BUDGETSOURCE SQL: IMKT_BUDGETSRCE Type: view BASIC Package: CUAN_CDS_MRM

Marketing Program Budget Source

I_MKT_BudgetSource is a Basic CDS View (Dimension) that provides data about "Marketing Program Budget Source" in SAP S/4HANA. It reads from 1 data source (cuan_d_budg_src) and exposes 7 fields with key field MarketingBudgetSourceUUID. It has 4 associations to related views. Part of development package CUAN_CDS_MRM.

Data Sources (1)

SourceAliasJoin Type
cuan_d_budg_src cuan_d_budg_src from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MKT_Program _MKT_Program $projection.MarketingProgram = _MKT_Program.MarketingProgram
[1..1] I_MKT_PlanCoordinate _MKT_PlanCoordinate $projection.MarketingPlanCoordinateUUID = _MKT_PlanCoordinate.MarketingPlanCoordinateUUID
[0..*] I_Mkt_Initiative _Campaign $projection.MarketingProgram = _Campaign.MarketingProgram
[0..*] I_MKT_CampaignAllVersions _CampaignAllVersions $projection.MarketingProgram = _CampaignAllVersions.MarketingProgram

Annotations (14)

NameValueLevelField
EndUserText.label Marketing Program Budget Source view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IMKT_BUDGETSRCE view
ObjectModel.representativeKey MarketingBudgetSourceUUID view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY MarketingBudgetSourceUUID
MarketingProgram cuan_d_budg_src parent_key UUID
MarketingPlanCoordinateUUID
_MKT_Program _MKT_Program
_MKT_PlanCoordinate _MKT_PlanCoordinate
_Campaign _Campaign
_CampaignAllVersions _CampaignAllVersions

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_BudgetSource.
-- 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_BUDGETSRCE

CREATE VIEW I_MKT_BudgetSource AS
SELECT
  cast(cuan_d_budg_src.db_key as cuan_budgetsourceuuid preserving type) AS MarketingBudgetSourceUUID,
  cuan_d_budg_src.parent_key AS MarketingProgram,
  cast(cuan_d_budg_src.plan_coordinate_guid as cuan_plancoordinateuuid preserving type) AS MarketingPlanCoordinateUUID
FROM cuan_d_budg_src
LEFT OUTER JOIN I_MKT_Program AS _MKT_Program ON MarketingProgram = _MKT_Program.MarketingProgram  -- association [1..1]
LEFT OUTER JOIN I_MKT_PlanCoordinate AS _MKT_PlanCoordinate ON MarketingPlanCoordinateUUID = _MKT_PlanCoordinate.MarketingPlanCoordinateUUID  -- association [1..1]
LEFT OUTER JOIN I_Mkt_Initiative AS _Campaign ON MarketingProgram = _Campaign.MarketingProgram  -- association [0..*]
LEFT OUTER JOIN I_MKT_CampaignAllVersions AS _CampaignAllVersions ON MarketingProgram = _CampaignAllVersions.MarketingProgram  -- association [0..*]
;