cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS

Former Member
0 Kudos

Hi,

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

Accepted Solutions (0)

Answers (12)

Answers (12)

Former Member
0 Kudos

Hi

If you have already changed ur user profile and still problem is there ,

Then please check the value of that field at database level , and double click on that line and see is there any difference at database level , even i have faced the same kind of issue in one of my development and finally even changing profile and logging off and all was not able to solve then i found at databse level it's like this only or give me the field name of which table ur facing issue.

Regards

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check my previous post.Change the user profile.Then log out and log in.It should definetely work.

Former Member
0 Kudos

still giving me the same problem as above.

please help me out as this is urgent.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

anversha_s
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ravi,

I had tried but the same problem .

please help as it is urgent

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

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

Select the decimal notation as

1,234,567.89 and save it.

Former Member
0 Kudos

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

Former Member
0 Kudos

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