P_CustRetProcFlow30

DDL: P_CUSTRETPROCFLOW30 SQL: PCUSTRETPROCF30 Type: view CONSUMPTION

P_CustRetProcFlow30 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 11 fields with key fields Level3Document, Level3DocumentItem, Level2Document, Level2DocumentItem, CustomerReturn.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow Level3 inner

Annotations (8)

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 PCUSTRETPROCF30 view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Level3Document I_SDDocumentProcessFlow SubsequentDocument
KEY Level3DocumentItem I_SDDocumentProcessFlow SubsequentDocumentItem
KEY Level2Document Level2 Level2Document
KEY Level2DocumentItem Level2 Level2DocumentItem
KEY CustomerReturn Level2 CustomerReturn
CustomerReturnType Level2 CustomerReturnType
Level3DocumentCategory I_SDDocumentProcessFlow SubsequentDocumentCategory
Level2DocumentCategory Level2 Level2DocumentCategory
SalesOrganization Level2 SalesOrganization Sales Organization
DistributionChannel Level2 DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Level2 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_CustRetProcFlow30.
-- 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: PCUSTRETPROCF30

CREATE VIEW P_CustRetProcFlow30 AS
SELECT
  Level3.SubsequentDocument AS Level3Document,
  Level3.SubsequentDocumentItem AS Level3DocumentItem,
  Level2.Level2Document AS Level2Document,
  Level2.Level2DocumentItem AS Level2DocumentItem,
  Level2.CustomerReturn AS CustomerReturn,
  Level2.CustomerReturnType AS CustomerReturnType,
  Level3.SubsequentDocumentCategory AS Level3DocumentCategory,
  Level2.Level2DocumentCategory AS Level2DocumentCategory,
  Level2.SalesOrganization AS SalesOrganization,
  Level2.DistributionChannel AS DistributionChannel,
  Level2.OrganizationDivision AS OrganizationDivision
INNER JOIN I_SDDocumentProcessFlow AS Level3 ON /* join condition not captured in parsed metadata */
;