P_BusSolnOrdEntProjItmGrp

DDL: P_BUSSOLNORDENTPROJITMGRP Type: view COMPOSITE

P_BusSolnOrdEntProjItmGrp is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_BusSolnOrderEntProjItmSitn) and exposes 21 fields with key fields BusinessSolutionOrder, BusinessSolutionOrderItem.

Data Sources (1)

SourceAliasJoin Type
P_BusSolnOrderEntProjItmSitn SolutionOrderServiceItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSOLOEPITMGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder BusinessSolutionOrder Solution Order
KEY BusinessSolutionOrderItem BusinessSolutionOrderItem Solution Order Item
dec15endasBusSolnOrdReltdItmRefDateTime
ServiceObjectType ServiceObjectType Object Type
ServiceDocumentItemCharUUID ServiceDocumentItemCharUUID
ServiceDocumentItemObjectType ServiceDocumentItemObjectType
SuccessorProject SuccessorProject WBS Element
ServiceDocSuccessorBusObjType ServiceDocSuccessorBusObjType
ProjectStartDate ProjectStartDate Latest Planned Start
ResponsibleEmployee ResponsibleEmployee Employee Resp.
ProcessingStatus ProcessingStatus Worklist Status
SalesOrganization SalesOrganization Sales Organization
ServiceDocumentType ServiceDocumentType Transaction Type
Division Division Internal Division ID
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization

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_BusSolnOrdEntProjItmGrp.
-- 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_BusSolnOrdEntProjItmGrp AS
SELECT
  BusinessSolutionOrder,
  BusinessSolutionOrderItem,
  case BusSolnOrdReltdItmObjectType when 'BUS2000131' then max(LtstConfirmedDeliveryDateTime) when 'BUS2000140' then max(PlannedServiceEndDateTime) when 'BUS2000137' then max(ServiceContrItemStartDateTime) when 'BUS2000189' then max(ServiceContrItemStartDateTime) when 'BUS2000193' then max(SrvcDocApptEndDateTime) else cast(000000000000000 as abap.dec(15)) end as BusSolnOrdReltdItmRefDateTime AS dec15endasBusSolnOrdReltdItmRefDateTime,
  ServiceObjectType,
  ServiceDocumentItemCharUUID,
  ServiceDocumentItemObjectType,
  SuccessorProject,
  ServiceDocSuccessorBusObjType,
  ProjectStartDate,
  ResponsibleEmployee,
  ProcessingStatus,
  SalesOrganization,
  ServiceDocumentType,
  Division,
  DistributionChannel,
  SalesGroup,
  SalesOffice,
  SalesOfficeOrgUnitID,
  SalesOrganizationOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceOrganization
FROM P_BusSolnOrderEntProjItmSitn AS SolutionOrderServiceItem
;