Skip to Content
0
Feb 10, 2010 at 10:34 AM

Radiobutton value in AT SELECTION-SCREEN ON VALUE REQUEST

2354 Views

Hi, I have a radiobutton to choose if the user wants to upload or download a file. And then a file parameter for the path. My problem is that in F4 help for path the value of the radiobutton selected is not updated.

The logic is the following (in the AT SELECTION-SCREEN ON VALUE-REQUEST p_up = 'X' always!)

PARAMETERS: p_up   RADIOBUTTON GROUP rbg1 DEFAULT 'X',
            p_down RADIOBUTTON GROUP rbg1.
            p_file TYPE file_name OBLIGATORY.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.

  CASE 'X'.
    WHEN p_up.
      PERFORM up_dialog CHANGING p_file.
    WHEN p_down.
      PERFORM down_dialog CHANGING p_file.
  ENDCASE.