Skip to Content

How to get planned,posted and unplanned depreciation values for each month or use FM RA_AFABUCHEN

Hi All,

I have a requirement to get the period wise (monthly) planned,posted and unplanned depreciation values for an asset, similar to "Posted value tab" of the asset explorer and display these in the output.

All the tables related to asset accounting will have these values in the yearly basis and no table store these details monthly. So using any of the tables is out of scope.

The next option that i am trying to use to get the monthly wise details is using FM RA_AFABUCHEN. However using this FM has become a huge headache as there are lot of mandatory importing parameter and these should be manually filled for each case.

There are only a few standard programs in which this FM was used and even in these programs the importing parameters are not getting filled directly from any table rather based on some conditions they are populating different values to the importing parameters.

Using the existing standard programs I somehow managed to pass all the importing parameters but now the issue that i am facing is lets say unplanned depreciation posted on april(04) month is 120 instead of should 120 value in 4th month alone it is prorating the amount '10' in all the months. (120/12 = 10)

Not sure why it is prorating, :( not sure on how exactly the FM works and not sure on any other way on how to the planned,posted and unplanned depreciation values for an asset monthly wise.

Can you please help with either the complete documentation of FM RA_AFABUCHEN or a sample program on how to use this FM or any other way (function module) on how to get these monthly wise depreciation values.?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 05, 2017 at 01:30 PM

    I was not able to get the exact solution for this. However usage of fm RA_AFABUCHEN is bit tricky as this FM contains buffering concept because of which the value vary some time. The major tricky thing is how to fill the T093D importing parameter for this as the values changes according to this importing parameter.

    Sorry couldn't help much on this. :(

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09, 2017 at 10:48 AM

    Look at a report like RASIMU02.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Raymond,

      I have already looked into the report. But in that report there is lot of functionality that it is doing to get the required importing parameters for the FM and based on different conditions it is populating different values to the importing parameters of the FM. Also it is a LDB program and lot of things are getting fetched from LDB directly. :(

      If you have any custom report or a sample program in which the FM is being used, kindly share the details or the complete documentation of the FM is also fine.

  • Jun 12, 2017 at 05:53 AM

    Could anyone please help me on this.

    Add comment
    10|10000 characters needed characters exceeded