11-05-2007 1:25 PM
hi,
i wont to do the title from alv daynmic ,that can change accordingly to the <b>value</b> in
tstct-ttex field that can change by user .
Regards
i reward
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = ls_layout
it_fieldcat = lt_fieldcat
i_grid_title = 'tstct-ttext' "here
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = itab.
11-05-2007 1:34 PM
try passing it without quotes..hav u tried it
i_grid_title = tstct-ttext. "here
11-05-2007 1:31 PM
Hi,
Declare a variable type of LVC_TITLE, you can pass the value to it and pass the variable to i_grid_title of ALV.
Thanks,
Sriram Ponna.
11-05-2007 1:34 PM
try passing it without quotes..hav u tried it
i_grid_title = tstct-ttext. "here
11-05-2007 1:36 PM
hi Prashant
yes i try it and i have dump
" The function module interface allows you to specify only
fields of a particular type under "I_GRID_TITLE".
The field "TSTCT-TTEXT" specified here is a different
field type"
Regards
11-05-2007 1:46 PM
11-05-2007 1:48 PM