Hi all,
I implemented an enhancement for search results in souring cockpit. This was done by enhancement of webdynpro component /SAPSRM/WDC_DO_SOCO_GAF_1, view V_AO_SOCO_GAF_1. Two new search fields were added in search screen (plant and preferred supplier) and two new columns in search results.
The code for filtering has been implemented in post exit of method WDDOMODIFYVIEW and it is working fine.
I just do a loop to the results table in context, delete the unnecesary lines and bind again the results table. My problem comes here: once in the results table, I've lost the possibility of selecting rows in the table. It is not possible to select any row and the buttonf for select all is also not working.
This is my bind sentence:
lo_nd_result_fields->bind_table( new_items = lt_result_fields set_initial_elements = abap_true ).
If I use "set_initial_elements = abap_true", the reults are correct but I'm lossing the selectable property of rows for the table. If I use "set_initial_elements = abap_false"), I can select rows in results table, but results are duplicated because I'm appending them.
Does anybody know why is it happening? Anybody find similar issue? Any idea of how to solving it or what may I being missing?
Thanks in advance for help.
Regards.