P_FollowUpServiceOrder

DDL: P_FOLLOWUPSERVICEORDER Type: view_entity CONSUMPTION

P_FollowUpServiceOrder is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentSuccessor) and exposes 4 fields with key fields ServiceDocumentUUID, ServiceDocumentSuccessorUUID.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentSuccessor I_ServiceDocumentSuccessor from

Annotations (8)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentUUID ServiceDocumentUUID Object GUID
KEY ServiceDocumentSuccessorUUID ServiceDocumentSuccessorUUID Object GUID
ServiceOrder
ServiceDocumentIsOpen

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_FollowUpServiceOrder.
-- 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_FollowUpServiceOrder AS
SELECT
  ServiceDocumentUUID,
  ServiceDocumentSuccessorUUID,
  _ServiceDoc[inner where ServiceDocumentIsQuotation = ''].ServiceDocument AS ServiceOrder,
  _ServiceDoc[inner where ServiceDocumentIsQuotation = ''].ServiceDocumentIsOpen AS ServiceDocumentIsOpen
FROM I_ServiceDocumentSuccessor
;