on 08-09-2010 7:59 AM
Hi Friends,
I meet this dump when open a web dynpro application which contains an ALV table.
The dump information is : Error in TABLE "SALV_WD_UIE_TABLE" of view "SALV_WD_TABLE.VIEW_TABLE": For a context element with rowSelectable=false neither LeadSelection nor Selection is allowed to be used
I check one related context. It is set as
"initialization lead selection" - Checked
What is the probable reason for this?
Thanks.
Hello,
The issue seems to be the same as the one mentioned in OSS Note 1342965.
Please have a look at OSS Note 1342965 if it can be implemented in your case.
Hope this helps!
Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Are you setting rowSelectable property to false in your code anywhere using the following method?
IF_SALV_WD_TABLE_SETTINGS~SET_ROW_SELECTABLE
It could be the case that you are setting rowSelectable to false somewhere in code and again you are trying to set selection/lead selection in the context. Those two are conflicting right. when you say rowSelectable false, that means you cant have any selection in ALV and you shouldnt set selection in the corresponding node.
Please check the same!
Regards,
Srilatha
Edited by: Srilatha M on Aug 9, 2010 10:21 AM
Hi,
When I check all init alv layout method, I found this snipet in servral places,
CLEAR wa_properties.
wa_properties-mykey = 'ROW_SELECT'.
CLEAR t_paras[].
wa_para-para_name = 'VALUE'.
wa_para-para_value = 'ABAP_FALSE'.
append wa_para to t_paras.
wa_properties-parameters[] = t_paras[].
append wa_properties to t_OTH_properties.
I change all abap_false to abap_true. But still it dumps.
Context:
Data
- ServPack_list,
Cardinality 0-n, Selection 0-1
Initialization Lead Selection: Checked!
Supply function: Fill_ServPack_list
- SERVSESS_LIST
Cardinality 0-n, Selection 0-1
Initialization Lead Selection: Checked!
Supply function: Fill_ServSess_list
- PROTOCOL_LIST
Cardinality 0-n, Selection 0-1
Initialization Lead Selection: UnChecked!
Supply function: FILL_PROTOCOL_LIST
Edited by: Vincent Cao on Aug 9, 2010 11:59 AM
More of codes as follows:
wa_properties-mykey = 'PACKAGE'.
CLEAR t_paras[].
wa_para-para_name = 'TEXT'.
wa_para-para_value = 'Session Package'. "#EC NOTEXT
append wa_para to t_paras.
wa_para-para_name = 'POSITION'.
wa_para-para_value = '1'.
append wa_para to t_paras.
wa_properties-parameters[] = t_paras[].
append wa_properties to t_col_properties.
CLEAR wa_properties.
wa_properties-mykey = 'SERV_TYPE'.
CLEAR t_paras[].
wa_para-para_name = 'TEXT'.
wa_para-para_value = 'Service Creation (SAP/Local)'. "#EC NOTEXT
append wa_para to t_paras.
append wa_para to t_paras.
wa_para-para_name = 'POSITION'.
wa_para-para_value = '2'.
append wa_para to t_paras.
WD_ASSIST->SET_ALV_LAYOUT(
TAB_COLUMNS_PROPERTIES = T_COL_PROPERTIES
TAB_FUNCTIONS_PROPERTIES = T_FUN_PROPERTIES
TAB_OTHER = T_OTH_PROPERTIES
LR_ALV = SERV_ALV_TABLE ).
Edited by: Vincent Cao on Aug 9, 2010 12:02 PM
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.