Skip to Content

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

Currency format in Smartforms

Hi ,

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.


Former Member
Former Member replied

Declare a local variable in Global definitions tab

something like

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>.

CONDENSE l_netpr.

print field l_netpr in the text node.

this will display the amount in the format you need.

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