Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart-forms

Former Member
0 Likes
586

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

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

4 REPLIES 4
Read only

Former Member
0 Likes
563

Hi,

Please declare currency fields in Global definations--> Currency.Quantity fields,

Please explain u r problem elaborately.

Regards

Jananrdhan

Read only

Former Member
0 Likes
564

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

Read only

Former Member
0 Likes
563

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

Read only

Former Member
0 Likes
563

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.