P_AnalyticalAgingIncrement
P_AnalyticalAgingIncrement is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_LedgerCompanyCodeCrcyRoles, I_GLAgingScopeIncrement, I_AcctgPrncpImprmtConfign, I_FiscalPeriodForVariant) and exposes 11 fields.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | AccountingPrinciple | from |
| I_GLAgingScopeIncrement | aging | inner |
| I_AcctgPrncpImprmtConfign | Config | inner |
| I_FiscalPeriodForVariant | FiscalPeriod | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PANALAGINC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Ledger | Ledger | |||
| CompanyCode | CompanyCode | |||
| AccountingPrinciple | I_AcctgPrncpImprmtConfign | AccountingPrinciple | ||
| FiscalYearVariant | I_LedgerCompanyCodeCrcyRoles | FiscalYearVariant | ||
| FiscalYear | FiscalYear | |||
| FiscalPeriod | FiscalPeriod | |||
| FiscalPeriodEndDate | FiscalPeriodEndDate | |||
| GeneralLedgerAgingScope | I_AcctgPrncpImprmtConfign | GeneralLedgerAgingScope | ||
| GeneralLedgerAgingIncrement | GeneralLedgerAgingIncrement | |||
| GLAgingIncrmtRelativeDays | GLAgingIncrmtRelativeDays | |||
| GLAgingIncrmtRelativeMonths | GLAgingIncrmtRelativeMonths |
@AbapCatalog.sqlViewName: 'PANALAGINC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType : { dataClass: #CUSTOMIZING,
serviceQuality: #D,
sizeCategory: #S }
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view P_AnalyticalAgingIncrement
as select from I_LedgerCompanyCodeCrcyRoles as AccountingPrinciple
inner join I_FiscalPeriodForVariant as FiscalPeriod on AccountingPrinciple.FiscalYearVariant = FiscalPeriod.FiscalYearVariant
inner join I_AcctgPrncpImprmtConfign as Config on Config.AccountingPrinciple = AccountingPrinciple.AccountingPrinciple
inner join I_GLAgingScopeIncrement as aging on Config.GeneralLedgerAgingScope = aging.GeneralLedgerAgingScope
{
Ledger,
CompanyCode,
Config.AccountingPrinciple,
AccountingPrinciple.FiscalYearVariant,
FiscalYear,
FiscalPeriod,
FiscalPeriodEndDate,
Config.GeneralLedgerAgingScope,
GeneralLedgerAgingIncrement,
GLAgingIncrmtRelativeDays,
GLAgingIncrmtRelativeMonths
}
//} where Ledger = '0L'
// and CompanyCode = '1010'
// and FiscalYear = '2019'
// and FiscalPeriod = '002'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCTGPRNCPIMPRMTCONFIGN",
"I_FISCALPERIODFORVARIANT",
"I_GLAGINGSCOPEINCREMENT",
"I_LEDGERCOMPANYCODECRCYROLES"
],
"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