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

float display ALV GRID

MariaJooRocha
Contributor
0 Likes
1,562

Hi,

I'd like to display a float like:

111.222.333,44

using the '.' as a thousand separator.

My fieldcat:

fieldcat_det-decimals_o = 2.

fieldcat_det-datatype = 'FLTP'.

fieldcat_det-exponent = 0.

But the result is 111222333,44.

Can you help?

Thanks in advance.

Best Regards,

Maria João Rocha

5 REPLIES 5
Read only

Former Member
0 Likes
1,021

Hi Maria,

There is no such option for displaying.

You can try like this : In the internal table, declare that field as a string, since its only for displaying. You can push the value into the string.

If found useful, award points pls.

Regards,

Bharadwaj

Read only

franois_henrotte
Active Contributor
0 Likes
1,021

you can use field 'edit_mask' of field catalog in order to change appearance of your values

Read only

MariaJooRocha
Contributor
0 Likes
1,021

Thanks,

B raju - I can't user strig, because the field is a sum field!

François Henrotte - Can you please tell me how? I've tried to use that option (edit mask) but with no success

Best Regards,

Maria João Rocha

Read only

0 Likes
1,021

see documentation of WRITE statement, option USING EDIT MASK to see which is the syntax

Read only

Former Member
0 Likes
1,021

hi

u can try this fm

<b>PP_CATT_CONVERT_DECIMAL_POINT</b>

and also <b>check ur default decimal settings</b>