A_MKT_SpendHeaderTimeSplit

DDL: A_MKT_SPENDHEADERTIMESPLIT SQL: AMKT_SPENDHDRTS Type: view Package: CUAN_CDS_MRM

Marketing Spend Header Time Split

A_MKT_SpendHeaderTimeSplit is a CDS View that provides data about "Marketing Spend Header Time Split" in SAP S/4HANA. It reads from 1 data source (I_MKT_SpendHeaderTimeSplit) and exposes 9 fields with key field MarketingSpendHdrTimeSplitUUID. It has 2 associations to related views. Part of development package CUAN_CDS_MRM.

Data Sources (1)

SourceAliasJoin Type
I_MKT_SpendHeaderTimeSplit spend_header_timesplit from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MKT_CalendarMonth _MKT_CalendarMontht $projection.MarketingSpendCalendarMonth = _MKT_CalendarMontht.CalendarMonth
[1..1] A_MKT_SpendHeader _MKT_SpendHeader $projection.MarketingSpendHeaderUUID = _MKT_SpendHeader.MarketingSpendHeaderUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName AMKT_SPENDHDRTS view
VDM.viewtype #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Marketing Spend Header Time Split view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MarketingSpendHdrTimeSplitUUID I_MKT_SpendHeaderTimeSplit MarketingSpendHdrTimeSplitUUID
MarketingSpendHeaderUUID I_MKT_SpendHeaderTimeSplit MarketingSpendHeaderUUID
MarketingSpendCalendarYear I_MKT_SpendHeaderTimeSplit MarketingSpendCalendarYear
MarketingSpendCalendarQuarter I_MKT_SpendHeaderTimeSplit MarketingSpendCalendarQuarter
MarketingSpendCalendarMonth I_MKT_SpendHeaderTimeSplit MarketingSpendCalendarMonth
MktgSpendCalendarMonthName
PlannedMktgSpendHeaderAmt I_MKT_SpendHeaderTimeSplit PlannedMktgSpendHeaderAmt
PlannedMktgSpendHeaderCrcy I_MKT_SpendHeaderTimeSplit PlannedMktgSpendHeaderCrcy
_MKT_SpendHeader _MKT_SpendHeader

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 A_MKT_SpendHeaderTimeSplit.
-- 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: AMKT_SPENDHDRTS

CREATE VIEW A_MKT_SpendHeaderTimeSplit AS
SELECT
  spend_header_timesplit.MarketingSpendHdrTimeSplitUUID AS MarketingSpendHdrTimeSplitUUID,
  spend_header_timesplit.MarketingSpendHeaderUUID AS MarketingSpendHeaderUUID,
  spend_header_timesplit.MarketingSpendCalendarYear AS MarketingSpendCalendarYear,
  spend_header_timesplit.MarketingSpendCalendarQuarter AS MarketingSpendCalendarQuarter,
  spend_header_timesplit.MarketingSpendCalendarMonth AS MarketingSpendCalendarMonth,
  cast(_MKT_CalendarMontht._Text[1: Language=$session.system_language].CalendarMonthName as cuan_calendarmonthname preserving type ) AS MktgSpendCalendarMonthName,
  spend_header_timesplit.PlannedMktgSpendHeaderAmt AS PlannedMktgSpendHeaderAmt,
  spend_header_timesplit.PlannedMktgSpendHeaderCrcy AS PlannedMktgSpendHeaderCrcy
FROM I_MKT_SpendHeaderTimeSplit AS spend_header_timesplit
LEFT OUTER JOIN I_MKT_CalendarMonth AS _MKT_CalendarMontht ON MarketingSpendCalendarMonth = _MKT_CalendarMontht.CalendarMonth  -- association [0..1]
LEFT OUTER JOIN A_MKT_SpendHeader AS _MKT_SpendHeader ON MarketingSpendHeaderUUID = _MKT_SpendHeader.MarketingSpendHeaderUUID  -- association [1..1]
;