2008 Apr 30 9:16 PM
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
2008 Apr 30 9:29 PM
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
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
2008 Apr 30 9:21 PM
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
2008 Apr 30 9:22 PM
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.
2008 Apr 30 9:23 PM
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
2008 Apr 30 9:27 PM
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
2008 Apr 30 9:23 PM
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
2008 Apr 30 9:26 PM
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
2008 Apr 30 9:29 PM
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
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |