Disabling screen elements on a selection screen

Hello all!
How can one disbale/enable radio buttons on a standard selection screen, like the one created for a report?
The screen looks like:
Radio buttons 1,2, and 3 are in the same group G1.
Radio button 1
Radio button 2
Radio button 3
There is another radio button group G2, that has 3 other radio buttons.
I want to enable the user to be able to select radio buttons from G2 only if they have selected radio button 3.
I have tried the available AT SELECTION-SCREEN statements but with no luck.
Thanks for all your help.
Ahmed

Hi
Just the guys said to you, u need to change the attribute of selection-screen in the event AT SELECTION-SCREEN OUTPUT, but u need to assign an OK-CODE to the radiobutton of group1, in this way after pressing a radiobutton the event will be triggered automatically.
So your modification should be like following code:
PARAMETERS: r1 RADIOBUTTON GROUP g1 default 'X' USER-COMMAND AAA,
            r2 RADIOBUTTON GROUP g1,
            r3 RADIOBUTTON GROUP g1.
PARAMETERS: r4 RADIOBUTTON GROUP g2 DEFAULT 'X' MODIF ID 001,
            r5 RADIOBUTTON GROUP g2             MODIF ID 001,
            r6 RADIOBUTTON GROUP g2             MODIF ID 001.
AT SELECTION-SCREEN OUTPUT.
  case 'X'.
    when r3.
    when r1 or r2.
      loop at screen.
        if screen-group1 = '001'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
  endcase.
Max

