03-20-2008 8:25 PM
How to output % symbol next to the value in ALV?
Concatenate and move?
thanks
Ven
03-20-2008 9:40 PM
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
03-21-2008 2:52 AM
Yes. you will have to concatenate that with the % value and display it.
Thanks
Balaji
03-21-2008 4:10 AM
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