2006 Aug 04 3:42 PM
In screens we must not use a field.It must remain visible but not modifiable How do I do it.
2006 Aug 04 3:44 PM
2006 Aug 04 3:44 PM
2006 Aug 04 3:45 PM
Hi Sadhik,
if v_ucomm = 'DISPLAY'.
loop at screen.
screen-input = 0.
modify screen.
endloop.
endif.
regards,
keerthi.
2006 Aug 04 3:45 PM
Hi,
In the PBO write :
LOOP AT SCREEN.
IF SCREEN-NAME = 'FIELD-NAME'.
screen-input = 0.
endif.
modify screen.
ENDLOOP.
Best regards,
Prashant
2006 Aug 04 3:45 PM
in the attributes of that field,
OUTPUT check this box.
remove Check box for INPUT FIELD
regards
srikanth
2006 Aug 04 3:45 PM
2006 Aug 04 3:46 PM
Hi,
There are two ways of doing this:
1. In the screen painter, click the field and you`ll get the attributes window. Navigate to the bottom of the screen and you`ll find the check box output only. Click the check box and this field is statically defined only as a output field.
2. If you want to do the same functionality dynamically in the program, in the PBO module use the following code :
loop at screen.
if screen-group1 = 'G1'.
if screen-name = 'FIELD'.
screen-input = '0'.
modify screen.
endif.
endif.
*** Prerequisite is you`ll have to maintain the screen group and field name in the screen painter (attributes).
Hope this really helps your objective.
Reward if helpful.
Regards
2006 Aug 04 3:46 PM
hi sadhik,
in the properties window of the i/o field, check the option <b>OUTPUT ONLY</b>
2006 Aug 04 5:09 PM
But the option OUTPUT ONLY is not highlighted since the screen is a check box I think.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |