P_SlsOrdProcFlow30

DDL: P_SLSORDPROCFLOW30 SQL: PSLSORDPROCF30 Type: view CONSUMPTION

P_SlsOrdProcFlow30 is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (P_SlsOrdProcFlow20, I_SDDocumentProcessFlow) and exposes 10 fields with key fields Level3Document, Level3DocumentItem, Level2Document, Level2DocumentItem, SalesOrder.

Data Sources (2)

SourceAliasJoin Type
P_SlsOrdProcFlow20 Level2 from
I_SDDocumentProcessFlow Level3 inner

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSLSORDPROCF30 view
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Level3Document I_SDDocumentProcessFlow SubsequentDocument
KEY Level3DocumentItem I_SDDocumentProcessFlow SubsequentDocumentItem
KEY Level2Document Level2Document
KEY Level2DocumentItem Level2DocumentItem
KEY SalesOrder SalesOrder SD Document
SalesOrderType SalesOrderType Sales Order Type
Level2DocumentCategory Level2DocumentCategory
SalesOrganization P_SlsOrdProcFlow20 SalesOrganization Sales Organization
DistributionChannel P_SlsOrdProcFlow20 DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision P_SlsOrdProcFlow20 OrganizationDivision Org. Division

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_SlsOrdProcFlow30.
-- 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: PSLSORDPROCF30

CREATE VIEW P_SlsOrdProcFlow30 AS
SELECT
  Level3.SubsequentDocument AS Level3Document,
  Level3.SubsequentDocumentItem AS Level3DocumentItem,
  Level2Document,
  Level2DocumentItem,
  SalesOrder,
  SalesOrderType,
  Level2DocumentCategory,
  Level2.SalesOrganization AS SalesOrganization,
  Level2.DistributionChannel AS DistributionChannel,
  Level2.OrganizationDivision AS OrganizationDivision
FROM P_SlsOrdProcFlow20 AS Level2
INNER JOIN I_SDDocumentProcessFlow AS Level3 ON /* join condition not captured in parsed metadata */
;