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: 

float display ALV GRID

MariaJoãoRocha
Contributor
0 Kudos

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

Former Member
0 Kudos

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

franois_henrotte
Active Contributor
0 Kudos

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

MariaJoãoRocha
Contributor
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

hi

u can try this fm

<b>PP_CATT_CONVERT_DECIMAL_POINT</b>

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