‎2008 Mar 21 6:51 AM
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
‎2008 Mar 21 9:09 AM
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.
‎2008 Mar 21 8:55 AM
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
‎2008 Mar 21 9:02 AM
Hi Srinivas,
Check whether in ur program there are using
AUTHORITY-CHECK statements and they are manipulating the screen fields.
Thanks Arjun
‎2008 Mar 21 9:02 AM
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
‎2008 Mar 21 9:09 AM
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.