09-19-2014 5:03 AM
Hello, everyone:
I meet a problem when I programming in routine for SD condition value:
the calculated result in the routine is enlarged automatically by system, for example, V1(10) * V2(10) = 100, but the result is 1000 in my routine, so it is enlarged by 10.
Why does system enlarges the result automatically?
What should I care when programming in such routine?
Thanks in advance!
09-19-2014 6:05 AM
The only thing you should take care while coding in Routine is that
" don't do any calculation part of coding in Routine program directly , reason being Fixed Point Arithmetic functionality is not active in Routine programs "
Solution for the above : Create a Function Module for calculation part and set the IMPORT EXPORT parameters accordingly later make a call to this FM from Routine.
09-19-2014 6:05 AM
The only thing you should take care while coding in Routine is that
" don't do any calculation part of coding in Routine program directly , reason being Fixed Point Arithmetic functionality is not active in Routine programs "
Solution for the above : Create a Function Module for calculation part and set the IMPORT EXPORT parameters accordingly later make a call to this FM from Routine.