P_CustRetProcFlow41

DDL: P_CUSTRETPROCFLOW41 SQL: PCUSTRETPROCF41 Type: view CONSUMPTION

P_CustRetProcFlow41 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_AccountingDocument) and exposes 10 fields with key fields Level3Document, AccountingDocument, CustomerReturn.

Data Sources (1)

SourceAliasJoin Type
I_AccountingDocument AccountingDoc 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 PCUSTRETPROCF41 view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Level3Document Level3 Level3Document
KEY AccountingDocument I_AccountingDocument AccountingDocument Journal Entry
KEY CustomerReturn Level3 CustomerReturn
CompanyCode I_AccountingDocument CompanyCode Receiver Company Code
FiscalYear I_AccountingDocument FiscalYear G/L Fiscal Year
CustomerReturnType Level3 CustomerReturnType
Level3DocumentCategory Level3 Level3DocumentCategory
SalesOrganization Level3 SalesOrganization Sales Organization
DistributionChannel Level3 DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Level3 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_CustRetProcFlow41.
-- 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: PCUSTRETPROCF41

CREATE VIEW P_CustRetProcFlow41 AS
SELECT
  Level3.Level3Document AS Level3Document,
  AccountingDoc.AccountingDocument AS AccountingDocument,
  Level3.CustomerReturn AS CustomerReturn,
  AccountingDoc.CompanyCode AS CompanyCode,
  AccountingDoc.FiscalYear AS FiscalYear,
  Level3.CustomerReturnType AS CustomerReturnType,
  Level3.Level3DocumentCategory AS Level3DocumentCategory,
  Level3.SalesOrganization AS SalesOrganization,
  Level3.DistributionChannel AS DistributionChannel,
  Level3.OrganizationDivision AS OrganizationDivision
INNER JOIN I_AccountingDocument AS AccountingDoc ON /* join condition not captured in parsed metadata */
;