P_BillingDocProcFlowM2

DDL: P_BILLINGDOCPROCFLOWM2 SQL: PBILLGDOCPROCFM2 Type: view CONSUMPTION

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

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 PBILLGDOCPROCFM2 view
AbapCatalog.preserveKey true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY LevelM2Document PrecedingDocument SD Document
KEY LevelM2DocumentItem PrecedingDocumentItem Item
KEY LevelM1Document LevelM1Document
KEY LevelM1DocumentItem LevelM1DocumentItem
KEY LevelM1DocumentCategory LevelM1DocumentCategory
KEY BillingDocument BillingDocument SD Document
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization LevelM1 SalesOrganization Sales Organization

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_BillingDocProcFlowM2.
-- 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: PBILLGDOCPROCFM2

CREATE VIEW P_BillingDocProcFlowM2 AS
SELECT
  PrecedingDocument AS LevelM2Document,
  PrecedingDocumentItem AS LevelM2DocumentItem,
  LevelM1Document,
  LevelM1DocumentItem,
  LevelM1DocumentCategory,
  BillingDocument,
  BillingDocumentType,
  LevelM1.SalesOrganization AS SalesOrganization
INNER JOIN I_SDDocumentProcessFlow AS LevelM2 ON /* join condition not captured in parsed metadata */
;