P_SlsOrdProcFlow11

DDL: P_SLSORDPROCFLOW11 SQL: PSLSORDPROCF11 Type: view CONSUMPTION

P_SlsOrdProcFlow11 is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_MfgOrder, I_SalesDocument) and exposes 9 fields with key fields SalesDocument, ManufacturingOrder, SalesOrder.

Data Sources (2)

SourceAliasJoin Type
I_MfgOrder MfgOrder inner
I_SalesDocument SalesDocument from

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
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PSLSORDPROCF11 view
AbapCatalog.preserveKey true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument I_SalesDocument SalesDocument SD Document
KEY ManufacturingOrder I_MfgOrder ManufacturingOrder Order
KEY SalesOrder
SalesOrderType SalesDocumentType Sales Doc. Type
SalesOrderCategory I_SalesDocument SDDocumentCategory Document Cat.
ManufacturingOrderCategory I_MfgOrder ManufacturingOrderCategory
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision 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_SlsOrdProcFlow11.
-- 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: PSLSORDPROCF11

CREATE VIEW P_SlsOrdProcFlow11 AS
SELECT
  SalesDocument.SalesDocument AS SalesDocument,
  MfgOrder.ManufacturingOrder AS ManufacturingOrder,
  cast(SalesDocument.SalesDocument as vdm_sales_order) AS SalesOrder,
  SalesDocumentType AS SalesOrderType,
  SalesDocument.SDDocumentCategory AS SalesOrderCategory,
  MfgOrder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision
FROM I_SalesDocument AS SalesDocument
INNER JOIN I_MfgOrder AS MfgOrder ON /* join condition not captured in parsed metadata */
;