on 01-24-2010 3:54 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all of you.. For your inputs..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamshi,
you cannot use ALV in combination with Table Popins .
Kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suma,
Try this link. Hope this will be helpful.
Thanks,
Bindu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.