P_SrvcConfWithoutItem

DDL: P_SRVCCONFWITHOUTITEM Type: view_entity CONSUMPTION Package: CRMS4_SERV_ORDER_UI

Service Confirmation without items

P_SrvcConfWithoutItem is a Consumption CDS View that provides data about "Service Confirmation without items" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 7 fields with key field ServiceConfirmation. It has 1 association to related views. Part of development package CRMS4_SERV_ORDER_UI.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentItemEnhcd _ServiceDocumentItemEnhcd $projection.ServiceConfirmation = _ServiceDocumentItemEnhcd.ServiceDocument and _ServiceDocumentItemEnhcd.ServiceObjectType = 'BUS2000117'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Service Confirmation without items view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation ServiceDocument Transaction ID
ServiceConfirmationObjectType ServiceObjectType Object Type
ServiceOrder
ServiceDocumentStatus ServiceDocumentStatus
ServiceDocumentHasError ServiceDocumentHasError
HierarchyIsOrphan
_ServiceDocHasError _ServiceDocHasError

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_SrvcConfWithoutItem.
-- 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_SrvcConfWithoutItem AS
SELECT
  ServiceDocument AS ServiceConfirmation,
  ServiceObjectType AS ServiceConfirmationObjectType,
  I_ServiceDocumentEnhcd._ServiceDocPredecessor._ServiceDoc.ServiceDocument AS ServiceOrder,
  ServiceDocumentStatus,
  ServiceDocumentHasError,
  'X' AS HierarchyIsOrphan
FROM I_ServiceDocumentEnhcd
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ServiceDocumentItemEnhcd ON ServiceConfirmation = _ServiceDocumentItemEnhcd.ServiceDocument AND _ServiceDocumentItemEnhcd.ServiceObjectType = 'BUS2000117'  -- association [0..1]
;