Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

Saving password

$
0
0

Hi there,

 

we're using SAP-GUI (7.30 - 7.40) to logon to SAP and fire some BAPI commands in a VB6 application.

Code we are using is like:

 

Set SAP = CreateObject("SAP.Functions")

Set Conn = SAP.Connection

 

If the user has logged in before, we are using the password he used by setting user and password like below, otherwise we show the SAP-Logon-Dialog.

 

Conn.user = UserName

Conn.Password = Password

 

Now we have customers where the above code doesn't work anymore. We save the password using the value in conn.password. In some cases it seems that conn.Password gives back another value each time I try to read this setting. It seems that SAP encodes it new every time. Trying to use that value for login doesn't work, the password isn't valid. There must be an option in SAP or SAP GUI where this Kind of security can be set, because we have customers where saving the value works and others where it doesn't, while the used SAP version is the same.

 

Anyone out there who can help me with that issue?

 

 

Greetings

Torsten


Viewing all articles
Browse latest Browse all 2552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>