P_ServiceOrderConfirmation

DDL: P_SERVICEORDERCONFIRMATION Type: view COMPOSITE

P_ServiceOrderConfirmation is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentSuccessor) and exposes 3 fields with key fields ServiceOrder, ServiceConfirmation. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentSuccessor ServiceOrderConfirmation from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentEnhcd _ServiceOrder $projection.ServiceOrderUUID = _ServiceOrder.ServiceDocumentUUID

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #NONE view
AbapCatalog.sqlViewName PSRVORDCONF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ServiceOrder view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder _ServiceOrder ServiceDocument Transaction ID
KEY ServiceConfirmation
ServiceOrderUUID ServiceDocumentUUID Object GUID

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 P_ServiceOrderConfirmation.
-- 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 P_ServiceOrderConfirmation AS
SELECT
  _ServiceOrder.ServiceDocument AS ServiceOrder,
  ServiceOrderConfirmation._ServiceDoc.ServiceDocument AS ServiceConfirmation,
  ServiceDocumentUUID AS ServiceOrderUUID
FROM I_ServiceDocumentSuccessor AS ServiceOrderConfirmation
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceOrder ON ServiceOrderUUID = _ServiceOrder.ServiceDocumentUUID  -- association [0..1]
;