UiPath Documentation
test-manager
latest
false
Guide de l'utilisateur de Test Manager
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

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.

Pour le service Web, l’authentification de base et RFC​

Créez un utilisateur de communication dans votre système SAP et activez les services UiPath requis pour permettre à Test Manager de récupérer les données de la Heatmap et de l'analyse de l'impact des modifications via une authentification de base par service Web ou une connexion RFC.

Étapes​

  1. Créez un utilisateur de communication dans votre système SAP pour l’intégration avec UiPath Test Manager. Attribuez les rôles et les autorisations nécessaires en fonction des politiques internes de votre organisation.
    • L'intégration utilise des interfaces standard via RFC ou Web Service (HTTPS).
    • UiPath ne nécessite pas d’autorisations spécifiques, sauf pour les connexions RFC.
    Remarque :

    Si vous utilisez une connexion RFC, attribuez l’objet d’autorisation S_RFCACL à l’utilisateur de communication.

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

    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:

  • Services de la carte thermique:
    • /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
  • Services d’analyse de l’impact des modifications:
    • /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. Accédez à l'interface utilisateur de votre système SAP.
  2. Execute the SICF transaction. In the Filter for Calling ICF Hierarchy section, ensure SERVICE is entered in the Hierarchy Type field.

Figure 1. L'écran Filtre d'appel de la hiérarchie IFS dans SAP

  1. Sélectionnez Exécuter pour terminer l’exécution de la transaction SICF . Un écran de sélection apparaît, affichant les différents services disponibles dans votre système SAP.

Image 2. L’écran de sélection affichant tous les services disponibles dans SAP

  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. Ouvrez le menu contextuel de chaque entrée de service UiPath sous uipath, et sélectionnez Activer le service.

Image 3. Activation des services UiPath

  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.

Détails sur les services SAP​

La table suivante décrit les services Heatmap et leur finalité.

ServiceDescription
/sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSetRécupère tous les enregistrements agrégés (données regroupées en un nombre réduit d'entrées synthétisées). Ce service est d'abord appelé pour déterminer les dates de début et de fin des périodes de données disponibles, qui sont ensuite transmises à FinalHeatmapSet.
/sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSetRécupère tous les transports dans une plage de dates spécifiée, ainsi que leurs détails.
/sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSetRenvoie le nombre de transports par mois pour la période entre deux dates spécifiées.
/sap/opu/odata/UIPATH/S4_CHECK_SRV/S4InfoVérifie si le système SAP connecté est SAP S/4HANA.
/sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSetRécupère le nombre de transactions réel pour les périodes de date renvoyées par AllAggregatesSet, utilisées pour remplir la carte thermique.

La table suivante décrit les services d'analyse de l'impact des modifications et leur objectif. Ces services prennent en charge l'analyse et la recherche des transports SAP affectés par les modifications.

ServiceDescription
/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/TransportsStatusSetRenvoie le statut d'analyse (analysé ou pas encore analysé) des transports dans une plage de dates spécifiée.
/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/TransportAnalysisSetRenvoie l'analyse complète pour un transport spécifié, y compris la liste des utilisateurs impactés. Si le transport n'a pas encore été analysé, il est d'abord analysé et les résultats sont enregistrés.
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSetRenvoie l'analyse complète pour un transport spécifié. Si le transport n'a pas encore été analysé, il est d'abord analysé et les résultats sont enregistrés.

Pour l'authentification OAuth du service Web​

Le transport fourni inclut tous les objets transportables (Profils OAuth, entrées de personnalisation) requis pour les services UiPath. Cependant, SAP ne permet pas le transport d'une configuration OAuth complète pour des raisons de sécurité et spécifiques au système. Pour cette raison, après avoir importé le transport fourni, vous devez terminer la configuration OAuth manuellement dans votre environnement.

Context​

La configuration OAuth complète ne peut pas être transportée pour protéger les données sensibles et maintenir l’intégrité du système.

  • 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.

Prérequis​

Chaque environnement nécessite une configuration manuelle distincte. Assurez-vous d'effectuer les prérequis suivants.

  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. Accédez à Transaction SICF et exécutez-le.
    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.

Figure 4. Vérification du point de terminaison d'autorisation

  1. Ensure the Token Endpoint check is running.

    1. Accédez à 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.

Étapes​

  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. Dans le menu déroulant, sélectionnez Package.
    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.

Figure 5. Vérifier l'importation du transport

  1. Configure Client ID/User Id/System User and Client Secret.
    1. Pour transaction SUO1, contactez votre équipe de sécurité pour créer l'utilisateur.
    2. Créez un utilisateur système avec accès aux services /UIPATH/ en fonction des normes de nommage de votre entreprise.
    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. Saisissez le nom du profil.
    3. Enter the Username for Client Name.
    4. Sélectionnez OK.
    5. Configurez les champs et enregistrez votre configuration :
      1. Client Secret: Select the corresponding scope (server) for each client.
      2. Authorization Endpoint URL (check the Prerequisites section of this topic).
      3. URL du point de terminaison de jeton (consultez la section Prérequis de cette rubrique).
      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. Vérifiez l'écran Résumé , qui devrait ressembler aux captures d'écran ci-dessous.

Image 6. Page de résumé OAuth 1

Figure 7. Page 2 de Résumé OAuth

  1. Configure transaction SOAUTH2 OAuth2 Clients.
    1. For transaction SOAUTH2, select Create and in the first screen, enter the following information:
      • Type de client : confidentiel
      • Client ID: Enter the same Username as above (step 4, substep 3)
      • Description: Enter the service name or profile name.
      • Durée de vie du jeton : 3 600 secondes
    2. Sélectionnez Suivant et, dans le deuxième écran, entrez les informations suivantes:
      • ID d’utilisateur et mot de passe du client - Cochés
      • Certificat SSL - Coché
      • Paramètre de vérification: « ID client » – Coché
    3. Sélectionnez Suivant et, dans le troisième écran, entrez les informations suivantes:
      • Grant Type Client Credentials Active – Checked
    4. Sélectionnez Suivant , puis, au quatrième écran, entrez les informations suivantes:
      • 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. Sélectionnez Résumé. L'écran doit ressembler à l'exemple ci-dessous.

Figure 8. Page Récapitulatif du client OAuth2

  1. Test the connection for Non-RISE compliant systems.
    1. Exécutez transaction SE38 et saisissez le nom du programme « /UIPATH/TEST_OAUTH2_Service » pour les systèmes S4 non compatibles REST.
    2. Sélectionnez Exécuter. Un écran de sélection/paramètres apparaît.
    3. Mettez à jour les paramètres suivants pour qu’ils correspondent à votre système/utilisateur/mot de passe.
      • 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.

Figure 9. Tester la connexion conforme à la non-utilisation REST

  1. Test the connection for RISE compliant systems.
    1. Exécutez transaction SE38 et saisissez le nom du programme « /UIPATH/TEST_OAUTH2_SRV_RESE » pour les systèmes S4 compatibles avec le RSI.
    2. Sélectionnez Exécuter. Un écran de sélection/paramètres apparaît.
    3. Mettez à jour les paramètres suivants pour qu’ils correspondent à votre système/utilisateur/mot de passe.
      • 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.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour