P_BillingDocProcFlowM3

DDL: P_BILLINGDOCPROCFLOWM3 SQL: PBILLGDOCPROCFM3 Type: view CONSUMPTION

P_BillingDocProcFlowM3 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 8 fields with key fields LevelM3Document, LevelM3DocumentItem, LevelM2Document, LevelM2DocumentItem, LevelM2DocumentCategory.

Data Sources (1)

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

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY LevelM3Document PrecedingDocument SD Document
KEY LevelM3DocumentItem PrecedingDocumentItem Item
KEY LevelM2Document LevelM2Document
KEY LevelM2DocumentItem LevelM2DocumentItem
KEY LevelM2DocumentCategory LevelM2DocumentCategory
KEY BillingDocument BillingDocument SD Document
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization LevelM2 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_BillingDocProcFlowM3.
-- 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: PBILLGDOCPROCFM3

CREATE VIEW P_BillingDocProcFlowM3 AS
SELECT
  PrecedingDocument AS LevelM3Document,
  PrecedingDocumentItem AS LevelM3DocumentItem,
  LevelM2Document,
  LevelM2DocumentItem,
  LevelM2DocumentCategory,
  BillingDocument,
  BillingDocumentType,
  LevelM2.SalesOrganization AS SalesOrganization
INNER JOIN I_SDDocumentProcessFlow AS LevelM3 ON /* join condition not captured in parsed metadata */
;