Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_SALV_TABLES - triggering dynpro refresh

Former Member
0 Likes
1,597

Hi all!

I've got a small problem! I've created a simple dynpro that is divided by a docking container. The top area contains an ALV grid (class CL_SALV_TABLE). A mouse handler (a local class) is registered to handle a double click to the alv.

In the bottom area a subscreen will be included to display detail data about the selected row. My problem is, that the subscreen will be not refreshed when selecting a row in my alv! The mouse handler will be invoked and set the data in my dynpro strucutre, but the changes will not be displayed.

Can anybody help me??

Greetings,

Florian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
923

Double click event will trigger event and eventually call your double click method (handler).

It will not trigger you Selection-Screen PAI and PBO, so as to refresh you subscreen.

You may try to trigger PAI by setting dummy ok_code which you can handle in your PAI.

*   Trigger PAI
    CALL METHOD cl_gui_cfw=>set_new_ok_code
      EXPORTING
        new_code = e_ucomm.

This should refresh your subscreen area.

Regards,

Mohaiyuddin

Hi all!

I've got a small problem! I've created a simple dynpro that is divided by a docking container. The top area contains an ALV grid (class CL_SALV_TABLE). A mouse handler (a local class) is registered to handle a double click to the alv.

In the bottom area a subscreen will be included to display detail data about the selected row. My problem is, that the subscreen will be not refreshed when selecting a row in my alv! The mouse handler will be invoked and set the data in my dynpro strucutre, but the changes will not be displayed.

Can anybody help me??

Greetings,

Florian

2 REPLIES 2
Read only

Former Member
0 Likes
924

Double click event will trigger event and eventually call your double click method (handler).

It will not trigger you Selection-Screen PAI and PBO, so as to refresh you subscreen.

You may try to trigger PAI by setting dummy ok_code which you can handle in your PAI.

*   Trigger PAI
    CALL METHOD cl_gui_cfw=>set_new_ok_code
      EXPORTING
        new_code = e_ucomm.

This should refresh your subscreen area.

Regards,

Mohaiyuddin

Read only

Former Member
0 Likes
923

Wow, great! It works!

Thanks a lot!!