Skip to Content
0
Former Member
Jun 27, 2011 at 07:30 PM

End Routine does not calculate

13 Views

Hi Gurus,

I have written an end routine to calculate a field as mentioned below:-

LOOP AT RESULT_PACKAGE ASSIGNING <result_fields>.

CASE <result_fields>-COSTCENTER.

WHEN 'MUS80900'.

<result_fields>-/bic/YTOTHOURS = ( ( <result_fields>-/bic/YTOTHOURS * 65 ) / 100 ).

WHEN OTHERS.

<result_fields>-/bic/YTOTHOURS = <result_fields>-/bic/YTOTHOURS.

ENDCASE.

ENDLOOP.

But it does brings only '0.000' in result fields.

Any idea why its happening?