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

checkbox

Former Member
0 Likes
858

How to make invisible the text box

from a module pool screen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
834

in PBO

Loop at screen.

if screen-name = your_fieldname.

screen.invisible = 'X'.

modify screen.

endif.

endloop.

8 REPLIES 8
Read only

Former Member
0 Likes
834

loop at screen.

case sceenfield,

when 'FIELDNAME'.

screen-invisible = 1.

endcase.

modify screen.

endloop.

Read only

Former Member
0 Likes
835

in PBO

Loop at screen.

if screen-name = your_fieldname.

screen.invisible = 'X'.

modify screen.

endif.

endloop.

Read only

Former Member
0 Likes
834

Hi Mahesh,

See this code,

Loop at screen.

if screen-name cp 'checkbox' . - - - - ( Here check box name )

screen-active = 0.

modifu screen.

endif.

endloop.

Reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
834

Hi,

in the pbo of the screen.

loop at screen.

if screen-name cp 'fieldname'.

screen-invisible = 1.

modify screen.

endif.

endloop.

Plzz reward points if it helps.

Read only

Former Member
0 Likes
834

Hi,

in the pbo of the screen.

loop at screen.

if screen-name cp 'fieldname'.

screen-invisible = 1.

modify screen.

endif.

endloop.

Plzz reward points if it helps.

Read only

Former Member
0 Likes
834

Hi,

To make screen modifications, we have to write a module in the PBO of the screen.

screen flow logic syntax :

module screen_modify.

In se38 program syntax:

module screen_modify output.

loop at screen.

if screen-name = textbox. "text box name in module pool

screen-input = 0.

screen-invisible = 1.

modify screen.

endif.

endloop.

regards,

kamala.

Read only

Former Member
0 Likes
834

Hi,

You can do thru PBO event of that screen where your checkbox is placed.

PERFORM hide_fields

Loop at screen.

IF screen-name = 'SOURCE'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

or you can assign some group to more than 1 fields on the screen in the properties of the fields in that screen. so that you can change the properties of that group fields simply thru

***PBO event**

FORM hide_fields

LOOP AT SCREEN.

IF screen-group4 EQ 'WHS'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Please reward points if helpful.

Thanks

Sivaparvathi

Read only

Former Member
0 Likes
834

thanks