Transport data between itab and textfield on ALV event

Posted on 16th Feb 2014 by admin

Hallo,

I have a ALV Grid ( cl_gui_alv_grid ) and I also have hotspot click event with a handler class. Under the ALV Grid I have different textfields and radiobuttons where you should define additional information to one record of the ALV.

Now I want the following use - case:

If I click on a record in ALV, the dynpro should load the additional information from the itab and put it into the textfields. Now the user can change the information.
If I "leave" the record when I click on another record, he should save the additional information to itab from the textfields and load the information of the new clicked record and bring this to the textfields.

I work with the command TABLES to get the values, but my problem is, the table is only updated if the PAI is activated. During my ALV Event, no data will transported between the table and the dynpro.

Do you have any idea how I can solve this issue?

Thanks

Other forums