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

Smart form problem.

hi friends,

i am using rlb_invoice(program) and lb_bil_invoice(form) for printing the billing information in message type rd00

when i am checking the print preview , amount is printing like 61.6545,00 rather than 61,6545.00

what i mean to say is comma(,) and decimal dot(.) are interchanged in the postions

how can we change these formats?

thanks in advance

srinivas

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 08:10 AM

    hi

    try to search on Forum u will find solution , similar question has solved earlier.

    regards

    sachin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 08:17 AM

    In your Session Go to Menu list..

    Select Session --> User Profile --> Own data

    In the coming screen Goto Default Values Tab.

    There you can select the Decimal format in whichever way u want !!

    After saving the setting just log out once and then log in !!

    The changes would be reflected in the output.

    Regards

    Sai Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      You have to change the Decimal Notation in ur user profile.

      for that

      go --> system in any screen

      --> user profile --> Own data.

      Maintain user profile screen will come

      then in that. select Defaults tab..

      in that Change the Decimal Notation 'X'

      Thanx

      Bgan.

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 09:21 AM

    The tips given by other pals may not resolve your problem. I had to do for one of my develpment . What I did is?

    copy that fields into a character string of smae length ( I mean including commas and points for reference see the output lenght) say that field as v_amount

    Just check the below logic

    data:v_amount type char19,(Say output lenght is 19characters)

    v_amount type char3 (say decimals have 3characters)

    v_amount type char15 (Before decimal its has 15 characters length)

    say v_amount has value 61.6545,000

    split v_amount at ',' into v_amount1

    v_amount2.

    now v_amount1 = 61.6545

    and v_amount2 = .000

    replace v_amount1 with all occurances of '.'.

    now v_amount1 = 61,6545

    now concatenate into another variable

    concatenate v_amount1 '.' v_amount2 into v_amount3.

    now v_amount v_amount will have your required value.

    now move this value to your quantity field or you can print it directly.

    Reward points if useful.

    Regards,

    Nageswar

    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.