‎2012 Mar 16 2:39 PM
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?
‎2012 Mar 17 3:07 AM
‎2012 Mar 17 5:42 AM
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