on 12-29-2011 6:20 AM
Hi experts,
currently I am working with some standard webdynpro component, in that i can able to select single row at a time,
Now i have to enhance the component like to select the multiple rows of an ALV.
existed Properties of the Context node are
cardinality 0..n
selection 0..1
I have used the method IF_SALV_WD_TABLE_SETTINGS~SET_SELECTION_MODE as MULTI , to select multiple rows.
here problem is i am unable to change the 'SELECTION' property of a context node to 0..n or 1..n programatically.
I could not find any methods to set the 'Selection' property of a node.
can anyone give me solution?
Thanks & regards.
sudheer.B
i just want you to check the importance of this
IF_WD_CONTEXT_NODE~SET_CHANGED_BY_CLIENT - set as true so that what ever changes you make to standard ones through coding are implemented...first donot set this parameter and test the things...if still things doesnot work out then use this parameter...Please go through the documentation before you really use this parameter.
in ALV - you have you use if_salv_wd-table_settings~set_selection_state - > as MULTI..but if this placed you selection should be 0-n or 1-n...otherwise it may go for a dump...i guess there should be some workaround...for this..
may be we have to debug to get the things done....
Lukas -
If IF_WD_CONTEXT_NODE_INFO~IS_MULTIPLE_SELECTION would be set to ABAP_TRUE... - > This will not set the value that retuns the value...
Edited by: Lekha on Dec 29, 2011 1:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's more of an idea than a solution:
If IF_WD_CONTEXT_NODE_INFO~IS_MULTIPLE_SELECTION would be set to ABAP_TRUE... this might have the wanted effect. Still, I don't like the thought of changing something like cardinality/selection outside of design time
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudheer,
Just now i checked in If_wd_context_node interface. we dont have any methods to change the cardinaliity of node.
If i am wrongs, let wait for other reply.
Regards
Srinvias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.