Skip to Content
author's profile photo Former Member
Former Member

Disable Radio button based on T-code

There is one selection screen with two t-codes assigned to it. When the first is run , the selection screen should display the radio button and when the second t-code is run , the screen should hide the radio buttons and also disable them .

How to do this ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2007 at 09:38 PM

    Like this:

    REPORT ztest MESSAGE-ID 00.
    
    PARAMETERS    : r_1     RADIOBUTTON GROUP rad   MODIF ID nch,
                    r_2     RADIOBUTTON GROUP rad   MODIF ID nch.
    
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'NCH'.
          IF sy-tcode = 'SE38'.
            screen-invisible = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.