P_AnalyticalAgingIncrement

DDL: P_ANALYTICALAGINGINCREMENT SQL: PANALAGINC Type: view COMPOSITE

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)

SourceAliasJoin Type
I_LedgerCompanyCodeCrcyRoles AccountingPrinciple from
I_GLAgingScopeIncrement aging inner
I_AcctgPrncpImprmtConfign Config inner
I_FiscalPeriodForVariant FiscalPeriod inner

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/