SAP Solution Manager command line
The SAP Solution Manager command tool allows you to check the status of your integration with UiPath® Studio. You can find this tool packaged with each Studio build as UiPath.SAP.SolutionManager.CommandLine.exe in the default installation folder, as follows : C:\Program Files\UiPath\Studio\net461. Alternatively, you can find the executable in your custom installation folder.
Command line arguments descriptions
Check the following table for descriptions of the available parameters and how you can use them.
| Command | Description |
|---|---|
-s,--status | Show the registration status. To understand error codes, check Troubleshooting status error messages. |
-r,--register | Register the communication interface. |
-u,--unregister | Unregister the communication interface. |
-i,--ip | Show the connection IP used in Studio. |
-o,--out | Show the output files. |
--help | Show help. |
--version | Show version number. |
Troubleshooting status error messages
The following list describes common SAP Solution Manager errors and how you can solve them:
- UiPath Plugin not installed: To solve this you need to install the UiPath® Plugin.
- SAP Connector unavailable: To solve this you need to install the SAP Connector.
important
SAP Connector runs only on x86 OS architecture.
- UiPath Plugin uninstalled, SAP Connector installed: To solve this you need to install the UiPath® Plugin.
- UiPath Plugin uninstalled, SAP Connector uninstalled: To solve this you need to install both UiPath® Plugin and SAP Connector
important
SAP Connector runs only on x86 OS architecture.
- UiPath Plugin installed, SAP Connector is x64 instead of x86 (plugin cannot work): To solve this you need to install the SAP Connector.
important
SAP Connector runs only on x86 OS architecture.
- If execution from your SAP instance fails after a successful configuration, follow these steps to solve it:
- Verify that the SAP Solution Manager client has the required client scopes.
- Retrieve the client from the Clients table in the Identity service database and search for the client name -
SapSolaman.OpenId. - Check that the client has the following scopes assigned in the
ClientScopestable of Identity service:TestManageremailprofileopenidTM.TestExecutionsTM.TestCases.ReadCheck the following examples for actions that you can perform with a client within your Identity service:- Insert a new client:
INSERT INTO yourDatabase.identity.clients (ClientID, ClientName, Scope)
VALUES ('YourClientID', 'YourClientName', 'YourScope') - Update an existing client:
UPDATE yourDatabase.identity.clients
SET ClientName = 'YourNewClientName',
Scope = 'TM.TestCases.Read'
WHERE ClientID = 'YourClientID' - Insert specific scopes to an existing client:
INSERT INTO yourDatabase.identity.client.scopes
VALUES ('TM.TestExecutions', 'YourClientID')
INSERT INTO yourDatabase.identity.client.scopes
VALUES ('TM.TestCases.Read', 'YourClientID')
- Insert a new client:
- Retrieve the client from the Clients table in the Identity service database and search for the client name -
- After you make any change to the client registration in the Identity service tables, you need to re-trigger the login for these changes to reflect:
- Delete the folder from this path:
Users/%Userprofile%/Sap/SAP_Waldorf. - Depending on the delivery option of your Test Manager instance, do one of the following:
- For Standalone Test Manager: Restart the IIS server or recycle application pool of the Identity server.
- For Test Manager in Automation Suite: Flush the Redis cache, or restart the Identity pod.
- Delete the folder from this path:
- Verify that the SAP Solution Manager client has the required client scopes.