View Single Post
  #3 (permalink)  
Old 08-08-2008, 04:50 AM
david.dienes david.dienes is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default

My task is: get data from SAP via RFC call. How would you implement this with not showing the password? Maybe I shouldn't use macro?

My present solution shows password:
Set objBAPIControl = CreateObject("SAP.Functions")
Set sapConnection = objBAPIControl.Connection
With sapConnection
.Destination = "SQ1"
.ApplicationServer = "111.111.111.111"
.Client = "100"
.User = "RFC_REMOTE"
.Password = "XXX"
.Language = "EN"
.SystemNumber = "00"
Reply With Quote