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

Former Member
0 Likes
614

Hi all,

I know that I cannot modify the screen at the PAI, but is there another way to do it. Here's my problem, when the user executes the porgram I want all the fields to be output so that he cannot change anything on the screen.

Thanx for your help!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
591

Yes..you are correct..LOOP AT SCREEN..MODIFY SCREEN..ENDLOOP. will not work in PAI..

Use the same in PBO..You want all the fields to be disabled..right??Then code it in the PBO..The PBO event will be triggered before displaying the screen..

Thanks,

Naren

4 REPLIES 4
Read only

Former Member
0 Likes
591

Hi,

IN the PBO..do the following to disable all the fields..

LOOP AT SCREEN..

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDLOOP.

THanks,

Naren

Read only

0 Likes
591

not working...the Modify screen only works in the PBO, I want it to work in the PAI

Read only

Former Member
0 Likes
592

Yes..you are correct..LOOP AT SCREEN..MODIFY SCREEN..ENDLOOP. will not work in PAI..

Use the same in PBO..You want all the fields to be disabled..right??Then code it in the PBO..The PBO event will be triggered before displaying the screen..

Thanks,

Naren

Read only

0 Likes
591

Thanx!