P_BusSolnOrdItmWithHdrStat

DDL: P_BUSSOLNORDITMWITHHDRSTAT Type: view_entity COMPOSITE Package: CRMS4_ANALYTICS_SOLUTION_ORDER

View to get status of solution order

P_BusSolnOrdItmWithHdrStat is a Composite CDS View that provides data about "View to get status of solution order" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 6 fields with key fields ServiceObjectType, BusinessSolutionOrder. Part of development package CRMS4_ANALYTICS_SOLUTION_ORDER.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd I_ServiceDocumentItemEnhcd from

Annotations (5)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY BusinessSolutionOrder ServiceDocument Transaction ID
BusinessSolutionOrderItem
ServiceDocumentIsOpen
ServiceDocumentIsReleased
_ServiceDocumentIsOpen _ServiceDocument _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_BusSolnOrdItmWithHdrStat.
-- 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_BusSolnOrdItmWithHdrStat AS
SELECT
  ServiceObjectType,
  ServiceDocument AS BusinessSolutionOrder,
  min( ServiceDocumentItem ) AS BusinessSolutionOrderItem,
  I_ServiceDocumentItemEnhcd._ServiceDocument.ServiceDocumentIsOpen AS ServiceDocumentIsOpen,
  I_ServiceDocumentItemEnhcd._ServiceDocument.ServiceDocumentIsReleased AS ServiceDocumentIsReleased,
  _ServiceDocument._ServiceDocumentIsOpen AS _ServiceDocumentIsOpen
FROM I_ServiceDocumentItemEnhcd
;