Application Development and Automation 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: 
Read only

Amount is not coming according to User Decimal Notation

Former Member
0 Kudos
629

Hi ,my User Decimal notation is 1.234.567,89 .

But in my Z Program ,in debugging it is taking amount like 3,804,110.47 .I am not sure , why it is happening .I checked OY01 and OY04 , but notation is set to

1.234.567,89

Kindly let me know if there is any other setting .

3 REPLIES 3
Read only

tom_wan
Product and Topic Expert
Product and Topic Expert
0 Kudos
507

Hello

The format set in user profile or OY01 or OY04 only takes effect when the number is displayed on ALV/ABAPLIST.eg.

If you check the content of numerical variable in debugger, it will always be displayed by original format like 1234567890.12


Regards

Tom

Read only

RaymondGiuseppi
Active Contributor
0 Kudos
507

Read some documentation on internal/external format in online documentation, also an amount display is also depending on currency code (in a correct written program of course)

Read only

kiran_k8
Active Contributor
0 Kudos
507

Sachin,

Check if any WRITE statement is causing that

K.Kiran.