APS_COM_CS_D2_EVENT_SA_C

DDL: APS_COM_CS_D2_EVENT_SA_C Type: view_entity Package: SR_APS_COM_CS

CS Draft 2.0 Event Subscription Add. C

APS_COM_CS_D2_EVENT_SA_C is a CDS View that provides data about "CS Draft 2.0 Event Subscription Add. C" in SAP S/4HANA. It reads from 1 data source (APS_COM_CS_D2_EVENT_SA_TP) and exposes 12 fields with key field db_key. It has 2 associations to related views. Part of development package SR_APS_COM_CS.

Data Sources (1)

SourceAliasJoin Type
APS_COM_CS_D2_EVENT_SA_TP APS_COM_CS_D2_EVENT_SA_TP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] Aps_Com_Cs_D2_Root_C _Root _Root.db_key = $projection.root_key
[1..1] APS_COM_CS_D2_EVENT_C _Event _Event.db_key = $projection.parent_key

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label CS Draft 2.0 Event Subscription Add. C view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY db_key db_key UUID
parent_key parent_key UUID
root_key root_key UUID
SubscriptionAddress SubscriptionAddress Subscription Address
SubscriptionStatus SubscriptionStatus
SubscriptionStatusText
Creationdatetime Creationdatetime Timestamp
Createdbyuser Createdbyuser User Name
Lastchangedatetime Lastchangedatetime Timestamp
Lastchangedbyuser Lastchangedbyuser User Name
_Event _Event
_Root _Root

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 APS_COM_CS_D2_EVENT_SA_C.
-- 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 APS_COM_CS_D2_EVENT_SA_C AS
SELECT
  db_key,
  parent_key,
  root_key,
  SubscriptionAddress,
  SubscriptionStatus,
  cast('' as abap.sstring( 200 )) AS SubscriptionStatusText,
  Creationdatetime,
  Createdbyuser,
  Lastchangedatetime,
  Lastchangedbyuser
FROM APS_COM_CS_D2_EVENT_SA_TP
LEFT OUTER JOIN Aps_Com_Cs_D2_Root_C AS _Root ON _Root.db_key = root_key  -- association [1..1]
LEFT OUTER JOIN APS_COM_CS_D2_EVENT_C AS _Event ON _Event.db_key = parent_key  -- association [1..1]
;