Is it possible to search a feild ( LastName or FirstName) form a helpTable (which I probablly get while calling the BAPI 'BAPI_HELPVALUES_GET') using SQL.
Once you have your help_table, then in your code you can seperate help_table (like in the iterator) into a internal table (define the types like I did in the other post) then just loop through or work with the internal table to get the single row and pass that to the tableView.
What I normally do for things like this is create a TABLE TYPE and TABLE/STRUCTURE in my Dictionary Objects then in a METHOD I get the data from the table I want and do all of my manipulating of the data then pass the manipulated table as a returing parameter from the method back to my event handler then to my tableView. I have FILTER in my columndefintions set to = 'X' then in my tableView I have the parameter filter = "server" set then I let the users filter the data themselves.
You can do something similar by only passing a single row of a table back from the METHOD. There's many many ways of doing it.
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
Add a comment