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: 

alv title help

Former Member
0 Kudos

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.


1 ACCEPTED SOLUTION

Former Member
0 Kudos

try passing it without quotes..hav u tried it

i_grid_title = tstct-ttext. "here

5 REPLIES 5

Former Member
0 Kudos

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.

Former Member
0 Kudos

try passing it without quotes..hav u tried it

i_grid_title = tstct-ttext. "here

0 Kudos

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

0 Kudos

Hi,

Declare the variable of type LVC_TITLE.

Thanks,

Sri.

0 Kudos

thanks

i try it

regards