I_MasterProjectBillingPlanCube

DDL: I_MASTERPROJECTBILLINGPLANCUBE SQL: IMPBPCUBE Type: view COMPOSITE

Master Project Billing Plan Cube

I_MasterProjectBillingPlanCube is a Composite CDS View (Cube) that provides data about "Master Project Billing Plan Cube" in SAP S/4HANA. It reads from 1 data source (I_BPMasterProject) and exposes 30 fields with key fields MasterProject, BillingPlan, SalesDocument, SalesDocumentItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPMasterProject BillingPlan from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_MasterProjectVH _MasterProject $projection.MasterProject = _MasterProject.MasterProject
[0..1] I_SalesDocument _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument
[0..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMPBPCUBE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Master Project Billing Plan Cube view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY MasterProject I_BPMasterProject MasterProject Project ID
KEY BillingPlan I_BPMasterProject BillingPlan Bill. Plan No.
KEY SalesDocument I_BPMasterProject SalesDocument SD Document
KEY SalesDocumentItem I_BPMasterProject SalesDocumentItem Sales Document Item
MasterProjectName I_BPMasterProject MasterProjectName
ControllingObjectExternalID I_BPMasterProject ControllingObjectExternalID WBS Element
BillingDate I_BPMasterProject BillingDate Billing Date
IsBillingCreatedInAdvance I_BPMasterProject IsBillingCreatedInAdvance
EventType I_BPMasterProject EventType Event date type
BillingEventTypeName I_BPMasterProject BillingEventTypeName
BillingPlanBillingDateText I_BPMasterProject BillingPlanBillingDateText
SDDocumentStatus I_BPMasterProject SDDocumentStatus
DocumentStatusDesc I_BPMasterProject DocumentStatusDesc
Material
MaterialName
NetAmount I_BPMasterProject NetAmount Stated Amount
MstrProjResourceQuantity I_BPMasterProject MstrProjResourceQuantity
TransactionCurrency I_BPMasterProject TransactionCurrency Transaction Currency
UnitOfMeasure I_BPMasterProject UnitOfMeasure Unit Protected Qty
BillingBlockReasonDescription I_BPMasterProject BillingBlockReasonDescription
BillingPlanCategoryName I_BPMasterProject BillingPlanCategoryName
BillingPlanRuleName I_BPMasterProject BillingPlanRuleName
SoldToParty I_BPMasterProject SoldToParty Sold-to Party
CustomerName I_BPMasterProject CustomerName Name of Customer
SalesDocumentType _SalesDocument SalesDocumentType Sales Doc. Type
SalesOrganization _SalesDocument SalesOrganization Sales Organization
_MasterProject _MasterProject
_SalesDocument _SalesDocument
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure

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 I_MasterProjectBillingPlanCube.
-- 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: IMPBPCUBE

CREATE VIEW I_MasterProjectBillingPlanCube AS
SELECT
  BillingPlan.MasterProject AS MasterProject,
  BillingPlan.BillingPlan AS BillingPlan,
  BillingPlan.SalesDocument AS SalesDocument,
  BillingPlan.SalesDocumentItem AS SalesDocumentItem,
  BillingPlan.MasterProjectName AS MasterProjectName,
  BillingPlan.ControllingObjectExternalID AS ControllingObjectExternalID,
  BillingPlan.BillingDate AS BillingDate,
  BillingPlan.IsBillingCreatedInAdvance AS IsBillingCreatedInAdvance,
  BillingPlan.EventType AS EventType,
  BillingPlan.BillingEventTypeName AS BillingEventTypeName,
  BillingPlan.BillingPlanBillingDateText AS BillingPlanBillingDateText,
  BillingPlan.SDDocumentStatus AS SDDocumentStatus,
  BillingPlan.DocumentStatusDesc AS DocumentStatusDesc,
  cast(BillingPlan.MaterialName as matnr) AS Material,
  cast(BillingPlan.MaterialDesc as maktx) AS MaterialName,
  BillingPlan.NetAmount AS NetAmount,
  BillingPlan.MstrProjResourceQuantity AS MstrProjResourceQuantity,
  BillingPlan.TransactionCurrency AS TransactionCurrency,
  BillingPlan.UnitOfMeasure AS UnitOfMeasure,
  BillingPlan.BillingBlockReasonDescription AS BillingBlockReasonDescription,
  BillingPlan.BillingPlanCategoryName AS BillingPlanCategoryName,
  BillingPlan.BillingPlanRuleName AS BillingPlanRuleName,
  BillingPlan.SoldToParty AS SoldToParty,
  BillingPlan.CustomerName AS CustomerName,
  _SalesDocument.SalesDocumentType AS SalesDocumentType,
  _SalesDocument.SalesOrganization AS SalesOrganization
FROM I_BPMasterProject AS BillingPlan
LEFT OUTER JOIN I_MasterProjectVH AS _MasterProject ON MasterProject = _MasterProject.MasterProject  -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;