2008 Feb 14 12:19 PM
Hello,
I want to set invisible property of a screen element true, that is I do not want to see it after 2 minutes.
How can I do that?
Thanks.
Hello,
I want to set invisible property of a screen element true, that is I do not want to see it after 2 minutes.
How can I do that?
Thanks.
2008 Feb 14 12:23 PM
Hi Deniz Toprak,
see this code for invisible a field ( This for half minute )
This code de active the field in half minute
PARAMETERS P_NAME.
DATA TIME TYPE SY-UZEIT.
DATA FLAG.
DATA DIFF TYPE I.
At selection-screen output.
IF FLAG IS INITIAL.
TIME = SY-UZEIT.
FLAG = 'X'.
ENDIF.
DIFF = SY-UZEIT - TIME.
IF DIFF > 30.
Loop at screen.
if screen-name cp 'P_NAME'.
screen-ACTIVE = 0.
modify screen.
ENDIF.
Endloop.
ENDIF.
<REMOVED BY MODERATOR>
Mahi.
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 11:02 AM
2008 Feb 14 1:07 PM
Hi Maheswari Chegu,
Thanks.
My program is a module program, not a report.
Where should I put these code?
Thanks again.
deniz.
2008 Feb 14 1:21 PM
Hi,
W_F1 TYPE C.
module pbo .
IF W_f1 is not initial.
LOOP AT SCREEN.
if screen-name cp 'P_N1'.
screen-active = 0.
modify screen.
clear w_f1.
ENDIF.
ENDLOOP.
ENDIF.
module pai.
IF W_F1 IS initial.
wait up to 120 seconds.
W_F1 = 'X'.
ENDIF.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 11:02 AM
2008 Feb 14 12:40 PM
2008 Feb 14 12:42 PM
Hi,
parameters:
p_name(10) type c,
p_n1(10) type c.
DATA:
W_F1 TYPE C.
at selection-screen output.
IF W_f1 is not initial.
LOOP AT SCREEN.
if screen-name cp 'P_N1'.
screen-active = 0.
modify screen.
clear w_f1.
ENDIF.
ENDLOOP.
ENDIF.
at selection-screen.
IF W_F1 IS initial.
wait up to 120 seconds.
W_F1 = 'X'.
ENDIF.
for this we have to trigger some action on the screen
other wise it will remain as same.
hope it helps to u......
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |