Currency format in Smartforms
In Smartforms i have to display the NETPR, NETWR ,MENGE fields in the following format........
Usually these fields will be shown as 100000.00
How to format these fields.
Is there any FM to do this.
Kindly let me know.
Lavanya Kumar replied
Declare a local variable in Global definitions tab
l_netpr type char20.
before you display the amount field, in the program node
WRITE <your amount field> TO l_netpr
CURRENCY <currency field existing in the table>.
print field l_netpr in the text node.
this will display the amount in the format you need.