Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal Notation.

Former Member
0 Kudos

Hi,

I have a requirement in which irrespective of user's decimal notation

the numbers that i'm getting in ME23N should get converted in 1,234,567.8

format.

e.g if decimal notation is 234.567,8 it should get converted into 234,567.8 for processing.

Please suggest some Function Module or some code to take care of such requirements.

Thanks & Regards,

Sharyau

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

you can change your user-profile / own datas. There is the option for the date-format.

If this is not enough, you can work with

replace '.' with ',' into date

replace length 4 ',' with '.' into date.

or you can work with the write and format syntax.

regards

Nicole

6 REPLIES 6

andreas_mann3
Active Contributor
0 Kudos

use command:

write to using edit mask ...

A.

Former Member
0 Kudos

Hi,

you can change your user-profile / own datas. There is the option for the date-format.

If this is not enough, you can work with

replace '.' with ',' into date

replace length 4 ',' with '.' into date.

or you can work with the write and format syntax.

regards

Nicole

0 Kudos

I can not change the user profile...

as lot of users will be using same transaction....

my code should work irrespective of decimal notation....

if i assume that every user is using 123,456.8 notation...

for the users who are using different notation.. it gives short dump....

0 Kudos

Hi,

Use this C14N_NUMERIC_FORMAT

Thanks.

0 Kudos

Can you please explain me how to use this perticular function module?

Message was edited by:

sharayu kumatkar

Former Member
0 Kudos

Hi Sharayu,

I guess this can be achieved by clicking on the System option at the menu bar and then click on User Profile and then Own data.In the window,click on the defaults tab and then you can change the Decimal notation there.Save and you are done.

In case you have any further clarifications,do let me know.

Regards,

Puneet Jhari.