hi experts,
i am developing a alv grid report in which i have to show the arrear breakup for dates given in the selection screen.....the scenarion is like this..
if i enter from april to june....
what i want here is in the output list automatically the seltext(column heading) for fields will be changing for eg...arrear breakup for <b><u>april</u></b> ,,,,,,,,,,,arrear breakup for <u><b>may</b></u> etc
NOW I M USING LIKE THIS I WANT TO REMOVE THIS CODINGSS
s_fieldtab-fieldname = 'BETRG1'.
s_fieldtab-seltext_l = 'ARR Basic Salary For may'.
s_fieldtab-tabname = 'IT_RT'.
s_fieldtab-EMPHASIZE = 'X'.
s_fieldtab-OUTPUTLEN = '25'.
APPEND s_fieldtab TO i_fieldtab.
CLEAR s_fieldtab.
s_fieldtab-fieldname = 'BETRG2'.
s_fieldtab-seltext_l = 'ARR House Rent Allowance FOR MAY'.
s_fieldtab-tabname = 'IT_RT'.
s_fieldtab-EMPHASIZE = 'X'.
s_fieldtab-OUTPUTLEN = '25'.
APPEND s_fieldtab TO i_fieldtab.
CLEAR s_fieldtab.
s_fieldtab-fieldname = 'BETRG5'.
s_fieldtab-seltext_l = 'ARR Basic Salary For june'.
s_fieldtab-tabname = 'IT_RT'.
s_fieldtab-EMPHASIZE = 'X'.
s_fieldtab-OUTPUTLEN = '25'.
APPEND s_fieldtab TO i_fieldtab.
CLEAR s_fieldtab.
s_fieldtab-fieldname = 'BETRG6'.
s_fieldtab-seltext_l = 'ARR House Rent Allowance FOE JUNE'.
s_fieldtab-tabname = 'IT_RT'.
s_fieldtab-EMPHASIZE = 'X'.
s_fieldtab-OUTPUTLEN = '25'.
what logic sud i add for automatic changing of the column text..plz help me its urgent.....thnx in advance....
Message was edited by:
ravi gupta