Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

VOFM: value is enlarged in routine

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!

Tags:
Former Member
Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question