Skip to Content
Former Member
Jul 23, 2010 at 03:18 AM

Populating second table from OnSelect of first table


Hi Experts,

I am new to ABAP Webdynpro. I have a requirement to show a search area, one table for header info, and second table for populating item level information.

I was successful building a search area and populating first table when the 'Search' button is pressed.

Now, I like to populate the second table with item details if a row on first table is selected. I tried to bind the OnSelect Event of first table to a method and try to get the results and bind to second table.. However, I am unsuccessful in this attempt.

Here are my questions/challenges.

1. When I select a row on first table, how can I extract the key information?

2. Is it sufficient to create a context attribute and populate it with FM and bind that with second table?

I appreciate your help in answering this question.