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

no display command

Former Member
0 Likes
782

Hi All,

i have declared to radiobutton in my program . statement is like this.

parameters : drsalab radiobutton group g1,

vrsalab radiobutton group g1.

in my program i do not want to display these two radiobutton.

How i can do this . please help me.

Thanks

Dinesh

6 REPLIES 6
Read only

Former Member
0 Likes
663

Comment it out the code used for radio button.

Thanks,

Sriram POnna.

Read only

Former Member
0 Likes
663

If u dont want to display y have u declared it?

anyway this ll do...

PARAMETERS : rb1 RADIOBUTTON GROUP rad modif id id1,
             rb2 RADIOBUTTON GROUP rad modif id id1.

AT SELECTION-SCREEN OUTPUT.

      LOOP AT SCREEN.
        CASE screen-group1.
          WHEN 'ID1'.
            screen-active = 0.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.

Read only

Former Member
0 Likes
663

Hi,

parameters :

drsalab radiobutton group g1,

vrsalab radiobutton group g1.

at selection-screen output.

loop at screen.

if screen-name cp 'drsalab'.

screen-invisible = 1.

modify screen.

endif.

if screen-name cp 'vrsalab'.

screen-invisible = 1.

modify screen.

endif.

endloop.

Plzz reward points if it helps.

Read only

Former Member
0 Likes
663

Hi,

Go to Layout of the screen where you have the Radiobuttons ->

Click on Edit Icon ->

Double Click on the Radiobuttons ->

The Screen Painter Attributes screen will spring up ->

Go below in the Attributes section ->

Click Display Tab ->

Check Invisible checkbox.

Reward if helpful.

Read only

Former Member
0 Likes
663

Write the coding in Initialization as ...

parameters : drsalab radiobutton group g1,

vrsalab radiobutton group g1.

initialization.

loop at screen.

if screen-name = 'DRSALAB' or

screen-name = 'VRSALAB'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

Read only

Former Member
0 Likes
663

Hi dinesh thate,

Comment the two variables or else do the following

parameters : drsalab radiobutton group g1,

vrsalab radiobutton group g1.

at selection-screen output.

loop at screen.

if screen-name cp 'drsalab' or

screen-name cp 'vrsalab'.

screen-active = '0'.

modify screen.

endif.

endloop.

Reward if it is useful,

Mahi.