UiPath Documentation
test-manager
latest
false
Test Manager-Benutzerhandbuch
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Configuring SAP ECC

Configure SAP ECC for Test Manager with a communication user and the required UiPath services.

To establish a communication between UiPath Test Manager and your SAP ECC system, configure the SAP system by creating a communication user and activating the required services.

Für Webdienst-Standardauthentifizierung und RFC​

Erstellen Sie einen Kommunikationsbenutzer in Ihrem SAP-System und aktivieren Sie die erforderlichen UiPath-Dienste, damit der Test Manager Heatmap- und Change-Impact-Analyse-Daten über die Webservice-Basisauthentifizierung oder eine RFC-Verbindung abrufen kann.

Schritte​

  1. Erstellen Sie einen Kommunikationsbenutzer in Ihrem SAP-System für die Integration mit dem UiPath Test Manager. Weisen Sie die erforderlichen Rollen und Berechtigungen basierend auf den internen Richtlinien Ihrer Organisation zu.
    • Die Integration verwendet Standardschnittstellen über RFC oder Web Service (HTTPS).
    • UiPath erfordert keine spezifischen Autorisierungen, außer bei RFC-Verbindungen.
    Hinweis:

    Wenn Sie eine RFC-Verbindung verwenden, weisen Sie dem Kommunikationsbenutzer das S_RFCACL -Autorisierungsobjekt zu.

  2. Activate the necessary SAP services required to establish the connection with UiPath.
    Hinweis:

    If you plan to use a Web service (HTTPS) connection for the integration, activate these services. The services are used for read-only operations. UiPath uses only HTTP GET methods to retrieve information from the SAP system.

The following list presents the necessary SAP services to activate for using the Heatmap and Change Impact Analysis:

  • Heatmap-Dienste:
    • /sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSet
    • /sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSet
    • /sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSet
    • /sap/opu/odata/UIPATH/S4_CHECK_SRV/S4Info
    • /sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSet
  • Dienste zur Analyse der Auswirkungen von Änderungen:
    • /sap/opu/odata/UIPATH/GET_TRANSPORT_EXES_SRV/TransportExesSet
    • /sap/opu/odata/UIPATH/TRANSPORT_STATUS_SRV/TransportsStatusSet
    • /sap/opu/odata/UIPATH/EXE_ANALYSIS_SRV/GetTransportAnalysis
    • /sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/TransportAnalysisSet
    • /sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSet
  1. Navigieren Sie zur Benutzeroberfläche Ihres SAP-Systems.
  2. Execute the SICF transaction. In the Filter for Calling ICF Hierarchy section, ensure SERVICE is entered in the Hierarchy Type field.

Abbildung 1. Der Filter zum Aufrufen des ICF-Hierarchie-Bildschirms in SAP

  1. Wählen Sie Ausführen , um die Ausführung der Transaktion SICF abzuschließen. Ein Auswahlbildschirm wird angezeigt, der verschiedene in Ihrem SAP-System verfügbare Dienste anzeigt.

Abbildung 2. Der Auswahlbildschirm mit allen in SAP verfügbaren Diensten

  1. Under Virtual Hosts/Services, expand the following menu path: default_host > sap > opu > odata > uipath. If this is your first activation, the UiPath services are likely greyed out, indicating they are installed but not active. Upon activation, they display in bold.
  2. Öffnen Sie für jeden UiPath-Diensteintrag unter uipath das Kontextmenü und wählen Sie „Dienst aktivieren“ aus.

Abbildung 3. Aktivieren von UiPath-Diensten

  1. In the Activation of ICF services pop-up window, select Yes to confirm the service activation. Once a service is activated, it displays in bold.

Details zu SAP-Diensten​

Die folgende Tabelle beschreibt die Heatmap-Dienste und ihren Zweck.

