P_BusSolnOrdItmWithHdrStat

DDL: P_BUSSOLNORDITMWITHHDRSTAT SQL: PBSORDITMWTHSTAT Type: view COMPOSITE

P_BusSolnOrdItmWithHdrStat is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 6 fields with key fields ServiceObjectType, BusinessSolutionOrder.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd I_ServiceDocumentItemEnhcd from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PBSORDITMWTHSTAT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
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 _ServiceDocument ServiceDocumentIsOpen
ServiceDocumentIsReleased _ServiceDocument 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.
-- SQL view name: PBSORDITMWTHSTAT

CREATE VIEW P_BusSolnOrdItmWithHdrStat AS
SELECT
  ServiceObjectType,
  ServiceDocument AS BusinessSolutionOrder,
  min( ServiceDocumentItem ) AS BusinessSolutionOrderItem,
  _ServiceDocument.ServiceDocumentIsOpen AS ServiceDocumentIsOpen,
  _ServiceDocument.ServiceDocumentIsReleased AS ServiceDocumentIsReleased,
  _ServiceDocument._ServiceDocumentIsOpen AS _ServiceDocumentIsOpen
FROM I_ServiceDocumentItemEnhcd
;