P_BillingDocProcFlowC0

DDL: P_BILLINGDOCPROCFLOWC0 SQL: PBILLGDOCPROCFC0 Type: view CONSUMPTION

P_BillingDocProcFlowC0 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SDDocumentProcessFlow) and exposes 12 fields with key fields LevelM1Document, LevelM1DocumentItem, LevelM1DocumentCategory, LevelC0Document, LevelC0DocumentItem.

Data Sources (1)

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

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY LevelM1Document I_SDDocumentProcessFlow PrecedingDocument SD Document
KEY LevelM1DocumentItem I_SDDocumentProcessFlow PrecedingDocumentItem Item
KEY LevelM1DocumentCategory I_SDDocumentProcessFlow PrecedingDocumentCategory
KEY LevelC0Document I_SDDocumentProcessFlow SubsequentDocument
KEY LevelC0DocumentItem I_SDDocumentProcessFlow SubsequentDocumentItem
KEY LevelC0DocumentCategory I_SDDocumentProcessFlow SubsequentDocumentCategory
KEY BillingDocument LevelM1 BillingDocument SD Document
BillingDocumentType BillingDocumentType Billing Type
SDDocumentCategory LevelM1 SDDocumentCategory Document Cat.
BillingPlan LevelM1 BillingPlan Bill. Plan No.
BillingPlanItem LevelM1 BillingPlanItem Item
SalesOrganization 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_BillingDocProcFlowC0.
-- 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: PBILLGDOCPROCFC0

CREATE VIEW P_BillingDocProcFlowC0 AS
SELECT
  Level0.PrecedingDocument AS LevelM1Document,
  Level0.PrecedingDocumentItem AS LevelM1DocumentItem,
  Level0.PrecedingDocumentCategory AS LevelM1DocumentCategory,
  Level0.SubsequentDocument AS LevelC0Document,
  Level0.SubsequentDocumentItem AS LevelC0DocumentItem,
  Level0.SubsequentDocumentCategory AS LevelC0DocumentCategory,
  LevelM1.BillingDocument AS BillingDocument,
  BillingDocumentType,
  LevelM1.SDDocumentCategory AS SDDocumentCategory,
  LevelM1.BillingPlan AS BillingPlan,
  LevelM1.BillingPlanItem AS BillingPlanItem,
  SalesOrganization
INNER JOIN I_SDDocumentProcessFlow AS Level0 ON /* join condition not captured in parsed metadata */
;