i do have a view (MAIN) containing a table mapped to a showAll context node.
Means when the view opens a service call getAll gets fired returning values into this node, which is displayed by a table.
Then i created an inputfield and search button upon my table to give the user the possibility to search using keywords.
And i have implemented a function module returning customers fitting the enteres keyword.
This search - servicecall results in another context node named searchResult.
What i want is, that the table gets filled by the searchResult after the search-button got clicked.
My approach was to call the serviceCall search and then move the searchresult from its context node into the one binded with the table.
table = customers ).
lo_nd_it_cust->bind_table( customers ).
But nothing happens. What is my mistake?
Best regards Philipp
Edited by: Philipp.Heinemann on May 25, 2010 1:38 PM
Why use two different context nodes in the first place. Is it just becuase you are using the service call wizard. If so I would recommend that you go beyond what the wizard can do and simply write or adapt the code yourself. What you describe really sounds like you only need one context node with two different methods (or even one method with internal logic to perform the query different ways).