cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Shortcuts

jens_sabroe
Explorer
0 Kudos

Hi experts, we are investigating in Sap Shortcuts. We are calling transaction IW32 from an external program with dynamic order numbers.

The contents of the shortcut-file looks like this – in the external program we create this with dynamic order numbers on-the-fly.

[System]

Name=KAK

Description=11  KAK -  ERP/ISU Test I

Client=100

[User]

Name=JSP

Language=DA

[Function]

Title=Change Serviceorder 2000076

Command=*IW32 CAUFVD-AUFNR=2000076; DYNP_OKCODE=MUEB

[Configuration]

GuiSize=Maximized

WorkDir=C:\Users\jsp\Documents\SAP

[Options]

Reuse=1

Using this function we experience in SM04 that RFC sessions hangs even after users are logged off using these shortcut calls.

I have reviewed note 103019 - SAPShortcut Program parameters – which was a great help constructing the shortcut file, but no clues about the hanging RFC’s.

The shortcut file works perfect - so all parameters are ok.

Any experience with shortcuts out there ?

BR

Jens

Accepted Solutions (0)

Answers (2)

Answers (2)

jens_sabroe
Explorer
0 Kudos

Hi Jude, i raised the tracelevel to 3 and reviewed the tracefiles.

The result of numerous calls via the shortcut was the message:

Maximum number of sessions reached

     Message.nr. 14027

     The maximum number of external sessions has been reached. An external

     session corresponds to a GUI window. To create a new session choose

     System -> Create Session. The maximum number can be configured, and is

     usually set to 6.

After closing the visible sessions SM04 revealed 3 "lost" sessions.

The tracefiles shows no sign of any suspicious events.

Tracefiles are attached.

BR

Jens

jude_bradley
Advisor
Advisor
0 Kudos

Hello Jens,

So it seems there were too many session created. By default, the max number of sessions is 6 per user.

If you are using ITS (webgui), then refer to note 314568

Multiple Sessions and Inter Mode Communication (IMC)

SAP GUI for HTML doesn't support multiple sessions and IMC. Users

can only work within a single session. When a user tries to

create a second session, the system responds with the message "

Maximum number of sessions reached". If users want to work in

multiple sessions they have to do multiple logins

Regards,

Jude

jude_bradley
Advisor
Advisor
0 Kudos

Hello Jens,

Are there any errors with the shortcut trace itself?

You can right-click on the shortcut, go to "Edit", then select the "Options" tab, and select "Tracelevel 3"

and then try to recreate the issue again.

Let us know of any errors that might occur.

Make sure to delete any personal information that might be seen in the trace before attaching or showing  a screenshot.

Regards,

Jude