‎2009 Nov 24 2:32 PM
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.
‎2009 Nov 24 4:43 PM
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.
‎2009 Nov 25 9:04 AM
‎2009 Nov 25 9:20 AM
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