Skip to Content
Former Member
Jun 02, 2009 at 01:02 AM

Data transfer between 2 table views


Dear Gurus

Here is my scenario.

I need to transfer data between 2 table views (Both these table views are having only column). These 2 tables are present in separate views (under same viewset).

Now initially I need to display some data in one of the tables when I display the screen for the first time (this I was able to achieve). Now if I double-click on any row of this table, I need to move the data present in that particular row to a different table present in the same screen.

Here is what I have achieved.

1) When I click on any row, I was able to capture the row index and the corresponding data in that row.

I put some code in the method EH_ONSELECT (present in the event handler) to get this working.

Now my question is

How can I move this captured data into a different table view?

I tried investigating on some of the methods such as do_prepare_output. But I am left with no clue on what coding needs to be done here.

Any help will be greatly appreciated.