P_agingincrementutilmonth

DDL: P_AGINGINCREMENTUTILMONTH Type: view_entity COMPOSITE Package: FINS_FI_CLS_GL_UTIL

aging increment for month calculation

P_agingincrementutilmonth is a Composite CDS View that provides data about "aging increment for month calculation" in SAP S/4HANA. It reads from 1 data source (I_GLAgingScopeIncrement) and exposes 3 fields with key fields GeneralLedgerAgingScope, GeneralLedgerAgingIncrement. Part of development package FINS_FI_CLS_GL_UTIL.

Data Sources (1)

SourceAliasJoin Type
I_GLAgingScopeIncrement I_GLAgingScopeIncrement from

Parameters (1)

NameTypeDefault
P_KeyDate abap.dats

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED 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 (3)

KeyFieldSource TableSource FieldDescription
KEY GeneralLedgerAgingScope GeneralLedgerAgingScope
KEY GeneralLedgerAgingIncrement GeneralLedgerAgingIncrement
incrmt_index GLAgingIncrmtSortSqncValue
@AccessControl.authorizationCheck: #NOT_REQUIRED

@ObjectModel.usageType : { dataClass: #CUSTOMIZING,
                        serviceQuality: #D,
                            sizeCategory: #S }
@VDM.private: true
@VDM.viewType: #COMPOSITE


define view entity P_agingincrementutilmonth
  with parameters
    P_KeyDate :abap.dats
  as select from I_GLAgingScopeIncrement
{
  key GeneralLedgerAgingScope,
  key GeneralLedgerAgingIncrement,
      // end date of current aging increment

      case GLAgingIncrmtRelativeMonths
        when 32767 
        then cast('99991231' as abap.dats)
        else dats_add_months($parameters.P_KeyDate, GLAgingIncrmtRelativeMonths - 1, 'INITIAL')
      end as ValidEndDate,
      GLAgingIncrmtSortSqncValue as incrmt_index
}