R_Sitn2EventVH

DDL: R_SITN2EVENTVH Type: view_entity BASIC

Situation Event

R_Sitn2EventVH is a Basic CDS View that provides data about "Situation Event" in SAP S/4HANA. It reads from 2 data sources (seocompo, swotlv) and exposes 7 fields with key fields SitnEventObject, SitnEventType, SitnEventCategory, SitnEventType, SitnEventCategory.

Data Sources (2)

SourceAliasJoin Type
seocompo seocompo union
swotlv swotlv from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Situation Event view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SitnEventObject
KEY SitnEventType swotlv verb Component
KEY SitnEventCategory
SAPBusinessObjectTypeTechName beh_i_event bo_type SOT Name
KEY SitnEventType seocompo cmpname Component
KEY SitnEventCategory
SAPBusinessObjectTypeTechName beh_i_event bo_type SOT Name

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 R_Sitn2EventVH.
-- 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 R_Sitn2EventVH AS
SELECT
  cast ( swotlv.lobjtype as sit2_de_event_object ) AS SitnEventObject,
  swotlv.verb AS SitnEventType,
  cast('BO' as char2 preserving type) AS SitnEventCategory,
  beh_i_event.bo_type AS SAPBusinessObjectTypeTechName
FROM swotlv
-- UNION with additional select branch(es): seocompo
;