2008 Apr 14 12:28 PM
Hello.
I get the error "Maximum number of internal sessions reached"
In my program I call another program, after the other program is executed I return to the main program. This requires no user interaction.
Now I think I've done something wrong because after running the program a few times it gives the error.
any idea how to solve this?
Greets
2008 Apr 14 12:32 PM
Call transaction is opening a new session every time you execute it hence at some point you run out of sessions.
Use LEAVE TO TRANSACTION instead. This will open a new session, but closing the old one hence you'll always have one active session only.
2008 Apr 14 12:32 PM
Call transaction is opening a new session every time you execute it hence at some point you run out of sessions.
Use LEAVE TO TRANSACTION instead. This will open a new session, but closing the old one hence you'll always have one active session only.
2008 Apr 14 12:45 PM
2008 Apr 14 12:59 PM
Hi,
Instead of CALL TRANSACTION tcode use LEAVE TO TRANSACTION tcode.
Regards
Raju chitale
2010 Jul 16 8:31 PM
BUt wont that bring us to the screen of teh transaction eneterd?
I am facing a similar issue and it is not automatic anymore.
leave to transaction 'VF01' and skip first screen.
* call transaction 'VF01' using bdc_tab options from lwa_bdcoptions
* messages into it_bdcmess .
When I chnage it to leave to from call ..it gives me the selection screen for the vf01 transaction.
Thanks
2008 Apr 14 12:35 PM
Hi,
You can reach maximum 6 sessions only.
So try to close other sessions if you don't use.
regards,
Bhanu