I_ChgOrdPrdcssrSubscrpnContr

DDL: I_CHGORDPRDCSSRSUBSCRPNCONTR Type: view_entity COMPOSITE Package: CRMS4_SOM_LEGACY

Predecessor Contract

I_ChgOrdPrdcssrSubscrpnContr is a Composite CDS View that provides data about "Predecessor Contract" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentPredecessor) and exposes 6 fields with key fields SubscriptionOrder, ServiceDocumentRelationUUID, ServiceDocRltnSequenceNumber. It has 2 associations to related views. Part of development package CRMS4_SOM_LEGACY.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentPredecessor I_ServiceDocumentPredecessor from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ServiceDocumentEnhcd _ServiceDocumentEnhcd $projection.SubscriptionOrderUUID = _ServiceDocumentEnhcd.ServiceDocumentUUID
[1..1] I_SubscriptionOrder _SubscriptionOrder $projection.SubscriptionOrderUUID = _SubscriptionOrder.SubscriptionOrderUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Predecessor Contract view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionOrder _ServiceDocumentEnhcd ServiceDocument Transaction ID
KEY ServiceDocumentRelationUUID ServiceDocumentRelationUUID GUID link
KEY ServiceDocRltnSequenceNumber ServiceDocRltnSequenceNumber Seq Number
SubscriptionContract _ServiceDoc ServiceDocument Transaction ID
SubscriptionOrderUUID ServiceDocumentUUID Object GUID
_SubscriptionOrder _SubscriptionOrder

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_ChgOrdPrdcssrSubscrpnContr.
-- 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_ChgOrdPrdcssrSubscrpnContr AS
SELECT
  _ServiceDocumentEnhcd.ServiceDocument AS SubscriptionOrder,
  ServiceDocumentRelationUUID,
  ServiceDocRltnSequenceNumber,
  _ServiceDoc.ServiceDocument AS SubscriptionContract,
  ServiceDocumentUUID AS SubscriptionOrderUUID
FROM I_ServiceDocumentPredecessor
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceDocumentEnhcd ON SubscriptionOrderUUID = _ServiceDocumentEnhcd.ServiceDocumentUUID  -- association [1..1]
LEFT OUTER JOIN I_SubscriptionOrder AS _SubscriptionOrder ON SubscriptionOrderUUID = _SubscriptionOrder.SubscriptionOrderUUID  -- association [1..1]
;