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

Screen Painter

Former Member
0 Likes
780

Hi all,

I have a small question :

I have a screen # 520 which has got few element list...if I want that a particular element should not get displayed whn that particular screen is being called then to do this I think we need to uncheck the input and output option for that particular item in the screen painter. Am i right?

Please guide me through

Rajeev Gupta

Edited by: Rajeev Gupta on Apr 30, 2008 10:16 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
761

Hello Rajeev,

On the element Screen attributs Display tab there is a check box for the Invisible. Use that field for your requirement.

Thanks,

Greetson

7 REPLIES 7
Read only

naimesh_patel
Active Contributor
0 Likes
761

You can give the screen group and use the screen-active = 0 for that field.

Like:

1. Assign GP1 in the screen group for that field. If you want to remove more than one field at a time than assign the same group in both the fields.

2. In your PBO, write this code


LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'GP1'.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
  ENDIF.
ENDLOOP.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
761

input an doutput check box controls, whether that field is an input enabled field or not.

to make it visible/invisible ... you can do it in the pbo of screen.

loop at screen.

if screen-name = ' your fieldname'.

screen-invisible = 1.

modify screen.

endloop.

Read only

rodrigo_paisante3
Active Contributor
0 Likes
761

Hi,

Yes. You need to check/uncheck the option to show the field (or not) in screen.

Look for Visible check box, change it and test.

Regards

Read only

0 Likes
761

Thanks for the reply,

I think I can achieve this under the Display attribute...there is one tab which says Invisible and I think if I check it infront of the field I am looking for then I think this won't display and also there are three options and I want to hide two of it and want that the third one should trigger automatically. is it possible

Read only

Former Member
0 Likes
761

Hi,

Set a flag(Global variable) which will hold the value say 'X' if the elements need to be display on screen 520(say).

If that flag is not set - in the PBO of thta screen, u can put -

pbo of screen - 520.

if flag = ' '.

loop at screen.

if screen-name = 'control name'.

screen-nooutput = 1.

modify screen.

endif.

endloop.

endif.

<REMOVED BY MODERATOR>

Thanks,

Sheel

Edited by: Alvaro Tejada Galindo on Apr 30, 2008 4:25 PM

Read only

Former Member
0 Likes
761

Hi Rajeev,

You are wrong. Input means that allows for user data entry . We can enter input, Out put means it is only for display purpose and not editable. Both cases the element will be visible on the screen.

Hope it helps.

Thnaks,

Greetson

Read only

Former Member
0 Likes
762

Hello Rajeev,

On the element Screen attributs Display tab there is a check box for the Invisible. Use that field for your requirement.

Thanks,

Greetson