P_ServiceRequestOrder

DDL: P_SERVICEREQUESTORDER Type: view COMPOSITE

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

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentSuccessor ServiceRequestOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentEnhcd _ServiceRequest $projection.ServiceRequestUUID = _ServiceRequest.ServiceDocumentUUID

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PSRVREQORD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED 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 ServiceRequestUUID ServiceDocumentUUID Object GUID
ServiceRequest _ServiceRequest ServiceDocument Transaction ID
ServiceOrder

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_ServiceRequestOrder.
-- 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_ServiceRequestOrder AS
SELECT
  ServiceDocumentUUID AS ServiceRequestUUID,
  _ServiceRequest.ServiceDocument AS ServiceRequest,
  ServiceRequestOrder._ServiceDoc.ServiceDocument AS ServiceOrder
FROM I_ServiceDocumentSuccessor AS ServiceRequestOrder
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceRequest ON ServiceRequestUUID = _ServiceRequest.ServiceDocumentUUID  -- association [0..1]
;