Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with Function Modules

Former Member
0 Likes
1,341

Hi.

can anybody tell me how can i calculate

cost depreciation for an asset.

I have used one function module DEPR_RECALCULATE.

but it will allow only one date and it will calculate depreciation for total year .

As per my

I want to pass the two dates and need to calculate the depreciation between two periods.

5 REPLIES 5
Read only

Former Member
0 Likes
1,078

u can create a Zcopy of the FM and customize according to ur requirement.

кu03B1ятu03B9к

Read only

0 Likes
1,078

Hi i have copied "Depr_recalculate" function module to one Z function module

But the Zcopy function module does not execute.

It goes to shortdump .

Error: the function module is not active or doen not contain no code

the function module "ZCOPY" is called but could not be found in its function group

I have checked every thing but same error is displayed.

The reason is standard function is in standard function group.

my function module is stored in ZGROUP .

So how can i work out this problem

Read only

0 Likes
1,078

Hi we copy a standard function module by copying its entire function group through se80 so that all includes and related standard code is also copied and then select only the fm u require to copy rest copy all include as it is to ur Z function group activate the function group.

now u can goto se37 and use ur copied fm.

кu03B1ятu03B9к

Read only

Former Member
0 Likes
1,078

Hi Sateesh,

Try following FMs:

DEPR_CALCULATE_FOR_RETIREMENT

DEPR_RECALCULATE

AM_ASSET_DEPR_CALCULATE Trigger depreciation recalculation from the mast

ARF1 FI-AA: RFC for recalculating depr.

AM_DEPR_RECALCULATE_RFC Depreciation recalculation using RFC

AM_DEPR_RECALCULATE_RFC_EURO

FIAA_DEPR_RECALCULATE

Hope this will help.

Regards,

Nitin.

Read only

0 Likes
1,078

Hi Nitin.

Thank you for u r quick reply.

I have tried all these function modules but as per our requirement

They are not support.

Issue:

I need to calculate the cost depreciation between APRIL and MARCH

but DEPR_RECALCULATE Fm will calculate between JAN and the date which is specified in the parameter field on the selection screen .

so how can calculate the depreciation cost between two dates( I want to pass the select-options).

Thanking you,

Regards

sateesh