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 number of sessions reached within dynpro application

Former Member
0 Kudos
112

Hi,

I am programming an application which consists of a flow of dynpros. The starting point is the main program, which is assigned dynpro 1000 by default.

As i do sometimes need to get to the first screen (1000), and the sentence 'CALL SCREEN 1000' does not work, i am calling the transaction already included in the program.

When testing the application, if i go to the main screen several times, the 'CALL TRANSACTION' sentence is so used, and i get to a point when the system says the maximum of sessions have been reached.

I believe i am doing something wrong or i am just missing something.

Does anyone know how to sort this out?

Thanks!!

Diego

1 ACCEPTED SOLUTION

former_member589029
Active Contributor
0 Kudos
81

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.

Regards,

Michael

2 REPLIES 2

former_member589029
Active Contributor
0 Kudos
82

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.

Regards,

Michael

0 Kudos
81

Thanks Michael... that was a fast answer..

Regards

Diego