@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
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_PURCHASINGDOCUMENTITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
P_PurchDocAmntInDocCurr view