I_MstrProjCreditSummary

DDL: I_MSTRPROJCREDITSUMMARY SQL: IMPCREDIT Type: view COMPOSITE Package: VDM_CPM_WS

Master Project Credit Summary

I_MstrProjCreditSummary is a Composite CDS View (Dimension) that provides data about "Master Project Credit Summary" in SAP S/4HANA. It reads from 1 data source (I_MPStructureElement) and exposes 24 fields with key fields SalesDocument, SalesDocumentItem. Part of development package VDM_CPM_WS.

Data Sources (1)

SourceAliasJoin Type
I_MPStructureElement Sales from

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IMPCREDIT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Master Project Credit Summary view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey SalesDocument view
Metadata.allowExtensions true view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument I_MPStructureElement SalesDocument SD Document
KEY SalesDocumentItem I_MPStructureElement SalesDocumentItem Sales Document Item
MasterProject I_MPStructureElement MasterProject Project ID
MasterProjectName I_MPStructureElement MasterProjectName
BillingQuantity
BillingQuantityUnit BillingDocument BillingQuantityUnit Sales Unit
ItemNetAmountOfBillingDoc
ItemGrossAmountOfBillingDoc
Material
TotalNetAmount
TransactionCurrency
SDDocumentCategory I_MPStructureElement SDDocumentCategory Document Cat.
BillingDocumentType BillingDocument BillingDocumentType Billing Type
PurchasingDocumentAmount
ControllingObjectExternalID I_MPStructureElement ControllingObjectExternalID WBS Element
ControllingObjectDescription I_MPStructureElement ControllingObjectDescription
SoldToParty
UserIsInvolved I_MPStructureElement UserIsInvolved
MasterProjectType I_MPStructureElement MasterProjectType
AddressID
Person
SalesOrganization
CustomerAccountGroup
AuthorizationGroup

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_MstrProjCreditSummary.
-- 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: IMPCREDIT

CREATE VIEW I_MstrProjCreditSummary AS
SELECT
  Sales.SalesDocument AS SalesDocument,
  Sales.SalesDocumentItem AS SalesDocumentItem,
  Sales.MasterProject AS MasterProject,
  Sales.MasterProjectName AS MasterProjectName,
  sum(BillingDocument.BillingQuantity) AS BillingQuantity,
  BillingDocument.BillingQuantityUnit AS BillingQuantityUnit,
  sum(BillingDocument.ItemNetAmountOfBillingDoc) AS ItemNetAmountOfBillingDoc,
  sum(BillingDocument.ItemGrossAmountOfBillingDoc) AS ItemGrossAmountOfBillingDoc,
  Sales._SalesDocumentItem.Material AS Material,
  sum(BillingDocument.ItemNetAmountOfBillingDoc) AS TotalNetAmount,
  Sales._SalesDocumentItem.TransactionCurrency AS TransactionCurrency,
  Sales.SDDocumentCategory AS SDDocumentCategory,
  BillingDocument.BillingDocumentType AS BillingDocumentType,
  sum(BillingDocument.PurchasingDocumentAmount) AS PurchasingDocumentAmount,
  Sales.ControllingObjectExternalID AS ControllingObjectExternalID,
  Sales.ControllingObjectDescription AS ControllingObjectDescription,
  Sales._SalesDocumentItem._SalesDocument.SoldToParty AS SoldToParty,
  Sales.UserIsInvolved AS UserIsInvolved,
  Sales.MasterProjectType AS MasterProjectType,
  BillingDocument._Customer.AddressID AS AddressID,
  BillingDocument._Customer._StandardAddress.Person AS Person,
  Sales._SalesDocumentItem._SalesDocument.SalesOrganization AS SalesOrganization,
  BillingDocument._Customer.CustomerAccountGroup AS CustomerAccountGroup,
  BillingDocument._Customer.AuthorizationGroup AS AuthorizationGroup
FROM I_MPStructureElement AS Sales
;