‎2008 Jul 28 9:47 AM
Hi,
While working with smart-forms I m facing this problem when the currency field = 'JPY' the condition value kwert is giving improper values.
For ex: the value is 3,340,000.00 but its getting displayed as
78,000.00.
So please help me for this problem.
Regards,
Khushbu.
‎2008 Jul 28 9:59 AM
hi debugg the smartform you can able to know if ..
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE
‎2008 Jul 28 9:54 AM
Hi,
Please declare currency fields in Global definations--> Currency.Quantity fields,
Please explain u r problem elaborately.
Regards
Jananrdhan
‎2008 Jul 28 9:59 AM
hi debugg the smartform you can able to know if ..
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE
‎2008 Jul 28 10:07 AM
Try this out....i think it will work...
Display your currency values in the variable which is of string type ..
it will work perfectly .
thnks
Sahil
‎2008 Jul 28 10:14 AM
try this. it is working in my output - smartform.
G_PRICE = KONV-KBETR.
G_AMOUNT = KONV-KWERT.
if KONV-waers = 'JPY'.
G_PRICE = G_PRICE * 100.
G_AMOUNT = G_AMOUNT * 100.
endif.