Error with SAP logon and parameter

Good afternoon friends, help please with SAP LOGON, the route does not accept parameters, how could I solve it

“C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplgpad.exe” /LSXML_FILE=\cotmat.net\NETLOGON\SAPGUI\GT\FULL\SAPUILandscape.xml

This is the route that is used, it has two parts, first the executable, then the parameter. I need to enter that parameter in uipath

1 Like

Hi @Lynx

Please have a look at this thread

SAP Logon Connection Entry Not Found - News / Knowledge Base - UiPath Community Forum

Hope this helps.

Thanks.

@suraj.setty The problem is with the parameter that I have underlined, but I don’t know how to add it without getting an error

@Lynx not sure if this will work but can you try go to Security tab and copy the shortcut link and try use that instead?

e.g. in screenshot my shortcut is C:\users\desktop\brave.lnk

image

2 Likes

@Lynx

Hello,
as far as I can see it is not possible to set arguments at the SAP Logon Path, only a filename. That’s why this approach can’t work on that way.
@jack.chan suggestion sounds interesting, to use a shortcut in this context. Let us know your result, I have never tried that.
Please take a look at the SAP Documentation, it is possible to set an environment variable to solve your requirement.
Best regards
Stefan

3 Likes

Yes, I have tested using the shrotcut, it works perfect.

This is what I put in the Sap Logon path:

string.Format("{0}\SAP Logon Pad Con.lnk", Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory))

Thank you very much to all.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.