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: 

how to output % in ALV?

Former Member
0 Kudos

How to output % symbol next to the value in ALV?

Concatenate and move?

thanks

Ven

3 REPLIES 3

Former Member
0 Kudos

hi,

it is not possible to display % symbol automatically.

you have to concatanate the % symbol with amount while preparing the output internal table and then call the ALV FM.

Regards

somesh

  • Reward points if helpful/solved

Former Member
0 Kudos

Yes. you will have to concatenate that with the % value and display it.

Thanks

Balaji

former_member387317
Active Contributor
0 Kudos

Hi Venkatabby,

use field catelog property EDIT_MASK for this...

clear ls_fieldcatalog.

ls_fieldcatalog-col_pos = pos.

ls_fieldcatalog-fieldname = 'LOSFX'.

ls_fieldcatalog-tabname = 'I_OUTPUT'.

ls_fieldcatalog-ref_field = 'LOSFX'.

ls_fieldcatalog-do_sum = 'X'.

ls_fieldcatalog-EDIT_MASK = '____/__/__'.ls_fieldcatalog-ref_table = 'MARC'.

append ls_fieldcatalog to i_fieldcatalog.

Try to do something like this...

I am not sure but try to adjust EDIT_MASK property hopefully it will work for you..

ls_fieldcatalog-EDIT_MASK = '_,_,_%'.

OR u can use concatenate statement for displaying %

Hope it will solve your problem..

Reward points if useful...

Thanks & Regards

ilesh 24x7