cancel
Showing results for 
Search instead for 
Did you mean: 

How to Logon with RFC

Former Member
0 Kudos

Good Day!

I want do do a login with RFC SAP.Logoncontrol.1. I dont want to use SSO instead of Username and password.

Has anybody expierience with this? i am not sure what to type in the values marked red

    Dim oConnection As Connection

    Set oConnection = oLogonControl.NewConnection

   

    With oConnection

        .ApplicationServer = "pkgps50d.os.fth.sbs.de"

        .Client = 470

        .SystemNumber = 46

        .System = "PS5"

        .SystemID = "PS5"

        .Language = "DE"

        .SNC = True

        .SNCQuality = 9

        .SNCName = ""

        .UseSAPLogonIni = True

        .Logon 0, False

    End With

Would be appreciated if someone can help me.

Max

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Max

it looks to me that followings are already ok

        .ApplicationServer = "pkgps50d.os.fth.sbs.de"

        .SystemNumber = 46

        .System = "PS5"

        .SystemID = "PS5"

        .SNCQuality = 9


below something you need to change

        .SNCName = "<SNCNameOfSAPSystem>"

(e.g..SNCName = "p:CN=XXX, O=SAP-AG, C=EN")

Did you already tried to retrieve last details from sapgui?

Let me know how it goes

a


Former Member
0 Kudos

Hey Andrea! First of all: thanks for you reply.

I must admin, that i dont have any idea what to type for SNCName. Where can i find this SNCName? Is the SNC-Function used for the SSO-Login?

Thank you for your help!

Former Member
0 Kudos

Hi Max

noworries

looking what you wrote i assumed you have snc activated on your systems, so you can find detailed infos choosing property of the entry in your saplogon and the switching to network tab

SNC is not for SSO , it's the encrypted communication between sap gui and sap application

Let me know if you need more info

a

Former Member
0 Kudos

Thank you so much!

Answers (0)