cancel
Showing results for 
Search instead for 
Did you mean: 

Open a SAPGUI transaction from a Java web application

Former Member
0 Kudos

Hi all,

We are in the process of developing a Java based web application with SAP J2EE engine - but not SAP Enterprise Portal. One of the requirements we have is from one of the web screens there needs to be a button which launches SAPGUI and take the user to a particular transaction in SAPGUI. The user is going to have SAPGUI installed on their desktop.

We were planning to user SAP Shortcut technique for launching the SAPGUI but the issue with that is the user has to logon each time ( even thought it is possible to have the password stored - even then there will be other messages that the user has to pass through before reaching the final transaction ). The users are going to have a number of items in the screen and they need to go through this for every item.

I was wondering if there is anyway this can done so that the user does not have to go through all these steps ( BTW, the user is already authenticated on the web application and so functionally done not have to be authenticated again).

ANy suggestions will be highly appreciated.

Regards

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gregor,

We do not want to do it through ITS currently. So, we are looking for a way to start the SAPGUI appropriately. In fact in SAP MAPI infrastructure - even though SAP is saying it will not support any further - this kind of functionality exists which allows the user to store the credential info and when the user opens the workitem, he/she will be taken to the SAPGUI with out explicitly having to login. So, I was wondering how that was being accomplished ... and wanted to see if we can do the same in our Java Web application.

Regards

Ravi

gregorw
Active Contributor
0 Kudos

Hello Ravi,

are you using a Windows 2000 Network? I yes you can configure Single Sign On through NTLM. Which is really easy to do. But I don't know how to open the local SAP GUI through the browser without Enterprise Portal. Perhaps someone else know.

Regards

Gregor

gregorw
Active Contributor
0 Kudos

Hello Ravi,

I think you can use SAP GUI for HTML provided by ITS to achieve this functionality. Do you use SAPSSO2 Logon Tickets? If yes, you can use them to provide Single Sign On to the ITS.

Regards

Gregor

Former Member
0 Kudos

Hello Gregor,

SAPGui is inatalled on each user box, we can launch the SAPGui thick client from an iview (to run on a seperate window).

How can I pass (R/3 logon) parameters to the SAPGui command line?

Thank you

AAAttar

eg:

would a batch file with saplogon then sapgui work?

DOS command prompt [CMD]

>saplogon.exe -user=... -password=... -system=QAS123 -client=001 -tcode=session_mananger

>SAPGui.exe...

gregorw
Active Contributor
0 Kudos

Hello,

if you have a Windows 2000 Network you can configure Single Sign On through NTLM. Which is really easy to do.

Regards

Gregor

Former Member
0 Kudos

Right Gregor, but we are on HP-UX, R/3 user mapping and authentication.

Any idea how to pass the parameters?

Regards,

AAAttar