DienstBeschreibung
/sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSetRuft alle aggregierten Datensätze ab (Daten in weniger, zusammengefassten Einträgen gebündelt).Dieser Dienst wird zuerst aufgerufen, um die Start- und Enddaten der verfügbaren Datenzeiträume zu bestimmen, die dann an FinalHeatmapSet übergeben werden.
/sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSetRuft alle Transporte innerhalb eines angegebenen Datumsbereichs zusammen mit ihren Details ab.
/sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSetGibt die Anzahl der Transporte pro Monat für den Zeitraum zwischen zwei angegebenen Daten zurück.
/sap/opu/odata/UIPATH/S4_CHECK_SRV/S4InfoÜberprüft, ob es sich bei dem verbundenen SAP-System um SAP S/4HANA handelt.
/sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSetRuft die tatsächlichen Transaktionsanzahlen für die Datumszeiträume ab, die von AllAggregatesSet zurückgegeben werden, um die Heatmap zu füllen.

Die folgende Tabelle beschreibt die Dienste zur Analyse der Auswirkungen von Änderungen und ihren Zweck. Diese Dienste unterstützen die Analyse und Suche nach SAP-Transporten, die von Änderungen betroffen sind.

DienstBeschreibung
/sap/opu/odata/UIPATH/GET_TRANSPORT_EXES_SRV/TransportExesSetRetrieves analysis data from UiPath custom tables. This service is part of the backend Change Impact Analysis logic.
/sap/opu/odata/UIPATH/TRANSPORT_STATUS_SRV/TransportsStatusSetGibt den Analysestatus (analysiert oder noch nicht analysiert) von Transporten innerhalb eines angegebenen Datumsbereichs zurück.
/sap/opu/odata/UIPATH/EXE_ANALYSIS_SRV/GetTransportAnalysisAnalyzes transports within a specified date range and stores the results in UiPath custom tables.
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/TransportAnalysisSetGibt die vollständige Analyse für einen angegebenen Transport zurück, einschließlich der Liste der betroffenen Benutzer. Wenn der Transport noch nicht analysiert wurde, wird er zuerst analysiert und die Ergebnisse werden gespeichert.
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSetGibt die vollständige Analyse für einen angegebenen Transport zurück. Wenn der Transport noch nicht analysiert wurde, wird er zuerst analysiert und die Ergebnisse werden gespeichert.

Für die OAuth-Authentifizierung des Webdiensts​

Der bereitgestellte Transport enthält alle portierbaren Objekte (OAuth-Profile, Anpassen von Einträgen), die für UiPath-Dienste erforderlich sind. SAP lässt jedoch aus Sicherheits- und systemspezifischen Gründen nicht den Transport der vollständigen OAuth-Konfiguration zu. Aus diesem Grund müssen Sie nach dem Importieren des bereitgestellten Transports die OAuth-Konfiguration manuell in Ihrer Umgebung abschließen.

Context​

Die vollständige OAuth-Konfiguration kann nicht übertragen werden, um vertrauliche Daten zu schützen und die Systemintegrität aufrechtzuerhalten.

  • Client Secrets are system-specific. Secrets cannot be exported or imported for security compliance.
  • Authorization Server URLs differ per environment. Each landscape (DEV, QA, PROD) uses unique endpoints.
  • Certificates and STRUST entries are local. SSL/TLS trust must be configured manually in each system.
  • User assignments and roles are client-dependent. Technical users and authorizations vary across systems.
  • OAuth credentials and tokens are sensitive data. SAP does not transport them, to prevent exposure.

Voraussetzungen​

Jede Umgebung (DEV, QA, PROD) erfordert ein separates manuelles Setup. Stellen Sie sicher, dass die folgenden Voraussetzungen erfüllt sind.

  1. Keep the documentation of endpoints and credentials secure. Provide the Authorization Endpoint and the Token Endpoint in step 4, substep 5.
  2. Ensure the Authorization Endpoint check is running.
    1. Gehen Sie zu Transaction SICF und führen Sie es aus.
    2. Navigate to :/sap/bc/sec/oauth2. Check that the following node is active: authorize (Authorization Endpoint). If the node is inactive, open the context menu for the node, and select Activate Service.

