I_RevnGrowthPromnTrdSpendItem

DDL: I_REVNGROWTHPROMNTRDSPENDITEM Type: view_entity BASIC Package: RGM_PROMOTION_PROXY

Trade Spend Items of Promotion

I_RevnGrowthPromnTrdSpendItem is a Basic CDS View that provides data about "Trade Spend Items of Promotion" in SAP S/4HANA. It reads from 1 data source (rgm_promn_trdspi) and exposes 20 fields with key field RevnGrowthPromnTrdSpndItemUUID. It has 1 association to related views. Part of development package RGM_PROMOTION_PROXY.

Data Sources (1)

SourceAliasJoin Type
rgm_promn_trdspi rgm_promn_trdspi from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_RevnGrowthPromnTrdSpndAssgmt _PromotionTradeSpend $projection.RevnGrowthMgmtPromnTrdSpndUUID = _PromotionTradeSpend.RevnGrowthMgmtPromnTrdSpndUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Trade Spend Items of Promotion view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY RevnGrowthPromnTrdSpndItemUUID item_uuid Item UUID
RevnGrowthMgmtPromnTrdSpndUUID trade_spend_uuid
RevnGrowthMgmtPromnItmExtUUID trade_spend_item_ext_uuid
RevnGrowthMgmtPromotionUUID _PromotionTradeSpend RevnGrowthMgmtPromotionUUID
Product product Product Sold
ProductHierarchyNode product_hier_node Prod. Hierarchy
ProdUnivHierarchyNode prod_hier_node_value Node
RevnGrowthMgmtPromnCalcType cal_type_code
RevnGrowthMgmtPromnCalcMethod cal_method_code
RevnGrowthMgmtPromnCurrency
RevnGrowthMgmtPromnItemAmount amount Value Amount
RevnGrowthMgmtPromnPctgRate percentage Well Contribution Percentage
RevnGrowthMgmtPromnItmQtyUoM unit_of_measure Unit of Measure
RevnGrowthMgmtPromnItmQuantity quantity Value
CreatedByUser created_by Version Created By
RevnGrowthPromnCrtnDateTime created_on Variant created on
LastChangedByUser changed_by User Name
RevnGrowthPromnLstChgDateTime changed_on Variant Changed on
_PromotionTradeSpend _PromotionTradeSpend
_Promotion _PromotionTradeSpend _Promotion

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_RevnGrowthPromnTrdSpendItem.
-- 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.

CREATE VIEW I_RevnGrowthPromnTrdSpendItem AS
SELECT
  item_uuid AS RevnGrowthPromnTrdSpndItemUUID,
  trade_spend_uuid AS RevnGrowthMgmtPromnTrdSpndUUID,
  trade_spend_item_ext_uuid AS RevnGrowthMgmtPromnItmExtUUID,
  _PromotionTradeSpend.RevnGrowthMgmtPromotionUUID AS RevnGrowthMgmtPromotionUUID,
  Product,
  product_hier_node AS ProductHierarchyNode,
  prod_hier_node_value AS ProdUnivHierarchyNode,
  cal_type_code AS RevnGrowthMgmtPromnCalcType,
  cal_method_code AS RevnGrowthMgmtPromnCalcMethod,
  _PromotionTradeSpend._Promotion.RevnGrowthMgmtPromnCurrency AS RevnGrowthMgmtPromnCurrency,
  amount AS RevnGrowthMgmtPromnItemAmount,
  percentage AS RevnGrowthMgmtPromnPctgRate,
  unit_of_measure AS RevnGrowthMgmtPromnItmQtyUoM,
  quantity AS RevnGrowthMgmtPromnItmQuantity,
  created_by AS CreatedByUser,
  created_on AS RevnGrowthPromnCrtnDateTime,
  changed_by AS LastChangedByUser,
  changed_on AS RevnGrowthPromnLstChgDateTime,
  _PromotionTradeSpend._Promotion AS _Promotion
FROM rgm_promn_trdspi
LEFT OUTER JOIN I_RevnGrowthPromnTrdSpndAssgmt AS _PromotionTradeSpend ON RevnGrowthMgmtPromnTrdSpndUUID = _PromotionTradeSpend.RevnGrowthMgmtPromnTrdSpndUUID  -- association [0..1]
;