Skip to Content
0
Former Member
Mar 15, 2010 at 04:14 AM

Difference in Multishift Depreciation Calculation (any enhancement ??)

117 Views

Hi,

Scenario is as follows:

Depreciation rate in multilevel method - 4.75%

Variable depreciation portion in asset master - 59.75%

Shift Factor in Assets for

1 shift = 1

2 shifts = 1.94

3 shifts = 2.97

now if we calculate for 3rd shift depreciation rate come to 10.341111 i/o 10.34% hence the difference to the extent of 0.001111 is getting posted as depreciation account same thing is happening for 2 shift dep. also where rate is 7.42% in actual

We are implementing BADI: FAA_DC_CUSTOMER for changing difference occurring through multiple shift depreciation.

To counter this we have made following changes in said BADI but not system is not at all posting the depreciation for this asset nor it is showing me in test run.

Any further customisation is required for this?? or any other config. is required...

BADI:FAA_DC_CUSTOMER

if_ex_faa_dc_customer~set_parameter.

DATA: wa_hlpseg TYPE faa_dc_s_hlpseg,

wa_parameter TYPE faa_ee_s_parameter.

IF sy-uname = 'HP.MAHESH'.

BREAK-POINT.

ENDIF.

LOOP AT its_hlpseg INTO wa_hlpseg.

MOVE-CORRESPONDING wa_hlpseg TO wa_parameter.

IF wa_hlpseg-shift_fact = '2.97'.

wa_parameter-percent_stated = '10.34'.

wa_parameter-amount_factor = '1'.

ELSEIF wa_hlpseg-shift_fact = '1.94'.

wa_parameter-percent_stated = '7.42'.

wa_parameter-amount_factor = '1'.

ELSEIF wa_hlpseg-shift_fact = '1'.

wa_parameter-percent_stated = '4.75'.

wa_parameter-amount_factor = '1'.

ELSE.

wa_parameter-amount_factor = '0'.

ENDIF.

APPEND wa_parameter TO ct_parameter.

CLEAR: wa_hlpseg, wa_parameter.

ENDLOOP.

ENDMETHOD.

Thanks & Regards,

Sayujya