Skip to Content
0
Former Member
Jun 09, 2011 at 10:48 AM

How to convert QUAN to DEC data type

2605 Views

Hi to all,

i have created one variable of type QUAN, and need to assign this variable to another variable of type DEC.

example: VAR1 type QUAN length 13 decimal 3 .

and VAR2 type DEC length 3.

VAR2 = VAR1.

while runing the program short dump is coming FOR CX_SY_CONVERSION_OVERFLOW.

Note: i cant change the length of VAR2 to length 13 decimal 3.

please can any one provide me solution .

Regards

Avish