I_MPFilterBillnRecev

DDL: I_MPFILTERBILLNRECEV SQL: IMPFLTBILLNRECV Type: view COMPOSITE Package: VDM_CPM_WS

Master Project Filter Fields for Billing and Receivables

I_MPFilterBillnRecev is a Composite CDS View that provides data about "Master Project Filter Fields for Billing and Receivables" in SAP S/4HANA. It reads from 1 data source (I_MPStructureElement) and exposes 10 fields with key fields MasterProject, ControllingObjectExternalID. It has 5 associations to related views. Part of development package VDM_CPM_WS.

Data Sources (1)

SourceAliasJoin Type
I_MPStructureElement BillnRecev from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_MasterProjectVH _MasterProject $projection.MasterProject = _MasterProject.MasterProject
[0..1] I_MPStructureElementVH _ControllingObject $projection.ControllingObjectExternalID = _ControllingObject.ControllingObjectExternalID and $projection.MasterProject = _ControllingObject.MasterProject and $projection.MasterProject = _ControllingObject.MasterProject
[0..1] I_MPSalesDocumentVH _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument and $projection.MasterProject = _SalesDocument.MasterProject
[0..1] I_MPCustomerVH _Customer $projection.soldtoparty = _Customer.SoldToParty and $projection.MasterProject = _Customer.MasterProject
[0..1] I_MPMaterialVH _Material $projection.MasterProject = _Material.MasterProject and $projection.Material = _Material.Material

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMPFLTBILLNRECV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Master Project Filter Fields for Billing and Receivables view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
Search.searchable true view
Consumption.ranked true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MasterProject
KEY ControllingObjectExternalID
SalesDocument I_MPStructureElement SalesDocument SD Document
SoldToParty
Material
_MasterProject _MasterProject
_ControllingObject _ControllingObject
_SalesDocument _SalesDocument
_Customer _Customer
_Material _Material

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_MPFilterBillnRecev.
-- 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: IMPFLTBILLNRECV

CREATE VIEW I_MPFilterBillnRecev AS
SELECT
  cast(BillnRecev.MasterProject as /cpd/cpm_comlprojid) AS MasterProject,
  cast(BillnRecev.ControllingObjectExternalID as /cpd/cpm_struct_elm) AS ControllingObjectExternalID,
  BillnRecev.SalesDocument AS SalesDocument,
  BillnRecev._SalesDocumentItem._SalesDocument.SoldToParty AS SoldToParty,
  BillnRecev._SalesDocumentItem.Material AS Material
FROM I_MPStructureElement AS BillnRecev
LEFT OUTER JOIN I_MasterProjectVH AS _MasterProject ON MasterProject = _MasterProject.MasterProject  -- association [0..1]
LEFT OUTER JOIN I_MPStructureElementVH AS _ControllingObject ON ControllingObjectExternalID = _ControllingObject.ControllingObjectExternalID AND MasterProject = _ControllingObject.MasterProject AND MasterProject = _ControllingObject.MasterProject  -- association [0..1]
LEFT OUTER JOIN I_MPSalesDocumentVH AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument AND MasterProject = _SalesDocument.MasterProject  -- association [0..1]
LEFT OUTER JOIN I_MPCustomerVH AS _Customer ON soldtoparty = _Customer.SoldToParty AND MasterProject = _Customer.MasterProject  -- association [0..1]
LEFT OUTER JOIN I_MPMaterialVH AS _Material ON MasterProject = _Material.MasterProject AND Material = _Material.Material  -- association [0..1]
;