P_RAEffectiveQtyPerPeriod
P_RAEffectiveQtyPerPeriod is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_RAPerformanceObligation, I_RevnAcctgDeferralItem) and exposes 6 fields with key fields FiscalYearPeriod, PerformanceObligation, RevenueAccountingContract, ConditionType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_RAPerformanceObligation | _RAPerformanceObligation | inner |
| I_RevnAcctgDeferralItem | RevnAcctgDeferralItem | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRAEFFQTYPERIOD | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYearPeriod | FiscalYearPeriod | ||
| KEY | PerformanceObligation | I_RevnAcctgDeferralItem | PerformanceObligation | |
| KEY | RevenueAccountingContract | I_RAPerformanceObligation | RevenueAccountingContract | |
| KEY | ConditionType | ConditionType | ||
| PerfOblgnEffectiveQuantityUnit | I_RevnAcctgDeferralItem | PerfOblgnEffectiveQuantityUnit | ||
| DeltaEffectiveQuantity |
@AbapCatalog.sqlViewName: 'PRAEFFQTYPERIOD'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_RAEffectiveQtyPerPeriod as select from I_RevnAcctgDeferralItem as RevnAcctgDeferralItem
inner join I_RAPerformanceObligation as _RAPerformanceObligation
on RevnAcctgDeferralItem.PerformanceObligation = _RAPerformanceObligation.PerformanceObligation
{
key FiscalYearPeriod,
key RevnAcctgDeferralItem.PerformanceObligation,
key _RAPerformanceObligation.RevenueAccountingContract,
key ConditionType,
RevnAcctgDeferralItem.PerfOblgnEffectiveQuantityUnit,
@Semantics.quantity.unitOfMeasure: 'PerfOblgnEffectiveQuantityUnit'
sum(DeltaEffectiveQuantity) as DeltaEffectiveQuantity
}
where ConditionIsForStatistics = ''
and RevnAcctgConditionCategory = 'P'
and DeltaEffectiveQuantity <> 0
group by RevnAcctgDeferralItem.PerformanceObligation,
FiscalYearPeriod,
ConditionType,
_RAPerformanceObligation.RevenueAccountingContract,
RevnAcctgDeferralItem.PerfOblgnEffectiveQuantityUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RAPERFORMANCEOBLIGATION",
"I_REVNACCTGDEFERRALITEM"
],
"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