on 02-13-2007 2:29 PM
I am trying to automatically logon to my sap system using a script but I am not sure what is the best approach. Has anybody done this or am I cutting new ground here.
Hi!
I use sapshcut.
To see the parameters:
1. Windows-key+R
2. type sapshcut <space> /? <cr>
I've created a .cmd for each system I log into. Example: d.cmd (development system).
I then key Windows-key, type the letter 'd' and am then prompted for my password.
Best!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rich
Pl try the following:
In the cmd line pl type the following:
sapshcut -sysname=<aaaa> -client=900 -user=<username>
-pw=<user pwd> -command=<initial screen tcode>
sysname =description in the saplogonpad ie development or production etc.
client= client number like 100/200/900/000 etc.
username= user name in that client.
user pwd= password of the user .
initial screen tcode= the tcode where u want to be on logging on.
This works.
Pl dont forget to award a point
Let me know if this solves yr purpose.
NB: Pl remove the command fron the cache otherwise there is a chance of others knowing your password.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rich,
actually I don't know how to do a script based automatic logon, but there is a trick to create a (Windows) shortcut, that contains all the necessary logon informations for one system so you don't need to call SAP Logon and select one in the first place.
At least in my SAP Logon version it is supported in a separat tab (probably called Shortcuts), that creates a shortcut on the Desktop. You can even specify a transaction to call there.
Hope that helps,
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.