ā2016 Feb 24 8:40 AM
Hi Experts,
I have implemented a parallel processing logic inside a report. I created a FM and calling in using STARTING A NEW TASK IN GROUP addition. Inside this FM there is a RFC call to other system. when I am executing this report, I am getting pop-up s saying 'Maximum number of GUI sessions reached". Why is this pop-up coming. Is the number of parallel sessions are limited to number of maximum sessions that a user can open? I am not using any CALL SCREEN or CALL TRANSACTION inside the code.
thanks,
sankar.
ā2016 Feb 24 12:11 PM
You could use
call function 'TH_USER_INFO'
importing
act_sessions = act_sessions
max_sessions = max_sessions.
to prevent this error, read also 734205 - Remote GUI check in module TH_USER_INFO .
(Also check with RZ11 value of rdisp/max_alt_modes)
Regards,
Raymond
ā2016 Feb 24 2:52 PM
Hi Raymond,
RZ11 parameter has value 6. When I run the parallel process report, in SM50 I see there are 20 dialog WPs that are keep running. Then after some time I get this pop-up saying maximum SAP-GUI sessions reached. So what exactly is happening? Does the RFC call opens another session internally? If I understand the significance of RZ11 parameter,we can attach 6 user sessions to a single dialog WP. Am i right?
thanks,
sankar
ā2016 Feb 25 7:54 AM
Have you called the Function module inside a loop?
Paste your code to analyse further