Skip to Content
0
Former Member
Jul 10, 2013 at 12:15 PM

Dynamic Decimals in SAP SCRIPT

474 Views

Hi Experts,

I have a requirement to set decimal places dynamically based on value in a variable in sap script.

For example 1 : we have decimal variable &Dec& = 2 (Value in Dec will change dynamically)

display value &Value& = 10.255.

Output should be 10.25 based on decimal value.

For example 2 : we have decimal variable &Dec& = 3 (Value in Dec will change dynamically)

display value &Value& = 10.255.

Output should be 10.255 based on decimal value.

Thanks & Regards,

Sivaji Kankanala.