P_CreditMemoReqProcFlowM2

DDL: P_CREDITMEMOREQPROCFLOWM2 SQL: PCMRPROCFM2 Type: view CONSUMPTION

P_CreditMemoReqProcFlowM2 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 10 fields with key fields LevelM2Document, LevelM1Document, LevelM1DocumentItem, LevelM1DocumentCategory, CreditMemoRequest.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentProcessFlow LevelM2 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 PCMRPROCFM2 view
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY LevelM2Document PrecedingDocument SD Document
KEY LevelM1Document LevelM1Document
KEY LevelM1DocumentItem LevelM1DocumentItem
KEY LevelM1DocumentCategory LevelM1DocumentCategory
KEY CreditMemoRequest CreditMemoRequest
CreditMemoRequestType CreditMemoRequestType
SalesOrderCategory SalesOrderCategory
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_CreditMemoReqProcFlowM2.
-- 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: PCMRPROCFM2

CREATE VIEW P_CreditMemoReqProcFlowM2 AS
SELECT
  PrecedingDocument AS LevelM2Document,
  LevelM1Document,
  LevelM1DocumentItem,
  LevelM1DocumentCategory,
  CreditMemoRequest,
  CreditMemoRequestType,
  SalesOrderCategory,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision
INNER JOIN I_SDDocumentProcessFlow AS LevelM2 ON /* join condition not captured in parsed metadata */
;