Skip to Content

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

Hiding the ALV footer with SET_FOOTER_VISIBLE method

Friends,

I need to hide the footer in an ALV table.

The footer has the functionality to scroll between the different rows and columns. I need to hide the entire footer or atleast the different scroll buttons.

I looked at the IF_SALV_WD_TABLE_SETTINGS that has the SET_FOOTER_VISIBLE method.

I have included the following lines of code:

-


DATA cmp_usage TYPE REF TO if_wd_component_usage.

DATA alv_interfacecontroller TYPE REF TO iwci_salv_wd_table .

DATA value TYPE REF TO cl_salv_wd_config_table.

DATA valid_from_flag TYPE string.

DATA column TYPE REF TO cl_salv_wd_column.

DATA column_header TYPE REF TO cl_salv_wd_column_header.

DATA text_view TYPE REF TO cl_salv_wd_uie_text_view.

cmp_usage = wd_this->wd_cpuse_alv_process_select( ).

IF cmp_usage->has_active_component( ) IS INITIAL.

cmp_usage->create_component( ).

ENDIF.

alv_interfacecontroller = wd_this->wd_cpifc_alv_process_select( ).

value = alv_interfacecontroller->get_model( ).

value->if_salv_wd_table_settings~set_footer_visible( ).

-


I need to hide the footer. I tried passing abap_false as parameter to the set_footer_visible() method but this throws up an error.

Please let me know if I am using the right method for hiding the footer and if so, how to do so.

Thanks and Regards.

I

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