Skip to Content
avatar image
Former Member

SMARTFORMS

Hi,

I am having an invoice in which amount is being display as 2.69.356,00 instead of 2,69,356.00

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

12 Answers

  • avatar image
    Former Member
    Jan 16, 2007 at 05:31 AM

    Hi

    go and select the required format in SU01 ...=>defaults tab=> decimal notation(select the desired format apppearing there) =>save ...

    This is the best practise to do this .

    Allot points if it helps ...

    Regards

    Jaman

    Message was edited by:

    ABAP Techie

    Message was edited by:

    ABAP Techie

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 05:31 AM

    Move the amount to a field which is declared as packed with decimal places 2.

    Try out this way and let me know if u face the same problem.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16, 2007 at 05:36 AM

    Hi,

    In menu,system->User Profile->Own Data,click defaults tab.

    Select the decimal notation as

    1,234,567.89 and save it.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 05:39 AM

    Hi Ravi,

    I had tried but the same problem .

    please help as it is urgent

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 05:40 AM

    hi bala check u r user profile.. if in u r user profile the decimal notation is "," and separator with ".".

    if u r user profile is different than it will be displyed in that way.

    we no need to bother about this... because based on the user profile it will be displayed.

    Please Close this thread.. when u r problem is solved

    Reward if Helpful

    Regards

    Naresh Reddy K

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 05:47 AM

    hi,

    1,234,567.89  => 1.234.567,89.
    
    
    data: l_amnt(100) type c.
    
    l_amnt = '1.234.567,89'.
    
    replace all occurrences of ',' in l_amnt with '#'.
    
    replace all occurrences of '.' in l_amnt with ','.
    
    replace all occurrences of '#' in l_amnt with '.'.
    
    write : l_amnt.

    Regards

    Anver

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 05:48 AM

    in my user profile also it is right but the out put is not displaying in that way

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 07:01 AM

    Hi,

    Just use 'SET COUNTRY-KEY' key word in the program lines and print the data in the format u want. Try it out!.

    regards,

    Aravind

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 07:04 AM

    Hi,

    While debugging i am getting the value as 23456,00 but the same variable is getting printed as 23.456,00. where as it should print as 23,456.00.

    in su01 i am having the same format.

    cannot use replace statement as i am not getting 23.456,00 value instead i am getting as 23456,00.

    Thanks in advance

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      while printing that is wht u r getting so... when the data is printing convertion exits willbe triggered.. for that filed u r printing contailns the reference field in dictionary..

      try to avoid using that field instead use another data elements like

      DEC1_4

      DEC10_2

      DEC11_4

      DEC12

      DEC15

      DEC16_3

      DEC20

      DEC23_2...

      I hope u r problem will be solved

  • avatar image
    Former Member
    Jan 16, 2007 at 08:05 AM

    still giving me the same problem as above.

    please help me out as this is urgent.

    Add comment
    10|10000 characters needed characters exceeded