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

Smartforms - Display the price value

Former Member
0 Likes
710

Hi

I have a column in a table in the smartforms that displays the price of an item.

If the value is 123,456.000 then it should display as 123.456,000 and for 0.1234 it should display as 0,1234

The value in the database is in USD and I need to display the same value in CHF(swiss franc)(Note:

Its not the currency conversion-just to display the values)

Can anyone help me how to do this

Thanks

Prakash

Hi

I have a column in a table in the smartforms that displays the price of an item.

If the value is 123,456.000 then it should display as 123.456,000 and for 0.1234 it should display as 0,1234

The value in the database is in USD and I need to display the same value in CHF(swiss franc)(Note:

Its not the currency conversion-just to display the values)

Can anyone help me how to do this

Thanks

Prakash

3 REPLIES 3
Read only

Former Member
0 Likes
623

hi,

go to SYSTEMS->USER PROFILE->OWN DATA---> And then in DEFAULTS Tab and change the default mode of 'decimal notation' to 1st radiobutton like '1.234.567,89'

Hope it 'll work.

Regards,

Sal.

Read only

0 Likes
623

Hi

Thanks for ur suggestion.

I am converting SAPScript to SMARTFORMS.

I need a function equivalent to form_open using the country key in SMARTFORMS.

PERFORM form_open USING proc_screen vbdkr-land1.

Regards

Prakash

Read only

0 Likes
623

Hi Prakash,

Can you eloberate what is your requirement is??

In smartfrom you do not have a FM like OPEN_FORM, WRITE_FORM and CLOSE_FORM. Whenever you create a smartform and active, it automatically generates a FM, with unique name. From your driver program you just need to call this function module. See the following link for better understanding.

http://help.sap.com/saphelp_47x200/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm

let me know if you have any other question.

Pratik