05-05-2010 6:01 PM
Hi Everybody,
There is an user that when he tries to log on in SAP System he cant and he got the dump TIME_OUT.
I noticed that when i include a role X to the user the problem occurs, when i remove the role and include the role Y he can log on normaly.
So i concluded that the problem is the role X, how can i check what is the problem in the role X?
Is There a way to trace the user when he is tryng to log in?
I checked in SM50 transactions the reports running but they are OK by SE38.
Best Regards
Fábio Tchobnian
05-06-2010 7:08 PM
Fio,
Go into role X under authorizations. Open up Basis:Administration. Look at the Authorization for GUI activities and see if you have a code there in place. Hope this helps.
05-05-2010 7:19 PM
if i go by your case then i feel the problem is with the loading of the user menu.
did you analysed the dump properly it will give you the code line where the execution is failing. then possibly debugging the program with a developer will help you sort out the problem.
05-05-2010 7:25 PM
The dump did not show the name of the program
Please see the DUMP analisys
Short text
Time limit exceeded.
What happened?
The program "????????????????????????????????????????" has exceeded the maximum
permitted runtime without
interruption and has therefore been terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
After a specific time, the program is terminated to make the work area
available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If thi
time limit is
exceeded, the system attempts to cancel any running SQL statement or
signals the ABAP processor to stop the running program. Then the system
waits another 60 seconds maximum. If the program is then still active,
the work process is restarted.
05-06-2010 4:35 AM
Hi,
I guess the TIME_OUT is occuring as it might be taking long time to load the user menu for the user after login since they might be large number of TCodes in the role or there are roles with larger number of TCodes in it assigned to user.
Hence check the role X and also check if the same problem is happening with other user also if you assign role X to him/her. If it is the case then check whether to increase the parameter value rdisp/max_wprun_time from 600 to some 1200 or check for the possibility of splitting the role X
Thanks & Regards,
Sharath
05-06-2010 4:36 AM
Hi,
rdisp/max_wprun_time = 600
Try increasing the value of above instance profile parameter from 600 to 1200.
(Dont forget to restart SAP after parameter changes)
Regards.
Rajesh Narkhede
05-05-2010 7:41 PM
05-06-2010 6:45 AM
Hi,
Try to remove usermenu to that user and try. Also try to remove session_manager tcode to this user.
To remove sapmenu and user menu to this user;
go to SM30, table ssm_users, then check his name and remove user menu to the user.
then try the prob should not come again
Regards,
Kishore Soma
05-06-2010 7:08 PM
Fio,
Go into role X under authorizations. Open up Basis:Administration. Look at the Authorization for GUI activities and see if you have a code there in place. Hope this helps.
05-07-2010 12:31 AM
Hi All
sharath Babu,
The role x has A lot of TCODES (12.869 )
Increase the parameter rdisp/max_wprun_time = 600
is not a good solution because the problem is
not happening to all users and it will affect all users.
I tried to include the role to another user and the problem happens again.
We could revise the role but this is not the solution that we want.The role had a lot
of transactions
Kishore Soma ,
I enter in transaction SM30 , table USERS_SSM and the table is empty.
Are there another place to check the menu for an individual user?
Mike Ruth ,
The value of the object S_GUI is * . Are there another object to see?
Everybody
Thanks for the help
Anybody have a procedure to debug? Where can i find it?
Best Regards,
Fábio Karnik Tchobnian
05-07-2010 4:48 AM
Hi,
SO one thing is clear that problem is with the role only and can you let me know why there are (12.869) roles in a role. With this now you cannot assign role to any users as it will not login since the parameter value is 600 only. So, firstly as suggested by Mr. Kishore go to SM30 and open the table USERS_SSM for maintenance and then click on New Entries. Select the user ID for which you want to assign the role X. Then tick on SAP Menu which allow only SAP menu for user and try if user can login.
If this does not work then only two options left is increasing the parameter or splitting the role.
Regards,
Sharath
05-07-2010 10:32 AM
This is certainly not a problem with timeout... moved to Security Forum
Regards
Juan
05-07-2010 7:07 PM
Tks everybody,
I included the user in SSS_USERS table by SM30 and selected just the SAP Menu.
The problem was solved.
Best Regards,
Fábio Karnik Tchobnian
05-07-2010 6:11 AM
Dear Friend,
If u got issue ABAP runtime error then go Transaction RZ10 change the system profile parameters
rdisp/wp_run_time = 1200 u can set it will take 1200 seconds.
Regards
kesavan