cancel
Showing results for 
Search instead for 
Did you mean: 

ALV dump error help

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Srilatha M,

The information mentioned in note seems not exactly the same with mine.

Do you have any ideas about rowSelectable attribute? I do not know whether it is confliced with attribute "Initial lead selection'

thanks

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello,

i do not see the function call "SET_ROW_SELECTABLE" in my codes and I comment all function call of "set_lead_selection"

However the dump still exists. I guess it may have something to do with ALV component, but i am not sure.

Thanks a lot.

Former Member
0 Kudos

Hi,

One more check can you do? Check if there is a call to SET_SELECTION_MODE method in your code. If its there, please let us know what value you are setting with that.

Regards,

Srilatha

Former Member
0 Kudos

Hi,

The method "SET_SELECTION_MODE " is not called.

Former Member
0 Kudos

Oh okay... Then please post the code snippet with which you are initializing ALV table(configurations etc) and properties of the context node which is mapped to DATA node of ALV component.

Regards,

Srilatha

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello,

Please post the code of WD_ASSIST->SET_ALV_LAYOUT( ) method as well.

Regards,

Srilatha

Former Member
0 Kudos

Hello,

I find the error, the 'abap_true' is set, actullay it should be x or abap_true without quotations in code.

Thanks a lot for your continuous help and patience.

Answers (0)