on 10-27-2014 4:02 PM
Hi Folks,
Need a help.
I am working on WebDynpro Table.
I am pre-filling table with 10 records, some fields are empty and some are default values.
While i am selecting any row in the table, system by default is going to 1st row. I can not able to select any other row except the 1st row.
I am using cardinality 0...n and selection 0...1 for the table and i have checked initialize lead selection checkbox.
Please help me.
Regards
Anil
Hi Anil,
Please check if there is any code in wddomodify hook method explicitly written to set leadselection to first row event for the table.
If it is intended to write during the initial load of the screen, write the piece of code in IF first_time = 'X'.ENDIF. statements.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is your issue resolved? Post your solution here, so that can be useful for others.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your replies.
I have checked the code, It wasn't mentioned in wddomodifyview method...
Still not getting understand how it is behaving like that...
Thanks,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
Try to check all the methods of your view and also component controller method which may have called inside view if you can find code related to this.
Before that to cross check, please test standard component WDR_TEST_UI_ELEMENTS
Test the table ui element and select a row and check if its working,
If not, you need to implement "Unified rendering correction" as per your net weaver version.
Hope this helps you.
Regards,
Rama
Hi Anil,
I suspect that there is a code either to write data to context node or to re-set the lead index.
Check out if your code for binding data to context node is written in WDDOMODIFYVIEW( ) method or in wddobeforeaction( ) method.
If so, please place your code in WDDONIT( ) method.Because WDOINIT( ) method executed when view gets initialized. So its very logical to write the initialization logic over there.
You can also keep your code in WDDOMODIFYVIEW( ) method but its should be within a condition as below
IF FIRST_TIME EQ ABAP_TRUE.
" your code goes here
ENDIF.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.