10-28-2010 3:15 PM
Hi experts,
I have 2 fields: value & decimal.
the requirement is that the "value" should have the number of decimal places equal to the value in field "decimal".
eg. if value = 43500 & decimal = 4, then the output should be 4.35,
if value = 1234 & decimal = 2, then output should be 12.34, and so on.
Is there any statement or FM which readily does this kind of conversion?
Regards.
10-28-2010 3:24 PM
I doubt there is FM like this.
But you can achieve oit easily using simple abap statements.
10-28-2010 3:24 PM
You can do this simply by declaring two variables, and use them for offset and output.
10-28-2010 3:37 PM
Moderator message - Please do not ask or answer basic questions or questions that are easily searchable - thread locked Rob