Skip to Content
author's profile photo Former Member
Former Member

Smart forms --- Currency problem

Hello, My friend,

Sorry for disturb you .

Who was using smart forms for report program.

I met a problem about currency ,How to put the minus sign to the front of money in smart forms. How to configuration.

Thank you in adavance

looking forward to your reply

Kevin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 07:27 AM

    The easiest method is

    concatenate '-' amount into a variable, and then display this variable in the smart form .

    Or use this method to modify your internal table (your internal table should have this variable as a field).Now loop and write it in the smartform.

    Regards

    Binoo

    NB: Award points if it works

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2005 at 07:30 AM

    Hi,

    Use this.

    &VBAK-NETWR(<)&

    Also the SET SIGN LEFT command put the sign on the left side of all numeric value.

    Cheers

    Vinod

    Message was edited by: Vinod C

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Vinod Chandran

      Hi ALL,

      I have defined reference field in currency/quantity tab of smart foms global definition.

      If i deleted these referece field.

      I can't use the syntax & GS_LINE-dmbtr(<)& ?

      If i done, the system popup a warning, some field is unknown.

      why?

      Kevin

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 07:30 AM

    hi,

    use this piece of code.

    if p_amount ca '-'.

    replace '-' with '' into p_amount.

    concatenate '-' p_amount into p_amount.

    endif.

    you can write this in command lines before displaying the amount.

    hope ur problem will be solved with this.

    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.