Application Development and Automation 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: 
Read only

Problem with at selection-screen output

Former Member
0 Likes
1,380

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
769

Hi Richard,

Check the Program 'demo_sel_screen_user_command'

Regards,

Dhina..

5 REPLIES 5
Read only

Former Member
0 Likes
769

Declare your radio-button with user-command like this

parameters: p_rsoc1 radiobutton group r1 user-command pc,
                    p_rsoc2 radiobutton group r1

then at selection-screen event change your output display.

Read only

Former Member
0 Likes
769

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

Read only

Former Member
0 Likes
770

Hi Richard,

Check the Program 'demo_sel_screen_user_command'

Regards,

Dhina..

Read only

Former Member
0 Likes
769

HI,

Have you assigned user command to the radiobutton ? If not then assign. This will sove ur problem

Regards,

MAdhukar Shetty

Read only

Former Member
0 Likes
769

Hello,

Thank you for all.

It is ok

Thierrry