P_SrvcOrdItmConfExist

DDL: P_SRVCORDITMCONFEXIST SQL: PSRVCONFEXIST Type: view COMPOSITE

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

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd ServiceOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ServiceDocumentSuccessor _ServiceOrderConfirmation $projection.ServiceOrderUUID = _ServiceOrderConfirmation.ServiceDocumentUUID and ServiceDocSuccessorBusObjType = 'BUS2000117'

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PSRVCONFEXIST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument Transaction ID
KEY ServiceObjectType ServiceObjectType Object Type
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_SrvcOrdItmConfExist.
-- 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.
-- SQL view name: PSRVCONFEXIST

CREATE VIEW P_SrvcOrdItmConfExist AS
SELECT
  ServiceDocument AS ServiceOrder,
  ServiceObjectType,
  _ServiceOrderConfirmation._ServiceDoc.ServiceDocument AS ServiceConfirmation,
  ServiceDocumentUUID AS ServiceOrderUUID
FROM I_ServiceDocumentEnhcd AS ServiceOrder
LEFT OUTER JOIN I_ServiceDocumentSuccessor AS _ServiceOrderConfirmation ON ServiceOrderUUID = _ServiceOrderConfirmation.ServiceDocumentUUID AND ServiceDocSuccessorBusObjType = 'BUS2000117'  -- association [0..*]
;