Similar Messages

  • How to disable a pushbutton created in selection screen.

    How to disable a pushbutton created in selection screen.

    you can make it invisible during runtime.
    At the event,  AT SELECTION-SCREEN OUTPUT. you can turn attributes on and off for screen elements.  In this case, invisible = 1, makes the element invisible, 0 makes is visible.
    here is a short sample.
    report zrich_0001.
    parameters: p_check type c.
    selection-screen pushbutton 40(20) gocfg
                         user-command gocfg.
    at selection-screen output.
      loop at screen.
        if screen-name = 'GOCFG'.
          screen-invisible = '1'.
          modify screen.
        endif.
      endloop.
    Regards,
    Rich Heilman

  • Enable disable screen elements..

    hi,
    at runtime, say for e.g. i want to enable or disable screen elements, like text boxes. also i want to check/uncheck the checkbox..what r the statements ?
    where do i get the list of properties of the screen elements that i can set/reset ?
    thks

    hii
    here p_docno is individual screen element in above thread  there you need to give your screen element name and there is a condition like
    if p_rad1 is not initial..at this place use your codition like in below code for create and for modify radiobutton is there and see the code..like this you can use while you press button for CREATE and MODIFY.
    just you need to use button at that place like
    when 'CREATE'..or when 'MODIFY'.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS p_rad1 TYPE c RADIOBUTTON GROUP gr  DEFAULT 'X'
    USER-COMMAND
    usr .
    SELECTION-SCREEN COMMENT 3(16) text-005.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS p_rad2 TYPE c RADIOBUTTON GROUP gr.
    SELECTION-SCREEN COMMENT 3(16) text-006.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS:
      p_num1 TYPE i MODIF ID num,
      p_num2 TYPE i MODIF ID num,
      p_char1 TYPE c MODIF ID chr,
      p_char2 TYPE c MODIF ID chr.
    AT SELECTION-SCREEN output..
    if p_rad1 is not initial.
        LOOP AT SCREEN.
           IF screen-group1 = 'NUM'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
          IF screen-group1 = 'CHR'.
            screen-input = 1.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN.
      ELSE.
        LOOP AT SCREEN .
           IF screen-group1 = 'NUM'.
            screen-input = 1.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
          IF screen-group1 = 'CHR'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN .
      ENDIF.                               " IF p_rad2 IS INITIAL .
    i hope it helps you.
    regards
    twinkal

  • How to disable screen saver altogether ?

    I'd like to disable screen saver so that my screen goes black during non use (especially at night). Just don't seem to find the right place to do just that
    Thanks

    Go to System Preferences > Energy Saver and under the Sleep tab is the selection for putting the display to sleep when the computer has been inactive for selected period of time.
    If you select the screen saver to run after 15 minutes, you can select 1hr to put the display to sleep as an example.

  • Cannot disable screen lock on my galaxy 4

    When my Galaxy 4 was purchased I could disable the screen lock feature by selecting "None" from the various screen lock choices. Now, the "None" choice is not shown. Is there another way to disable screen lock?

    THat is rather strange the option for none is no longer in there. Have you recently downloaded any new software or applications? In case you need it, here are the instructions for disabling the lock screen  http://spr.ly/6-17NzGL Lets restart your phone and give this a try. Let me know what happens.  BryanS_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • My ipod is disabled i put it in recovery mode pluged it in itunes and it keep cutting off and going to the disabled screen what do i do

    my ipod is disabled i put it in recovery and hooked it up to itunes and pushed restore it would start downloading then after a while it cuts off and goes to the disabled screen what do i do to fix this i cant put my password in cause it wont let me
    P.S. i really need help my mom is getting really mad that i cant fix it

    Try placing in DFU mode and then restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Getting disabled screen on ipod not synced to a computer

    I have an ipod touch that was locked to the disabled screen since the wrong pass code  was entered. The ipod was never synced to a computer. The disabled screen tells me to connect to itunes. When I do that itunes tells me to enter the pass code. How do I get around this?

    Place the iPod in Recovery mode and connect to a computer and restore via iTunes.

  • "Disable Screen Saver" hot corner no longer prevents Display Sleep

    I am not sure whether it started only after I upgraded to 10.5.7, but I certainly have this very annoying issue right now.
    I have "Disable Screen Saver" assigned to the top right "hot corner". Some time ago I could place my mouse pointer there in order to prevent activating of "Display Sleep" (as well as gradually dimming before jumping into bed).
    It no longer works. I have my pointer in the right corner, and nevertheless the display first dims, then goes to sleep.
    Is this only my problem? Any ideas how to fix it? Thanks!

    Anybody?

  • HT1212 how do i fix the red disabled screen

    my homie locked me outta my ipod touch he set up a password then disabled it what do i do i cant even fix it in itunes

    Place the iPod in Recovery Mode and restore via iTunes.
    iOS: Wrong passcode results in red disabled screen
    If not successful, try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How to disable screen rotation in ios7 ?

    how to disable screen rotation in ios7 iphone 4s

    Swipe UP from the bottom edge of the screen (you will see the Control Center), tap the top left icon next to the Crescent to lock/unlock screen orientation.

  • HT1212 This is not working for me, I've tried 5times. Half way the download, the disable screen appears

    I have done the restore instructions 5 times and all 5 times the disable screen shows half way thru the download.

    3194
    See the actions for that error here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    iPhone Error 3194 - How to Fix iTunes Error 3194?
    Fix Error 3194 from iTunes during iPhone restore

  • How do I disable Screen Scaling?

    I have my screen scaled to 125% in Windows which seems to distort and mess-up Flash CC 2014's interface.
    For example:
    You can see in the image how it has scaled images and icons poorly which wouldn't be so bad if it scaled the rest of the interface to match the size. This results in things being cut off and sometimes inaccessible.
    Additional Information: I set my scaling to 100% in Windows to check it was that and the interface came out fine, but I cannot do that normally as it makes a lot of other things unusable. Photoshop and the like run fine under any scaling.
    Thanks for any help

    Hi,
    You can disable screen scaling in the properties dialog of the app(Flash.exe).
    Go to the installed folder of Flash (C:/ProgramFiles/Adobe/Adobe Flash CC 2014) and locate Flash.exe.
    Right click on the exe and invoke properties dialog
    In the properties dialog go to compatibilty tab>Settings and check the option "disable scaling on HidDPi setting" and try.
    Hope this helps.
    Thanks,
    Sangeeta

  • HT1212 how do you put a phone a recovery mode after a a iPhone disabled screen pops up

    HOw do I put my phone into a recovery mode after a iphone 4 disabled screen pops up?

    At the end of the KB article you just read you will find this link that explains it:
    iOS: Unable to update or restore

  • Disable screen lock on macbook pro running lion

    How can I disable screen lock?

    You've lost me. What screen are you in? There is no choice to change the password in security settings unless you're messing about with the Master password option. You just need to click the padlock in the red circle and enter a valid Admin user password:

  • How do i get my iphone to get off the disabled screen when i turn it on

    when i turn on my iphone it goes straight to disabled screen how do i unlock it

    http://support.apple.com/kb/ht1212

  • Disable screen fields

    I required help to disable screen fields when User command runs in PBI not in case of PBO. Pl. help.
    vikas

    Hi,
    PBI? assuming PAI...
    u can disable filed useing :
    loop at screen.
    if screen-name = '<ur_fld_name>'.
    screen-input = 1. "or may be 0
    modify screen.
    endif.
    endloop.
    Jogdand M B

Maybe you are looking for