P_ComSDOpenBillingPlan

DDL: P_COMSDOPENBILLINGPLAN SQL: PCOMSDBPOPEN Type: view BASIC Package: VDM_CPM_WS

Sales Order Item Open Billing Plan

P_ComSDOpenBillingPlan is a Basic CDS View that provides data about "Sales Order Item Open Billing Plan" in SAP S/4HANA. It reads from 3 data sources (fpla, fplt, vbkd) and exposes 6 fields. Part of development package VDM_CPM_WS.

Data Sources (3)

SourceAliasJoin Type
fpla fpla from
fplt fplt inner
vbkd vbkd inner

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCOMSDBPOPEN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
SalesOrder fpla vbeln SD Sched. Agmt
SalesOrderItem vbkd posnr WBS Element
BillingDate fplt afdat Conf.req.date
BillingPlan fpla fplnr Invoicing plan
BillingPlanItem fplt fpltr Item
SDDocumentStatus fplt fksaf Billing status

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_ComSDOpenBillingPlan.
-- 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: PCOMSDBPOPEN

CREATE VIEW P_ComSDOpenBillingPlan AS
SELECT
  fpla.vbeln AS SalesOrder,
  vbkd.posnr AS SalesOrderItem,
  fplt.afdat AS BillingDate,
  fpla.fplnr AS BillingPlan,
  fplt.fpltr AS BillingPlanItem,
  fplt.fksaf AS SDDocumentStatus
FROM fpla
INNER JOIN fplt ON /* join condition not captured in parsed metadata */
INNER JOIN vbkd ON /* join condition not captured in parsed metadata */
;