Abbildung 4. Prüfung des Autorisierungsendpunkts

  1. Ensure the Token Endpoint check is running.

    1. Wechseln Sie zu Transaction SICF .
    2. Navigate to :/sap/bc/sec/oauth2. Check that the following node is active: token (Token Endpoint). If the node is inactive, open the context menu for the node, and select Activate Service.
  2. Observe the naming convention for the Authorization Endpoint. For example: https://vhclashci.dummy.nodomain:44301/sap/bc/sec/oauth2/authorization?sap-client=100

    • Part 1 is the domain name: https://vhclashci.dummy.nodomain
    • Part 2 is the port number: 44301
    • Part 3 is the static string: /sap/bc/sec/oauth2/authorization
    • Part 4 is the SAP client: 100

    To build the authorization string, do the following:

    1. Part 1: Run transaction RZ11 and search for the entry icm/host_name_full. This value is the domain name for your entry in the endpoint.
    2. Part 2: Run transaction SMICM, select the menu path Goto > Services, find the HTTPS protocol, and use the number associated with HTTPS.
    3. Part 3: Hardcode the value /sap/bc/sec/oauth2/authorization.
    4. Part 4: Enter the SAP client you are currently using.
    5. Use the semicolons and other punctuation, as required.
  3. Observe the naming convention for the Token Endpoint. For example: https://vhclashci.dummy.nodomain:44301/sap/bc/sec/oauth2/token?sap-client=100

    • Part 1 is the domain name: https://vhclashci.dummy.nodomain
    • Part 2 is the port number: 44301
    • Part 3 is the static string: /sap/bc/sec/oauth2/token
    • Part 4 is the SAP client: 100

    To build the token string, do the following:

    1. Part 1: Run transaction RZ11 and search for the entry icm/host_name_full. This value is the domain name for your entry in the endpoint.
    2. Part 2: Run transaction SMICM, select the menu path Goto > Services, find the HTTPS protocol, and use the number associated with HTTPS.
    3. Part 3: Hardcode the value /sap/bc/sec/oauth2/token.
    4. Part 4: Enter the SAP client you are currently using.
    5. Use the semicolons and other punctuation, as required.

Schritte​

  1. Verify your transport import details and availability.
    1. Check that OAuth profiles are available. Use transaction SE80 to ensure OAuth 2.0 Client Profiles are available.
    2. Wählen Sie im Dropdownmenü die Option Paket aus.
    3. Enter ‘/UIPATH/HEATMAP’ in the textbox. OAuth 2.0 Client Profiles should appear in the dropdown menu. If profiles are not available, contact UiPath support.

Abbildung 5. Transportimport überprüfen

  1. Configure Client ID/User Id/System User and Client Secret.
    1. Für transaction SUO1 wenden Sie sich an Ihr Sicherheitsteam für die Benutzererstellung.
    2. Erstellen Sie einen Systembenutzer mit Zugriff auf /UIPATH/ -Dienste gemäß den Benennungsstandards Ihres Unternehmens.
    3. Generate a password according to your company naming standards – this password becomes the client secret in the OAuth2 configuration.
  2. Configure SSL/TLS Trust. For transaction STRUST, contact your Basis Team for certificate verification.
  3. Create the OAuth 2.0 configuration.
    1. For transaction OA2C_CONFIG, select Create and, in the popup, select the transported profile you want to use. Use every listed profile.
    2. Geben Sie den Profilnamen ein.
    3. Enter the Username for Client Name.
    4. Wählen Sie OK aus.
    5. Konfigurieren Sie die Felder und speichern Sie Ihre Konfiguration:
      1. Client Secret: Select the corresponding scope (server) for each client.
      2. Authorization Endpoint URL (check the Prerequisites section of this topic).
      3. Token-Endpunkt-URL (siehe Abschnitt „Voraussetzungen “ dieses Themas).
      4. Client Authentication: Select the Basic radio button.
      5. Selected Grant Type: Select the Client Credentials radio button.
      6. Refresh Token Validity: Enter -1 in textbox.
      7. Clock Skew Tolerance: Enter 5 in textbox.
    6. Überprüfen Sie den Bildschirm „Zusammenfassung“ , der wie auf den Screenshots unten aussehen sollte.

Abbildung 6. OAuth-Zusammenfassung 1

