Application Development 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: 

Controls: Raise SY-UCOMM via keyboard

Former Member
0 Kudos

Hello

I have a control e.g. ALV_GRID or ALV_TREE and I made my own buttons in the toolbar.

Now the client wants that he can raise the function by pressing a function key on the keyboard (F5, F6, ...) .

The only solution I figured out is to register the functions in the status from the dynpro. (SET PF-STATUS)

Is this the way?

There is an other problem: If you create a popup with the class cl_gui_dialogbox_container you will loose the connection to the status of the dynpro even if you put the exporting parameters repid and dynnr.

The only time it works is when the created popup was not with the method set_focus.

Thanks

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Erich!

For your first question: in general yes. For some more explanation, have a look at the documentation of FM REUSE_ALV_LIST_DISPLAY, here handling of own status is described.

Regards,

Christian