Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Save Password in Logon shortcut

Former Member
0 Kudos

Dear Experts,

I am trying to create a logon shortcut but the password field getting disabled while other like user code is accepting entry. How can I save password in this field?

As It is required to pass one of our machine parameter to SAP by auto logon.

Any help will be appreciable.

Regards

Rajiv singh.

1 ACCEPTED SOLUTION

faisal_altaf2
Active Contributor
0 Kudos

Hi,

To make the password field available you must change the registry key...

[HKEY_CURRENT_USER\Software\SAP\SAPShortcut\Security]

"EnablePassword"="1" it must be String Value

Hope will solve out your problem,

And one thing more it place the password in the text file in Encrypted Form not Native Language so you can't write it

Password=xyz

Just when you find this Password field available write your password there and it will automatically save and not require for next time login.

Please Reply if not Clear,

Kind Regards,

Faisal

Edited by: Faisal Altaf on Feb 15, 2009 1:53 PM

16 REPLIES 16

former_member194669
Active Contributor
0 Kudos

Open the shortcut created in notepad,

in user saction, you can find something find like and change entry for password.

User

Name=123456

password=xyz "<<<<<<<<<

Language=EN

and check

PS : Please note that by doing this you are opening your password public

0 Kudos

Thanks for prompt reply,

But I am not getting password option in the file opened in txt.

The contants is like below.

[System]

Name=RTD

Description=RTD R3 Development

Client=300

[User]

Name=ABAPSLV

Language=EN

[Function]

Title=SAP Easy Access

Command=SESSION_MANAGER

[Configuration]

WorkDir=C:\Documents and Settings\rajiv\SapWorkDir

[Options]

Reuse=1

0 Kudos

Add the entry for password and check.

0 Kudos

I have entered password like below

Password=mypass

but when we execute the shortcut it still ask for password.

0 Kudos

see this sap help.

Security Measures When Using SAP Shortcuts

/people/tarun.telang2/blog/2006/09/27/introduction-to-sap-gui-for-windows

/people/tarun.telang2/blog/2006/10/03/building-your-own-sap-transaction-widget

check these blog.

see the comments after the blog, save password option is discussed there.

Quote from this sap help

http://help.sap.com/saphelp_erp2005vp/helpdata/en/8b/732e42e1ef5633e10000000a155106/frameset.htm

Logon information

§ Client field u2013 enter your client number. If you cannot remember your client, log on to the system using SAP Logon or SAP Logon Pad.

§ User field u2013 enter your user ID. The field usually already contains your Windows user ID.

§ Password field u2013 If the field has been activated, you can specify a password. It is normally deactivated for security reasons and only your PC administrator can activate this field.

For security reasons, this is not recommended and a warning appears. You should only include your password in an SAP shortcut if you are certain that no one can access your PC or your disk/folder.

кu03B1ятu03B9к

Edited by: kartik tarla on Feb 15, 2009 12:26 PM

faisal_altaf2
Active Contributor
0 Kudos

Hi,

To make the password field available you must change the registry key...

[HKEY_CURRENT_USER\Software\SAP\SAPShortcut\Security]

"EnablePassword"="1" it must be String Value

Hope will solve out your problem,

And one thing more it place the password in the text file in Encrypted Form not Native Language so you can't write it

Password=xyz

Just when you find this Password field available write your password there and it will automatically save and not require for next time login.

Please Reply if not Clear,

Kind Regards,

Faisal

Edited by: Faisal Altaf on Feb 15, 2009 1:53 PM

0 Kudos

Not getting such path in REGEDIT

only matching up till [HKEY_CURRENT_USER\Software\SAP\

but there is not \SAPShortcut\Security

I have created it manualy and restarted PC. But not succeed.

I am using

Operating system : Windows XP

SAP GUI version : 7.0

SAP Version : ECC 5.0

Please guide.....

0 Kudos

>

> Not getting such path in REGEDIT

> only matching up till [HKEY_CURRENT_USER\Software\SAP\

> but there is not \SAPShortcut\Security

> I have created it manualy and restarted PC. But not succeed.

>

> I am using

> Operating system : Windows XP

> SAP GUI version : 7.0

> SAP Version : ECC 5.0

>

> Please guide.....

Hi,

Please Follow the Steps,

--> Right Click on SAP

--> Than New

--> Key with name SAPShortcut

--> Than using Same above Step create a key name "Security" under "SAPShortcut"

--> Now Right Click on the Security --> New --> String Value

--> Give Name "EnablePassword" to this and Set it Value 1

Than Close regedit and if SAP GUI open close it too

Now open SAP GUI and you will find the Password Field Enable :).

Hope Will Solve out now Please Reply if not.

Waiting for your Reply,

Kind Regards,

Faisal.

0 Kudos

Thanks Faisal Altaf

It was too much helpfull for me. Thank U Very much............

0 Kudos

Hi,

the password seems to be encrypted. Is there any way to do this encryption using ABAP coding?

Thanks & regards

Wolfgang

0 Kudos

Works for me!

Thanks!

0 Kudos

This message was moderated.

0 Kudos

How save password for gui 7.40 ?Do you know,give me hands.

0 Kudos

There is an OSS note (use keywords : SAPShortcut, password) with


Furthermore, as of SAP GUI for Windows 7.40 Patch Level 1, you can no longer save passwords in SAPShortcut files

Regards,

Raymond

0 Kudos

This message was moderated.

0 Kudos

Exact