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

parallel processing maximum sessions error

Former Member
2,675

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.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,292

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

Read only

0 Likes
1,292

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

Read only

ThangaPrakash
Active Contributor
0 Likes
1,292

Have you called the Function module inside a loop?

Paste your code to analyse further