Skip to Content

How to print currency is User specified format in smartforms

Hi,

As per the business requirement in my smartform layout,I want to print the currency in the format set by the user currency format in SU01.

As per my knowledge, currency is printed as per the country specific format and we can do this by explicitly setting the coutrny as SET COUNTRY 'USA'.

But my requirement is to print only in user specified format irrespective of any country. I tried by setting the country as '' (BLANK), but it didn't solve the problem

Can anybody help me or encountered similar problem in smartform currency format printing ?

Thanks n Regards,

Amit Bhagwat

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2010 at 12:23 PM

    Hi,

    Smartforms and scripts will print the currency values based on the notation mentioned in the user profile if u r not added the SET COUNTRY command in it.

    No need of any logic

    I think it will help you

    Thanks

    Arul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2010 at 07:28 AM

    u can maintain it in the user profile maintained for you in the system.

    You can use write statement and write the value of the variable in whcih u have the value to anotehr variable.

    This will have the right format then

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2010 at 07:07 AM

    Hi Amit,

    Please use FM "SUSR_GET_USER_DEFAULTS" to get the user defaults . where u will get the decimal notation as . or , after this u need to write code to convert currency.

    Regards,

    Chandra Kavali

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.