P_PurchDocAmntInDocCurr
Purch Document Amnt In Document Currency
P_PurchDocAmntInDocCurr is a Composite CDS View that provides data about "Purch Document Amnt In Document Currency" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentItem) and exposes 11 fields with key fields PurchasingDocument, DocumentCurrency. Part of development package FINS_FIS_GRC_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentItem | I_PurchasingDocumentItem | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGRCPDAMNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Purch Document Amnt In Document Currency | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | PurchasingDocument | ||
| KEY | DocumentCurrency | DocumentCurrency | ||
| NetAmount | ||||
| GrossAmount | ||||
| EffectiveAmount | ||||
| Subtotal1Amount | ||||
| Subtotal2Amount | ||||
| Subtotal3Amount | ||||
| Subtotal4Amount | ||||
| Subtotal5Amount | ||||
| Subtotal6Amount |
@AbapCatalog.sqlViewName: 'PGRCPDAMNT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Purch Document Amnt In Document Currency'
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.personalData.blocking: #REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
define view P_PurchDocAmntInDocCurr
as select from I_PurchasingDocumentItem
{
key PurchasingDocument,
key DocumentCurrency,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (NetAmount) as NetAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (GrossAmount) as GrossAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (EffectiveAmount) as EffectiveAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal1Amount) as Subtotal1Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal2Amount) as Subtotal2Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal3Amount) as Subtotal3Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal4Amount) as Subtotal4Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal5Amount) as Subtotal5Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
sum (Subtotal6Amount) as Subtotal6Amount
}
group by
PurchasingDocument,
DocumentCurrency
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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