cancel
Showing results for 
Search instead for 
Did you mean: 

SAPLTHFB program MAX_SESSIONS raised

Former Member
0 Kudos

Hi Friends,

User is getting an exception for a program SAPLTHFB with an condition MAX_SESSIONS

he is asking whether  there is any parameter to modify to avoid the error?

Kindly help on this.

Regars,

Rajesh.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Are you running the program in the background ?

If in background then please check the below note.

1821224 - Wrong mode check during background execution

Please provide the system release and kernel version.

Thanks

Rishi Abrol

Former Member
0 Kudos

Customer is getting dump in st22

Runtime Errors         RAISE_EXCEPTION
Date and Time          09.12.2013 09:09:30
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short text                                                                                        |
|    Exception condition "MAX_SESSIONS" raised.                                                    |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened?                                                                                    |
|    The current ABAP/4 program encountered an unexpected                                          |
|    situation.                                                                                    |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What can you do?                                                                                  |
|    Note down which actions and inputs caused the error.                                          |
|                                                                                                  |
|                                                                                                  |
|    To process the problem further, contact you SAP system                                        |
|    administrator.                                                                                |
|                                                                                                  |
|    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
|    at and manage termination messages, and you can also                                          |
|    keep them for a long time.                                                                    |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error analysis                                                                                    |
|    A RAISE statement in the program "SAPLTHFB" raised the exception                              |
|    condition "MAX_SESSIONS".                                                                     |
|    Since the exception was not intercepted by a superior                                         |
|    program, processing was terminated.                                                           |
|                                                                                                  |
|    Short description of exception condition:                                                     |
|                                                                                                  |
|                                                                                                  |
|                                                                                                  |
|    For detailed documentation of the exception condition, use                                    |
|    Transaction SE37 (Function Library). You can take the called                                  |
|    function module from the display of active calls.                                             |
|    -                                                                                             |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|How to correct the error                                                                          |
|                                                                                                  |
|    If the error occures in a non-modified SAP program, you may be able to                        |
|    find an interim solution in an SAP Note.                                                      |
|    If you have access to SAP Notes, carry out a search with the following                        |
|    keywords:                                                                                     |
|                                                                                                  |
|    "RAISE_EXCEPTION" " "                                                                         |
|    "SAPLTHFB" or "LTHFBU25"                                                                      |
|    "TH_CREATE_MODE"                                                                              |
|                                                                                                  |
|    or                                                                                            |
|                                                                                                  |
|    "SAPLTHFB" "MAX_SESSIONS"                                                                     |
|                                                                                                  |
|    or                                                                                            |
|                                                                                                  |
|    "SAPMQEVA " "MAX_SESSIONS"                                                                    |
|    If you cannot solve the problem yourself and want to send an error                            |
|    notification to SAP, include the following information:                                       |
|                                                                                                  |
|    1. The description of the current problem (short dump)                                        |
|                                                                                                  |
|       To save the description, choose "System->List->Save->Local File                            |
|    (Unconverted)".                                                                               |
|                                                                                                  |
|    2. Corresponding system log                                                                   |
|                                                                                                  |
|       Display the system log by calling transaction SM21.                                        |
|       Restrict the time interval to 10 minutes before and five minutes                           |
|    after the short dump. Then choose "System->List->Save->Local File                             |
|    (Unconverted)".                                                                               |
|                                                                                                  |
|    3. If the problem occurs in a problem of your own or a modified SAP                           |
|    program: The source code of the program                                                       |
|       In the editor, choose "Utilities->More                                                     |
|    Utilities->Upload/Download->Download".                                                        |
|                                                                                                  |
|    4. Details about the conditions under which the error occurred or which                       |
|    actions and input led to the error.                                                           |
|                                                                                                  |
----------------------------------------------------------------------------------------------------

Former Member
0 Kudos

Hi,

Please read the below note that talk about the changing the value in case of IC.

1628185 - Reducing number of parallel IC sessions

710920 - CALL_FUNCTION_OPEN_ERROR for six external sessions

1498860 - Short dump with error message 'Maximum sessions reached'

1849854 - SE80: Breakpoint ignored in external session


Check which one suits you as i am not aware of the exact scenario.


Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Venkatesh Raju,

Are you getting the exception in Web dynpro runtime  environment

Regards

Ram