I_MstrProjCreditSummary
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)
| Source | Alias | Join Type |
|---|---|---|
| I_MPStructureElement | Sales | from |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA