P_DeferredRevenueSrvcDocAmt
Deferred Revenue service document amount
P_DeferredRevenueSrvcDocAmt is a Consumption CDS View that provides data about "Deferred Revenue service document amount" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 4 fields with key fields ServiceDocument, ServiceDocumentItem, ServiceDocumentType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | I_JournalEntryItem | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSVDISSDEFERRREV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Deferred Revenue service document amount | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocument | ServiceDocument | ||
| KEY | ServiceDocumentItem | ServiceDocumentItem | ||
| KEY | ServiceDocumentType | ServiceDocumentType | ||
| DeferredRevenueAmtInCCCrcy |
@AbapCatalog.sqlViewName: 'PSVDISSDEFERRREV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Deferred Revenue service document amount'
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@VDM.viewType: #CONSUMPTION
@VDM.private:true
define view P_DeferredRevenueSrvcDocAmt
as select from I_JournalEntryItem
{
key ServiceDocument,
key ServiceDocumentItem,
key ServiceDocumentType,
sum(AmountInCompanyCodeCurrency) as DeferredRevenueAmtInCCCrcy
}
where
(
AccountAssignmentType = 'SC'
and SubLedgerAcctLineItemType = '08000'
)
or(
AccountAssignmentType = 'SV'
and SubLedgerAcctLineItemType = '08000'
)
group by
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRYITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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