P_BusSolnOrdEntProjectFlwLvl2

DDL: P_BUSSOLNORDENTPROJECTFLWLVL2 Type: view CONSUMPTION Package: CRMS4_SOLUTION_ORDER_PROGRESS

Solution Order Enterprise Project Flow: Level 2

P_BusSolnOrdEntProjectFlwLvl2 is a Consumption CDS View that provides data about "Solution Order Enterprise Project Flow: Level 2" in SAP S/4HANA. It reads from 4 data sources (I_EnterpriseProject, I_EnterpriseProjectElement, I_CustProjSlsOrdItem, P_BusSolnOrdEntProjectFlwLvl1) and exposes 12 fields with key fields PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentItem. Part of development package CRMS4_SOLUTION_ORDER_PROGRESS.

Data Sources (4)

SourceAliasJoin Type
I_EnterpriseProject _EnterpriseProject inner
I_EnterpriseProjectElement _EnterpriseProjectElement inner
I_CustProjSlsOrdItem _SalesDocumentItem inner
P_BusSolnOrdEntProjectFlwLvl1 Level1 from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBSOEPFLWLVL2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.private true view
EndUserText.label Solution Order Enterprise Project Flow: Level 2 view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument P_BusSolnOrdEntProjectFlwLvl1 SubsequentDocument WBS Element
KEY PrecedingDocumentItem P_BusSolnOrdEntProjectFlwLvl1 SubsequentDocumentItem
KEY PrecedingDocumentCategory P_BusSolnOrdEntProjectFlwLvl1 SubsequentDocumentCategory
KEY SubsequentDocument I_CustProjSlsOrdItem SalesOrder SD Document
KEY SubsequentDocumentItem I_CustProjSlsOrdItem SalesOrderItem Sales Order Item
KEY SubsequentDocumentCategory
TotalNetAmount
TransactionCurrency
BusinessSolutionOrder P_BusSolnOrdEntProjectFlwLvl1 BusinessSolutionOrder Solution Order
ServiceObjectType ServiceObjectType Object Type
CustomerProject P_BusSolnOrdEntProjectFlwLvl1 CustomerProject Engmnt Project ID
CustomerProjectItem CustomerProjectItem Service Document

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_BusSolnOrdEntProjectFlwLvl2.
-- 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_BusSolnOrdEntProjectFlwLvl2 AS
SELECT
  Level1.SubsequentDocument AS PrecedingDocument,
  Level1.SubsequentDocumentItem AS PrecedingDocumentItem,
  Level1.SubsequentDocumentCategory AS PrecedingDocumentCategory,
  _SalesDocumentItem.SalesOrder AS SubsequentDocument,
  _SalesDocumentItem.SalesOrderItem AS SubsequentDocumentItem,
  'CPSO' AS SubsequentDocumentCategory,
  _SalesDocumentItem._SalesOrder.TotalNetAmount AS TotalNetAmount,
  _SalesDocumentItem._SalesOrder.TransactionCurrency AS TransactionCurrency,
  Level1.BusinessSolutionOrder AS BusinessSolutionOrder,
  ServiceObjectType,
  Level1.CustomerProject AS CustomerProject,
  CustomerProjectItem
FROM P_BusSolnOrdEntProjectFlwLvl1 AS Level1
INNER JOIN I_EnterpriseProject AS _EnterpriseProject ON /* join condition not captured in parsed metadata */
INNER JOIN I_EnterpriseProjectElement AS _EnterpriseProjectElement ON /* join condition not captured in parsed metadata */
INNER JOIN I_CustProjSlsOrdItem AS _SalesDocumentItem ON /* join condition not captured in parsed metadata */
;