Application Development 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: 

Maximum Internal Sessions Reached

marvin_cole
Newcomer
0 Kudos
283

We are getting a error 'Maximum number of internal sessions reached'. This is the result of some of our processes that allow the users to navigate from one transaction and process to another. Within some of these processes, BDC's are performed. As a result of the BDC executing, an extra internal session is created. I would like to be able to pop that extra session off of the memory stack, thereby freeing up an internal session for futher processing. I have found plenty of documentation as to why this happens but nothing on how to programatically delete an internal session other than leave the current program.

3 REPLIES 3

Sm1tje
Active Contributor
0 Kudos
76

Not sure if this will work, but you can debug transaction SM04 in which a session of a certain user can be deleted. Maybe you will come across a function module that does the trick.

Former Member
0 Kudos
76

Hi Marvin,

maybe you can use FM TH_DELETE_MODE.

Regards

Markus

former_member1245113
Active Contributor
0 Kudos
76

Hi,

This may not be a good option but we can give a try!!!!!!

You can ask your BASIS team increase the parameter Value for no of Internal Sessions.

also avoid CALL TRANSACTION, SUBMIT and return if possible as these would create internal Sessions.

/BDL/_DELETE_SESSION_TASK Check this FM

Cheerz

Ram