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: 

format a col in alv report

Former Member
0 Kudos

How I can format a col in alv report. Suppose the col is like MSEG-menge and the value is 432,199.789 and I want to format it like '#####.##'. So it will display 432,199.79 in report.

Is there any wayout?

4 REPLIES 4

Former Member
0 Kudos

Hai,

There is a option in fieldcatalog, EditMask which you can try it out.

Former Member
0 Kudos

In the fieldcatalog for that field try this

it_fieldcat-round = '2'.

so that it will round to 2 decimals

former_member181962
Active Contributor
0 Kudos

1) you can go to su3 transaction(System->User Profile->Own data) and define your format for Decimal notation in Defaults tab.

2)

for that particular column set the edit mask parameter in the field catalog.

Regards,

ravi

Former Member
0 Kudos

i guess, you can use FIELD CATALOG EDIT MASK feature to make result in your intended way,

check it out.

regards

srikanth