‎2011 Feb 17 11:31 AM
Hello,
I have a problem with at selection-screen output.
I do a screen selection with parameters, radio buton...
I want to hide a block with loop at screen
It's ok with double click on radio buttton, but I want to do this with a single click.
It is possible ?
Thank you
Thierry
‎2011 Feb 17 11:45 AM
Hi Richard,
Check the Program 'demo_sel_screen_user_command'
Regards,
Dhina..
‎2011 Feb 17 11:39 AM
Declare your radio-button with user-command like this
parameters: p_rsoc1 radiobutton group r1 user-command pc,
p_rsoc2 radiobutton group r1then at selection-screen event change your output display.
‎2011 Feb 17 11:42 AM
HI
PARAMETERS : LB TYPE CHAR10 VISIBLE LENGTH 3 AS LISTBOX USER-COMMAND LB,
VBELN TYPE c radiobutton group rb user-command ab
MODIF ID AA ,
matnr type c radiobutton group rb.
" If you specify USER-COMMAND it will trigger PBO with single Click
" This technique also works for LIST BOX and CHECK BOX as well
AT SELECTION-SCREEN OUTPUT.
break-point.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'AA' OR
* SCREEN-GROUP1 = 'BB' OR
* SCREEN-GROUP1 = 'CC'.
* SCREEN-INVISIBLE = 1.
* SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.Cheerz
Ram
‎2011 Feb 17 11:45 AM
Hi Richard,
Check the Program 'demo_sel_screen_user_command'
Regards,
Dhina..
‎2011 Feb 17 11:50 AM
HI,
Have you assigned user command to the radiobutton ? If not then assign. This will sove ur problem
Regards,
MAdhukar Shetty
‎2011 Feb 17 12:28 PM