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

module pool screen fields are inactiv

Former Member
0 Likes
540

hi all ,

i have one module pool program .

when i run the transaction with one user id , its working fine

with field are enabled for the input .

but when i run the transaction with diffrent user id , all fields are disabled for input .

what may the problem .

please somebody help me .

thnks in advance .

regards .

srinivas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

Hai,

If in the PAI module of the field statement, there is a statment

if sy-uname = 'XXXX'.

*----validation of the field

endif.

then it will be validated for that userid and the field is enabled for that userid when error occurs.

Also that if the field is validated in any other event other than the

at selection-screen event the field is not enabled when error occurs.

reward if useful.

4 REPLIES 4
Read only

Former Member
0 Likes
519

Hi.

Please have a look in your source code .Are there any conditions that may impact to screen properties.

LOOP AT screen.

*--- IF sy-uname = 'USER1' or sy-tcode = 'ZPROGRAM' something likes this

IF screen-name = 'XXX'.

screen-input = 1.

MODIFY screen.

ENDIF.

ENDLOOP.

Hope it help.

SayC

Read only

Former Member
0 Likes
519

Hi Srinivas,

Check whether in ur program there are using

AUTHORITY-CHECK statements and they are manipulating the screen fields.

Thanks Arjun

Read only

Former Member
0 Likes
519

Check the source code of the transaction whether it has enabled the fields for input only for a specific user.

What is the transaction that both the user are trying to run - is it a standard SAP one?

Thanks,

Balaji

Read only

Former Member
0 Likes
520

Hai,

If in the PAI module of the field statement, there is a statment

if sy-uname = 'XXXX'.

*----validation of the field

endif.

then it will be validated for that userid and the field is enabled for that userid when error occurs.

Also that if the field is validated in any other event other than the

at selection-screen event the field is not enabled when error occurs.

reward if useful.