on 09-15-2011 8:33 AM
Hi all,
I am having ALV table, Based on the entry of One field the Visibility of Tabs are set.
I have used ON_CELL_ACTION but the code is not working here.
The same code is working in WDDOMODIFYVIEW.
Can anybody suggest about this.?
Thanks all,
Hi,
Try to adapt this code with yours :
DATA : alv_config_table TYPE REF TO cl_salv_wd_config_table,
wd_table_usage TYPE REF TO if_wd_component_usage,
lr_table_settings TYPE REF TO if_salv_wd_table_settings,
wd_table TYPE REF TO iwci_salv_wd_table.
" Create an instance of ALV component created ALV is usage name
wd_table_usage = wd_this->wd_cpuse_alv( ).
IF wd_table_usage->has_active_component( ) IS INITIAL.
wd_table_usage->create_component( ).
ENDIF.
wd_table = wd_this->wd_cpifc_alv( ).
alv_config_table = wd_table->get_model( ).
lr_table_settings ?= alv_config_table.
lr_table_settings->set_data_check( 01 ). " I think you are missing this instruction
If this is not working with ON_CELL_ACTION event, change it with ON_DATA_CHECK
Hope this help
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.