Application Development and Automation 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:Ā 
Read only

Maximum internal session reached

Former Member
0 Likes
1,001

Hi all,

I have 5 dialog programs which share the same PF-STATUS, so they have same application toolbar (few icons), which make them can navigate among each other.

My problem arise during navigation in which it eventually "Maximum internal session reached" will occur since too many transaction being called.

I cannot user"Leave to transaction" as it will delete all the internal sessions in stack in which when I click back, it will exit the program, same goes to Submit program statement. Any suggestion to keep the last internal session only so that maximum internal sessions wouldn't reach and these t-code can navigate among each other without any problem? Below are my user-command code for all the first screen in all 5 t-code.

CASE ok_code.

     WHEN 'BACK'.

       LEAVE TO SCREEN 0.

     WHEN 'EXIT'.

       LEAVE PROGRAM.

     WHEN 'CREATE'.

       CALL TRANSACTION 'ZIP_RFQ_01'.

     WHEN 'DISPLAY'.

       CALL TRANSACTION 'ZIP_RFQ_02'.

     WHEN 'CHANGE'.

       CALL TRANSACTION 'ZIP_RFQ_03'.

     WHEN 'MAINTAIN'.

       CALL TRANSACTION 'ZIP_RFQ_04'.

     WHEN 'QUOTATION'.

       CALL TRANSACTION 'ZIP_RFQ_05'.

     WHEN 'REPORT'.

       SUBMIT zalv_report_04 VIA SELECTION-SCREEN.

   ENDCASE.

Any suggestion is welcomed, thanks. I have come across an idea to use ABAP memory to solve this, will that work?

2 REPLIES 2
Read only

Former Member
0 Likes
511

any idea, guys? your suggestion will be deeply appreciated.

Read only

Former Member
0 Likes
511

Hi,

Instead of CALL TRANSACTION tcode use LEAVE  TO TRANSACTION tcode

For more information see the below link

http://scn.sap.com/thread/821118

Also see the following SAP notes,,

Note 329835 - Maximum number of internal sessions reached

Note 34154 - Maximum number of internal sessions reached

Regards

Bhuban