I_RevnGrowthPromnCndnDocument

DDL: I_REVNGROWTHPROMNCNDNDOCUMENT Type: view_entity BASIC

Condition Document

I_RevnGrowthPromnCndnDocument is a Basic CDS View that provides data about "Condition Document" in SAP S/4HANA. It reads from 1 data source (rgm_promn_cnddoc) and exposes 13 fields with key field RevnGrowthPromnCndnDocUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
rgm_promn_cnddoc rgm_promn_cnddoc from

Associations (1)

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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Condition Document 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 (13)

KeyFieldSource TableSource FieldDescription
KEY RevnGrowthPromnCndnDocUUID document_uuid UUID
RevnGrowthMgmtPromnTrdSpndUUID trade_spend_uuid
RevnGrowthPromnTrdSpndItemUUID trade_spend_item_uuid
RevnGrowthPromnSpndItmDurnUUID trade_spend_item_duration_uuid
RevnGrowthMgmtPromotionUUID _PromotionTradeSpend RevnGrowthMgmtPromotionUUID
RevnGrowthPromnCndnDocType document_type Unit
RevnGrowthPromnCndnDocumentID document_id Snapshot ID
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_RevnGrowthPromnCndnDocument.
-- 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_RevnGrowthPromnCndnDocument AS
SELECT
  document_uuid AS RevnGrowthPromnCndnDocUUID,
  trade_spend_uuid AS RevnGrowthMgmtPromnTrdSpndUUID,
  trade_spend_item_uuid AS RevnGrowthPromnTrdSpndItemUUID,
  trade_spend_item_duration_uuid AS RevnGrowthPromnSpndItmDurnUUID,
  _PromotionTradeSpend.RevnGrowthMgmtPromotionUUID AS RevnGrowthMgmtPromotionUUID,
  document_type AS RevnGrowthPromnCndnDocType,
  document_id AS RevnGrowthPromnCndnDocumentID,
  created_by AS CreatedByUser,
  created_on AS RevnGrowthPromnCrtnDateTime,
  changed_by AS LastChangedByUser,
  changed_on AS RevnGrowthPromnLstChgDateTime,
  _PromotionTradeSpend._Promotion AS _Promotion
FROM rgm_promn_cnddoc
LEFT OUTER JOIN I_RevnGrowthPromnTrdSpndAssgmt AS _PromotionTradeSpend ON RevnGrowthMgmtPromnTrdSpndUUID = _PromotionTradeSpend.RevnGrowthMgmtPromnTrdSpndUUID  -- association [0..1]
;