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

decimal value probleam

Former Member
0 Likes
618

Hi,

i did a normal report.i got the output

WRITE: 74(09) gl_output-volmea DECIMALS 0 NO-ZERO, as in my report 12 instaed of 12.2 which is the requirement

but when i am downloading the output to my desktop(in excell) by ws_download

i am getting the value 12.2 instead of 12.

so kindly let me know how to i correct it ??

thabks

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
587

The data downloaded is from the internal table , not from the list written.

4 REPLIES 4
Read only

Former Member
0 Likes
587

hi,

ws_download is obsolete.

use gui_download instead.

you have to do the changes in your internal table that u are downloading.

write is only for display purpose.

regards.

Read only

Former Member
0 Likes
587

Could it be that Excel is formatting the column? Check the file before opening with Excel. Does the field contain 2 decimal places?

Read only

Former Member
0 Likes
587

Hello,

Write statement with NO-ZERO formatting is just for displaying purpose. It will not change the actual value of the variable. You might have to assign the value to a variable of type i and then download it.

Vikranth

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
588

The data downloaded is from the internal table , not from the list written.