Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

I want scrollbar for ALV output or a fixed size ALV

DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .

l_ref_interfacecontroller = wd_this->wd_cpifc_search_list( ).

DATA:

l_value TYPE REF TO cl_salv_wd_config_table.

l_value = l_ref_interfacecontroller->get_model( ).

l_value->IF_SALV_WD_TABLE_SETTINGS~GET_FIXED_TABLE_LAYOUT( ).

l_value->IF_SALV_WD_TABLE_HIERARCHY~SET_EXPANDED( abap_false ).

l_value->IF_SALV_WD_GRAPHIC_SETTINGS~SET_WIDTH( 200 ).

DATA: lr_link TYPE REF TO cl_salv_wd_uie_link_to_action.

DATA: lr_column TYPE REF TO cl_salv_wd_column.

lr_column = l_value->if_salv_wd_column_settings~get_column( 'ISSUE_NO' ).

CREATE OBJECT lr_link.

lr_link->set_text_fieldname( 'ISSUE_NO' ).

lr_column->set_cell_editor( lr_link ).

*----


I have written above code to create a alv output. Now I want my alv would be fixed size.

What ever the content would be the alv wont change according to that. Scrollbar is acceptable . But the above code is not working fine according to my requirement.

So suggest me with some code or tell me how to do that.

Former Member
Not what you were looking for? View more on this topic or Ask a question