on 10-16-2012 8:31 AM
Hi Experts,
I am creating a dynamic ALV report in webdynpro. I dont want my header row to be displayed in my report. I want only the data part. I am using the below code to delete my header but no use. Kindly provide ur valuable inputs.
data: lr_std TYPE REF TO cl_salv_wd_config_table,
l_value TYPE REF TO cl_salv_wd_config_table,
lo_interfacecontroller TYPE REF TO iwci_salv_wd_table,
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
l_value = lo_interfacecontroller->get_model( ).
lr_std ?= l_value.
lr_std->if_salv_wd_table_settings~delete_header( ).
Thanks
Vivek
Vivek,
First get the instance of the header using IF_SALV_WD_TABLE_SETTINGS~GET_HEADER
if header is bound.
then delete the header "using delete_header
endif.
If still the problem persists, try using the method
IF_SALV_WD_TABLE_SETTINGS~SET_TOP_OF_LIST_VISIBLE as abap_false
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lekha,
Thank you for your reply..
In addition to that i used the below code to delete the header.
data: cl_hdr TYPE REF TO cl_salv_wd_column_header.
LOOP AT lt_columns INTO ls_columns.
lr_column = ls_columns-r_column.
CALL METHOD ls_columns-r_column->delete_header
RECEIVING
value = cl_hdr.
ENDLOOP.
I can delete the header row now. Can u kindly reply me how we can add the hyperlink in the ALV header.
Thanks,
Vivek
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.