Quantcast
Channel: SCN : Document List - SAP ERP Financials
Viewing all articles
Browse latest Browse all 366

How to create custom accrual methods in SAP

$
0
0

Accrual methods are normal function modules which define the logic to calculate the accruals; it can be linearly, degressively etc. SAP provides standard function modules which can be used as accrual methods in the processing of accrual objects.

 

How to find the standard accrual methods

 

The following path in IMG (transaction – SPRO) can be used to find the existing standard accrual methods.

 

Finding the standard accrual methods.png

Standard accrual methods.png

 

Custom accrual method

 

The function modules that are used as accrual methods must have a common interface. This interface is same for all accrual methods.

 

Common interface parameters in accrual method

 

1.png

 

IS_ACE_KEY– This structure contains the unique key of the accrual item in the database tables of the accrual engine.

 

2.png

 

IT_GENERAL_PARAMS – This table contains the time dependent values of the accrual sub-object. 

 

  • AMOUNT - The total value which is to be accrued.
  • QUANTITY - The total quantity which is to be accrued.
  • VALITY_FROM and VALITY_T – Thelife time of the accrual sub-object.
  • FY_VARIANT - Fiscal year variant.

 

CT_PERIOD_VALUE– The entries in this table should be populated by the accrual method. Three important fields :

 

  • VALACT  - This field has to be filled with the value that has to be accrued between the dates DATE_FROM and DATE_TO
  • VALCUM - This field has to be filled with the value  that has to be accrued during the time before DATE_FROM
  • VALREMAIN - This field has to be filled with the value that remains to be accrued after DATE_TO.

 

IT_PARAMS – This table contains the customer defined parameter values. These parameters can be used to calculate the accrual values.

  • PARAM_NAME - Name of the parameter
  • CONTENT -The value of this parameter

 

IT_COMP_SIMUPARAM_RANGES – This is used for the simulation of periodic accruals. We can use additional input fields on the entry screen of the periodic accrual report. This table will contain the entered values for these fields.

 

  • FIELDNAME - Name of the additional input field.
  • FIELDRANGE - Table with the entered select-options

 

ET_RETURN This table is used to display the information and warning messages after the processing of accrual objects.


Viewing all articles
Browse latest Browse all 366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>