Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: Radio button issue

$
0
0

Hi Deepthi,

please see, if you wants to gets only some fields based on that radio button, and wants to get

other radio button fields disappeared, please change your code as shown below.

Lets say i have two radiobutton rad1 and rad2.

Then i will write my code as shown below

 

 

AT SELECTION-SCREEN OUTPUT.

   IF rad1NE 'X' .

 

     LOOP AT SCREEN.

       CASE SCREEN-GROUP1.

         WHEN 'modif id'.

           SCREEN-ACTIVE = 0.

           MODIFY SCREEN.

       ENDCASE.

     ENDLOOP.

     CLEAR : fields name.

   ENDIF.


IF rad2 NE 'X' .

 

     LOOP AT SCREEN.

       CASE SCREEN-GROUP1.

         WHEN 'modif id'.

           SCREEN-ACTIVE = 0.

           MODIFY SCREEN.

       ENDCASE.

     ENDLOOP.

     CLEAR : field name.

   ENDIF.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>