P_DeferredCostProjectOrderAmt

DDL: P_DEFERREDCOSTPROJECTORDERAMT SQL: PDEFCSTPRJORDAM Type: view CONSUMPTION

Sum of deferred costs

P_DeferredCostProjectOrderAmt is a Consumption CDS View that provides data about "Sum of deferred costs" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 2 fields with key field WBSElementInternalID.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntryItem I_JournalEntryItem from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PDEFCSTPRJORDAM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Sum of deferred costs view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID WBSElementInternalID
DeferredCOGSAmtInCCCrcy
@AbapCatalog.sqlViewName: 'PDEFCSTPRJORDAM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED

@EndUserText.label: 'Sum of deferred costs'

@VDM.viewType: #CONSUMPTION
@VDM.private: true

define view P_DeferredCostProjectOrderAmt
  as select from I_JournalEntryItem
{
  key   WBSElementInternalID,
        sum(AmountInCompanyCodeCurrency) as DeferredCOGSAmtInCCCrcy

}
where
      AccountAssignmentType     = 'PR'
  and SubLedgerAcctLineItemType = '08050'

group by
  WBSElementInternalID