Skip to Content
0
Former Member
Sep 12, 2007 at 09:15 PM

coding calculation

19 Views

Hi all abapers,

I have an 18 character variable say v1.

I have another variable v2 which is of type INT2

I need to move v1 to a number field and then

calculate variable3 as integer of (variable1/variable 2).

I then need to pick up variable3 and multiply with

1000 .

Example : if variable1 is 888888888888888888

variable2 is 100000

then variable 3 should be 8888888888888

and final output should be 8888888888888000

Can anyone pls help me code this in a way that

i do not get any Overflow dumps ?

Thanks all