P_BusSolnOrdSrvcOrdFlwLvl21

DDL: P_BUSSOLNORDSRVCORDFLWLVL21 Type: view CONSUMPTION

Solution OrderService Order Flow: Level 21

P_BusSolnOrdSrvcOrdFlwLvl21 is a Consumption CDS View that provides data about "Solution OrderService Order Flow: Level 21" in SAP S/4HANA. It reads from 4 data sources (I_SrvcOrdFUPPurRequisition, I_ServiceDocumentItemEnhcd, I_SrvcOrdItmFUPPurRequisition, P_BusSolnOrdSrvcOrdFlwLvl1) and exposes 12 fields with key fields PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentItem. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
I_SrvcOrdFUPPurRequisition _PurchaseReq inner
I_ServiceDocumentItemEnhcd _ServiceOrder inner
I_SrvcOrdItmFUPPurRequisition _SrvcOrdItmToPurchsReqItm inner
P_BusSolnOrdSrvcOrdFlwLvl1 Level1 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_SrvcOrdFUPPurOrdProcessFlow _SrvcOrdFUPPurOrdProcessFlow $projection.SubsequentDocument = _SrvcOrdFUPPurOrdProcessFlow.PrecedingDocument and $projection.SubsequentDocumentItem = _SrvcOrdFUPPurOrdProcessFlow.PrecedingDocumentItem and _SrvcOrdFUPPurOrdProcessFlow.SubsequentDocumentCategory = 'F'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBSOSOFLWLVL21 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 OrderService Order Flow: Level 21 view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument P_BusSolnOrdSrvcOrdFlwLvl1 SubsequentDocument Transaction ID
KEY PrecedingDocumentItem P_BusSolnOrdSrvcOrdFlwLvl1 SubsequentDocumentItem Service Document
KEY PrecedingDocumentCategory P_BusSolnOrdSrvcOrdFlwLvl1 SubsequentDocumentCategory
KEY SubsequentDocument I_SrvcOrdFUPPurRequisition ServiceDocSuccessor
KEY SubsequentDocumentItem I_SrvcOrdItmFUPPurRequisition ServiceDocItmSuccssrCharUUID
KEY SubsequentDocumentCategory
PurchaseOrder _SrvcOrdFUPPurOrdProcessFlow SubsequentDocument Transaction ID
PurchaseOrderItem _SrvcOrdFUPPurOrdProcessFlow SubsequentDocumentItem Service Document
ServiceObjectType P_BusSolnOrdSrvcOrdFlwLvl1 ServiceObjectType Object Type
BusinessSolutionOrder BusinessSolutionOrder Solution Order
ServiceOrder ServiceOrder Transaction ID
ServiceOrderItem ServiceOrderItem Item Number in Doc.

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_BusSolnOrdSrvcOrdFlwLvl21.
-- 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_BusSolnOrdSrvcOrdFlwLvl21 AS
SELECT
  Level1.SubsequentDocument AS PrecedingDocument,
  Level1.SubsequentDocumentItem AS PrecedingDocumentItem,
  Level1.SubsequentDocumentCategory AS PrecedingDocumentCategory,
  _PurchaseReq.ServiceDocSuccessor AS SubsequentDocument,
  _SrvcOrdItmToPurchsReqItm.ServiceDocItmSuccssrCharUUID AS SubsequentDocumentItem,
  cast ('B' as bstyp) AS SubsequentDocumentCategory,
  _SrvcOrdFUPPurOrdProcessFlow.SubsequentDocument AS PurchaseOrder,
  _SrvcOrdFUPPurOrdProcessFlow.SubsequentDocumentItem AS PurchaseOrderItem,
  Level1.ServiceObjectType AS ServiceObjectType,
  BusinessSolutionOrder,
  ServiceOrder,
  ServiceOrderItem
FROM P_BusSolnOrdSrvcOrdFlwLvl1 AS Level1
INNER JOIN I_ServiceDocumentItemEnhcd AS _ServiceOrder ON /* join condition not captured in parsed metadata */
INNER JOIN I_SrvcOrdItmFUPPurRequisition AS _SrvcOrdItmToPurchsReqItm ON /* join condition not captured in parsed metadata */
INNER JOIN I_SrvcOrdFUPPurRequisition AS _PurchaseReq ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SrvcOrdFUPPurOrdProcessFlow AS _SrvcOrdFUPPurOrdProcessFlow ON SubsequentDocument = _SrvcOrdFUPPurOrdProcessFlow.PrecedingDocument AND SubsequentDocumentItem = _SrvcOrdFUPPurOrdProcessFlow.PrecedingDocumentItem AND _SrvcOrdFUPPurOrdProcessFlow.SubsequentDocumentCategory = 'F'  -- association [0..*]
;