P_agingincrementutilmonth
P_agingincrementutilmonth is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAgingScopeIncrement) and exposes 3 fields with key fields GeneralLedgerAgingScope, GeneralLedgerAgingIncrement.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAgingScopeIncrement | I_GLAgingScopeIncrement | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | abap.dats |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_GLAGINGSCOPEINCREMENT"
],
"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