Skip to Content
avatar image
Former Member

Jump from Custom Screen Field into ALV Field

Hello Community,

I am struggling with the following issue:

I have a custom transaction with one screen. First you type in your packing station and a delivery and then under the field for the delivery a ALV Grid appears, showing all main HUs of the delivery.
I want the cursor to jump from the delivery field into a certain field of the ALV after pressing enter. User should be able to make entries in this ALV field directly, without any interaction

If use grid->set_current_cell_via_id... the right ALV field gets marked yellow but the input is anyway in the delivery field. If I take set deliver field input = 0. in PBO it also doesn't get me the right behavior.

Please help.

Thanks,

Philipp

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 22, 2016 at 12:55 PM

    Set focus to the grid with a

     CALL METHOD cl_gui_control=>set_focus
       EXPORTING
         control = grid.

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded