cancel
Showing results for 
Search instead for 
Did you mean: 

Table popin in Webdynpro ALV

Former Member
0 Kudos

Hi All,

I have a requirement where i need to provide longtext in row of the ALV table. So i would like to show the lobg text in table popin but i am not sure how to do it? Does any one have code for this?

Thanks in advance.

Regards,

Vamshi.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

As stated, you can't use a table popin. You need to consider alternative approaches. You could use a TextView cell editor to display a large amount of text in place:

data textview type ref to cl_salv_wd_uie_text_view.
  l_column = l_table->if_salv_wd_column_settings~get_column( 'ADD_PARTICIPANTS' ).
  create object textview.
  textview->set_text_fieldname( 'ADD_PARTICIPANTS' ).
  textview->set_wrapping( abap_true ).
  l_column->set_cell_editor( textview ).

If you have too much text, this can make your ALV a little unusable however. In that case, consider placing a button or linkToAction in the table itself and displaying a popup dialog with the text when the user clicks on it. You could even combine the two approach. Display the first 1000 characters of text (or any limit you want) and then only active the button to display the rest if there is more text.

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks all of you.. For your inputs..

Former Member
0 Kudos

Hi Vamshi,

you cannot use ALV in combination with Table Popins .

Kind regards

Stefanie

Former Member
0 Kudos