CUAN_MKT_MARKETING_PLAN_SEARCH
Marketing Plan Search
CUAN_MKT_MARKETING_PLAN_SEARCH is a CDS View that provides data about "Marketing Plan Search" in SAP S/4HANA. It reads from 1 data source (I_MKT_MarketingPlan) and exposes 17 fields with key field DB_KEY. Part of development package CUAN_CDS_MRM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MKT_MarketingPlan | I_MKT_MarketingPlan | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Marketing Plan Search | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| AbapCatalog.sqlViewName | CUAN_MKTGPLAN | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | DB_KEY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DB_KEY | I_MKT_MarketingPlan | MarketingPlanUUID | |
| OBJECT_VERSION_HEADER_GUID | I_MKT_MarketingPlan | MktgObjVersHdrUUID | ||
| ID | I_MKT_MarketingPlan | MarketingPlan | WorklistID | |
| NAME | I_MKT_MarketingPlan | MarketingPlanName | ||
| MKTGOBJVERSHDRNAME | _MKT_ObjectVersionHeader | MktgObjVersHdrName | ||
| VALID_FROM | I_MKT_MarketingPlan | MarketingPlanStartDate | Validity Start Time | |
| VALID_TO | I_MKT_MarketingPlan | MarketingPlanEndDate | Validity End Time | |
| STATUS | I_MKT_MarketingPlan | MarketingPlanStatus | Workflow Status | |
| ObjectStatusNameendasSTATUS_DESC | ||||
| CALENDAR_YEAR | ||||
| BUDGET_PLAN_KEY | ||||
| MKT_AREA | I_MKT_MarketingPlan | MarketingArea | ||
| MKT_AREA_DESC | ||||
| CREATED_BY | I_MKT_MarketingPlan | MarketingPlanCreatedByUser | Version Created By | |
| CHANGED_BY | I_MKT_MarketingPlan | MarketingPlanLastChangedByUser | User Name | |
| CREATED_ON | I_MKT_MarketingPlan | MktgPlanCreationDateTime | Variant created on | |
| CHANGED_ON | I_MKT_MarketingPlan | MktgPlanLastChangedDateTime | Variant Changed on |
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_MKT_MARKETING_PLAN_SEARCH.
-- 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_MKTGPLAN
CREATE VIEW CUAN_MKT_MARKETING_PLAN_SEARCH AS
SELECT
I_MKT_MarketingPlan.MarketingPlanUUID AS DB_KEY,
I_MKT_MarketingPlan.MktgObjVersHdrUUID AS OBJECT_VERSION_HEADER_GUID,
I_MKT_MarketingPlan.MarketingPlan AS ID,
I_MKT_MarketingPlan.MarketingPlanName AS NAME,
_MKT_ObjectVersionHeader.MktgObjVersHdrName AS MKTGOBJVERSHDRNAME,
I_MKT_MarketingPlan.MarketingPlanStartDate AS VALID_FROM,
I_MKT_MarketingPlan.MarketingPlanEndDate AS VALID_TO,
I_MKT_MarketingPlan.MarketingPlanStatus AS STATUS,
case when I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = $session.system_language ].ObjectStatusName is null or I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = $session.system_language ].ObjectStatusName = ' ' then case when I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = 'E' ].ObjectStatusName is null or I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = 'E' ].ObjectStatusName = ' ' then cast( I_MKT_MarketingPlan.MarketingPlanStatus as hpa_status_description ) else I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = 'E' ].ObjectStatusName end else I_MKT_MarketingPlan._MKT_StatusForBusObj._Text[1: Language = $session.system_language ].ObjectStatusName end as STATUS_DESC AS ObjectStatusNameendasSTATUS_DESC,
cast(left( I_MKT_MarketingPlan.MarketingPlanStartDate, 4 ) as cuan_year preserving type) AS CALENDAR_YEAR,
I_MKT_MarketingPlan._MKT_MarketingPlanBudgetPlan.MarketingBudgetPlanUUID AS BUDGET_PLAN_KEY,
I_MKT_MarketingPlan.MarketingArea AS MKT_AREA,
I_MKT_MarketingPlan._MarketingPlanMktgArea._Text[1: Language = $session.system_language ].MarketingAreaName AS MKT_AREA_DESC,
I_MKT_MarketingPlan.MarketingPlanCreatedByUser AS CREATED_BY,
I_MKT_MarketingPlan.MarketingPlanLastChangedByUser AS CHANGED_BY,
I_MKT_MarketingPlan.MktgPlanCreationDateTime AS CREATED_ON,
I_MKT_MarketingPlan.MktgPlanLastChangedDateTime AS CHANGED_ON
FROM I_MKT_MarketingPlan
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA