A_BusSolnOrderFUPSalesOrder

DDL: A_BUSSOLNORDERFUPSALESORDER Type: view COMPOSITE

Follow-up Sales Orders

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

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentSuccessor I_ServiceDocumentSuccessor from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_BusinessSolutionOrder _BusinessSolutionOrder $projection.BusinessSolutionOrderUUID = _BusinessSolutionOrder.BusinessSolutionOrderUUID

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Follow-up Sales Orders view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ABSOFUPSLSORD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentRelationUUID ServiceDocumentRelationUUID GUID link
KEY ServiceDocRltnSequenceNumber ServiceDocRltnSequenceNumber Seq Number
BusinessSolutionOrder _BusinessSolutionOrder BusinessSolutionOrder Solution Order
BusinessSolutionOrderUUID ServiceDocumentUUID Object GUID
SalesOrder
_BusinessSolutionOrder _BusinessSolutionOrder

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 A_BusSolnOrderFUPSalesOrder.
-- 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 A_BusSolnOrderFUPSalesOrder AS
SELECT
  ServiceDocumentRelationUUID,
  ServiceDocRltnSequenceNumber,
  _BusinessSolutionOrder.BusinessSolutionOrder AS BusinessSolutionOrder,
  ServiceDocumentUUID AS BusinessSolutionOrderUUID,
  ltrim(ServiceDocSuccessor, '0') AS SalesOrder
FROM I_ServiceDocumentSuccessor
LEFT OUTER JOIN A_BusinessSolutionOrder AS _BusinessSolutionOrder ON BusinessSolutionOrderUUID = _BusinessSolutionOrder.BusinessSolutionOrderUUID  -- association [1..1]
;