Abbildung 7. Seite „OAuth-Zusammenfassung“ 2

  1. Configure transaction SOAUTH2 OAuth2 Clients.
    1. For transaction SOAUTH2, select Create and in the first screen, enter the following information:
      • Client-Typ: Vertraulich
      • Client ID: Enter the same Username as above (step 4, substep 3)
      • Description: Enter the service name or profile name.
      • Token-Lebensdauer: 3600 Sekunden
    2. Wählen Sie Weiter aus und geben Sie auf dem zweiten Bildschirm die folgenden Informationen ein:
      • Client-Benutzer-ID und Kennwort – Überprüft
      • SSL-Zertifikat – Aktiviert
      • Überprüfen Sie den Parameter: „Client-ID“ – Überprüft
    3. Wählen Sie Weiter aus und geben Sie auf dem dritten Bildschirm die folgenden Informationen ein:
      • Grant Type Client Credentials Active – Checked
    4. Wählen Sie Weiter aus und geben Sie auf dem vierten Bildschirm die folgenden Informationen ein:
      • Under OAuth2 Scope Id, find the first empty line and select on the drop-down list at the end of the blank row.
      • Select each of the scopes associated with UiPath until all have been selected. First, select the following seven scopes:
        • /UIPATH/ANALYZED_YES_OR_NO_SRV_0001
        • /UIPATH/EXE_ANALYSIS_SRV_0001
        • /UIPATH/GET_TRANSPORT_ALLITEMS_SRV_0001
        • /UIPATH/GET_TRANSPORT_ANALYSIS_SRV_0001
        • /UIPATH/GET_TRANSPORT_DETAILS_SRV_0001
        • /UIPATH/GET_TRANSPORT_EXES_SRV_0001
        • /UIPATH/HEATMAP_AGGREGATES_SRV_0001
      • Then select the remaining six scopes:
        • /UIPATH/HEATMAP_OVERVIEW_SRV_0001
        • /UIPATH/TRANSPORT_INFO_SRV_0001
        • /UIPATH/TRANSPORT_LOOKBACK_SRV_0001
        • /UIPATH/TRANSPORT_STATUS_SRV_0001
        • /UIPATH/TRANS_CIA_LOOKBACK_SRV_0001
        • /UIPATH/ZS4_CHECK_SRV_0001
    5. Wählen Sie Zusammenfassung aus. Der Bildschirm sollte wie im folgenden Beispiel aussehen.

Abbildung 8. Seite „OAuth2 Client – Zusammenfassung“.

  1. Test the connection for Non-RISE compliant systems.
    1. Führen Sie transaction SE38 aus und geben Sie den Programmnamen '/UIPATH/TEST_OAuth2_SERVICE' für Nicht-RISE-konforme S4-Systeme ein.
    2. Wählen Sie Ausführen. Ein Auswahl-/Parameterbildschirm wird angezeigt.
    3. Aktualisieren Sie die folgenden Parameter, damit sie mit Ihrem System/Benutzer/Kennwort übereinstimmen.
      • Port – HTTPS Port
      • Client – The current Client should default into a variable.
      • Secret – Enter the password for Client_ID/User.
      • System Name – The current System Name should default into a variable.
      • Client ID – Enter the User ID for UiPath Services.
    4. Select Execute. The results appear on the next screen.

Abbildung 9. Testen Sie eine nicht-Risiko-konforme Verbindung

  1. Test the connection for RISE compliant systems.
    1. Führen Sie transaction SE38 aus und geben Sie den Programmnamen '/UIPATH/TEST_OAuth2_SRV_RSE' für Rise-konforme S4-Systeme ein.
    2. Wählen Sie Ausführen. Ein Auswahl-/Parameterbildschirm wird angezeigt.
    3. Aktualisieren Sie die folgenden Parameter, damit sie mit Ihrem System/Benutzer/Kennwort übereinstimmen.
      • Port – HTTPS Port
      • Client – The current Client should default into a variable.
      • Secret – Enter the password for Client_ID/User.
      • System Name – The current System Name should default into a variable.
      • Client ID – Enter the User ID for UiPath Services.
    4. Select Execute. The results appear on the next screen.

If the Service Status is 200, the OAuth 2.0 configuration is working. Any other return code indicates an error.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben