I_SubscrpnOrdFUPSalesOrder

DDL: I_SUBSCRPNORDFUPSALESORDER Type: view_entity COMPOSITE

Follow Up Sales Order

I_SubscrpnOrdFUPSalesOrder is a Composite CDS View that provides data about "Follow Up Sales Order" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentSuccessor) and exposes 6 fields with key fields SubscriptionOrder, ServiceDocumentRelationUUID, ServiceDocRltnSequenceNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentSuccessor I_ServiceDocumentSuccessor from

Associations (1)

CardinalityTargetAliasCondition
[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 Follow Up Sales Order view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionOrder
KEY ServiceDocumentRelationUUID ServiceDocumentRelationUUID GUID link
KEY ServiceDocRltnSequenceNumber ServiceDocRltnSequenceNumber Seq Number
SubscriptionOrderUUID ServiceDocumentUUID Object GUID
SalesOrder
_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_SubscrpnOrdFUPSalesOrder.
-- 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_SubscrpnOrdFUPSalesOrder AS
SELECT
  _SubscriptionOrder .SubscriptionOrder AS SubscriptionOrder,
  ServiceDocumentRelationUUID,
  ServiceDocRltnSequenceNumber,
  ServiceDocumentUUID AS SubscriptionOrderUUID,
  substring(ServiceDocSuccessor,1, 10 ) AS SalesOrder
FROM I_ServiceDocumentSuccessor
LEFT OUTER JOIN I_SubscriptionOrder AS _SubscriptionOrder ON SubscriptionOrderUUID = _SubscriptionOrder.SubscriptionOrderUUID  -- association [1..1]
;