cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message-"Maximum number of internal sessions reached"

0 Kudos

Hi All.

I have the code to get SO (Sale order) on sap gui, my code is normal from line 1 to 6 on excel (loop code) (Image 1)

Image 1

But when my code run to line 7 and over on excel, My code is error (Image 2): maximum number of internal sessions reached.

And this is my code line 61 char 1

Please help me?

Truong from Vietnam.

Thanks very much.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_schnell
Active Contributor
0 Kudos

Hello Truong,

I assume you open for each Sales Order a new session. You have the possibility to set the maximum number of open sessions via the TAC RZ11. Open this transaction and type the parameter name rdisp/max_alt_modes. The standard is 6 but you can set it e.g. to 16, here an example:

Also you have the possibility to use one session for your activities. All you have to do is to set the open session command outside your loop and to reinitialize your TAC.

Let us know your results.

Cheers
Stefan

0 Kudos

Thank Stefan Schnell Very much.

Answers (0)