APS_COM_CS_D2_EVENT_SA_TP

DDL: APS_COM_CS_D2_EVENT_SA_TP Type: view_entity Package: SR_APS_COM_CS

CS Draft 2.0 Event Subscription Add. TP

APS_COM_CS_D2_EVENT_SA_TP is a CDS View that provides data about "CS Draft 2.0 Event Subscription Add. TP" in SAP S/4HANA. It reads from 1 data source (APS_COM_CS_D2_EVENT_SA) and exposes 11 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 APS_COM_CS_D2_EVENT_SA from

Associations (2)

CardinalityTargetAliasCondition
[1..1] APS_COM_CS_D2_EVENT_TP _Event _Event.db_key = $projection.parent_key
[1..1] Aps_Com_Cs_D2_Root_Tp _Root _Root.db_key = $projection.root_key

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label CS Draft 2.0 Event Subscription Add. TP view
Metadata.allowExtensions true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeActivePersistence APS_CS_D_EVSA view
ObjectModel.writeDraftPersistence APS_CS_D_EVSA_D2 view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY db_key db_key UUID
parent_key parent_key UUID
root_key root_key UUID
SubscriptionAddress SubscriptionAddress
SubscriptionStatus SubscriptionStatus
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_TP.
-- 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_TP AS
SELECT
  db_key,
  parent_key,
  root_key,
  SubscriptionAddress,
  SubscriptionStatus,
  Creationdatetime,
  Createdbyuser,
  Lastchangedatetime,
  Lastchangedbyuser
FROM APS_COM_CS_D2_EVENT_SA
LEFT OUTER JOIN APS_COM_CS_D2_EVENT_TP AS _Event ON _Event.db_key = parent_key  -- association [1..1]
LEFT OUTER JOIN Aps_Com_Cs_D2_Root_Tp AS _Root ON _Root.db_key = root_key  -- association [1..1]
;