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: 

trigger event in a screen without press F8

Former Member
0 Kudos

Hi expert,

in a simply screen with parameter ( se38 ), is possible to trigger an event when i click on a checkbox, so without press F8 ??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

try event


AT SELECTION-SCREEN

sample program


SELECTION-SCREEN:BEGIN OF BLOCK b1.
PARAMETERS : p_1 TYPE c AS CHECKBOX USER-COMMAND fcode.
SELECTION-SCREEN:END OF BLOCK b1.

AT SELECTION-SCREEN.
  IF p_1 = 'X'.
    MESSAGE  'CHECKBOX selected' type 'I'.
  ENDIF.

Edited by: mrugesh phatak on Sep 30, 2008 10:23 AM

2 REPLIES 2

Former Member
0 Kudos

try event


AT SELECTION-SCREEN

sample program


SELECTION-SCREEN:BEGIN OF BLOCK b1.
PARAMETERS : p_1 TYPE c AS CHECKBOX USER-COMMAND fcode.
SELECTION-SCREEN:END OF BLOCK b1.

AT SELECTION-SCREEN.
  IF p_1 = 'X'.
    MESSAGE  'CHECKBOX selected' type 'I'.
  ENDIF.

Edited by: mrugesh phatak on Sep 30, 2008 10:23 AM

Former Member
0 Kudos

use USER-COMMAND like

Parameters:
  char1 as checkbox user-command fcode.

At selection-screen output.

  IF char1 = 'X'.
      ................
  ENDIF.

With luck.

Pritam.