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

regarding check box

Former Member
0 Likes
727

Hi Experts,

How can I Hide a check box?

Reagards,

Venkat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
709

Hi Venkat,

In which context u want that to be done....

In selection screen, u can try this ,

  REPORT ztest_cha1.

PARAMETERS : c1 AS CHECKBOX .

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-name EQ 'C1'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Edited by: Chandrasekhar Jagarlamudi on Jan 16, 2008 12:19 AM

Hi Venkat,

In which context u want that to be done....

In selection screen, u can try this ,

  REPORT ztest_cha1.

PARAMETERS : c1 AS CHECKBOX .

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-name EQ 'C1'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Edited by: Chandrasekhar Jagarlamudi on Jan 16, 2008 12:19 AM

6 REPLIES 6
Read only

Former Member
0 Likes
709

oops...

Edited by: Michael on Jan 15, 2008 5:57 PM

Read only

Former Member
0 Likes
709

You can do LOOP at SCREEN. Then within the loop set the field to invisible.

Read only

Former Member
0 Likes
709

Make it no-display.

Rob

Read only

Former Member
0 Likes
710

Hi Venkat,

In which context u want that to be done....

In selection screen, u can try this ,

  REPORT ztest_cha1.

PARAMETERS : c1 AS CHECKBOX .

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-name EQ 'C1'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Edited by: Chandrasekhar Jagarlamudi on Jan 16, 2008 12:19 AM

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
709

You can do something like this.



REPORT  rich_0001.

parameters: p_fld type c,
            p_chk as CHECKBOX default 'X'.

at selection-screen output.

  loop at screen.
     if screen-name = 'P_CHK'.
        screen-active = '0'.
        MODIFY SCREEN.
     endif.
  endloop.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
709

Rob is right.

just use NO-DISPLAY.

~goldie.