UiPath Documentation
test-manager
latest
false
Guía de usuario de Test Manager
Importante :
La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar 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.

Para el servicio web Autenticación básica y RFC​

Crea un usuario de comunicación en tu sistema SAP y activa los servicios de UiPath necesarios para permitir que Test Manager recupere los datos de mapas de calor y análisis de impacto de cambios a través de un servicio web Autenticación básica o conexión RFC.

Pasos​

  1. Crea un usuario de comunicación en tu sistema SAP para la integración con UiPath Test Manager. Asigna los roles y autorizaciones necesarios en función de las políticas internas de tu organización.
    • La integración utiliza interfaces estándar a través de RFC o servicio web (HTTPS).
    • UiPath no requiere autorizaciones específicas, excepto para las conexiones RFC.
    Nota:

    Si utilizas una conexión RFC, asigna el objeto de autorización S_RFCACL al usuario de comunicación.

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

    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:

  • Servicios de mapa de calor:
    • /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
  • Cambiar los servicios de análisis de impacto:
    • /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. Dirígete a la interfaz de usuario de tu sistema SAP.
  2. Execute the SICF transaction. In the Filter for Calling ICF Hierarchy section, ensure SERVICE is entered in the Hierarchy Type field.

Figura 1. La pantalla Filtrar para llamar a la jerarquía ICF en SAP

  1. Selecciona Ejecutar para finalizar la ejecución de la transacción SICF . Aparecerá una pantalla de selección que muestra varios servicios disponibles en tu sistema SAP.

Figura 2. La pantalla de selección que muestra todos los servicios disponibles en 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. Abre el menú contextual para cada entrada del servicio de UiPath en uipath, y selecciona Activar servicio.

Figura 3. Activar los servicios de 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.

Detalles sobre los servicios de SAP​

La siguiente tabla describe los servicios de mapa de calor y su propósito.

ServicioDescripción
/sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSetRecupera todos los registros agregados (datos agrupados en menos entradas resumidas). Este servicio se llama primero para determinar las fechas de inicio y finalización de los períodos de datos disponibles, que luego se pasan a FinalHeatmapSet.
/sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSetRecupera todos los transportes dentro de un intervalo de fechas especificado, junto con sus detalles.
/sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSetDevuelve el número de transportes por mes durante el período comprendido entre dos fechas especificadas.
/sap/opu/odata/UIPATH/S4_CHECK_SRV/S4InfoComprueba si el sistema SAP conectado es SAP S/4HANA.
/sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSetRecupera los recuentos de transacciones reales para los períodos de fecha devueltos por AllAggregatesSet, utilizados para rellenar el mapa de calor.

La siguiente tabla describe los servicios de análisis de impacto de cambios y su propósito. Estos servicios admiten el análisis y la búsqueda de transportes SAP afectados por los cambios.

ServicioDescripción
/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/TransportsStatusSetDevuelve el estado de análisis (analizado o aún no analizado) de los transportes dentro de un intervalo de fechas especificado.
/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/TransportAnalysisSetDevuelve el análisis completo para un transporte especificado, incluida la lista de usuarios afectados. Si el transporte aún no se ha analizado, se analiza primero y se guardan los resultados.
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSetDevuelve el análisis completo para un transporte especificado. Si el transporte aún no se ha analizado, se analiza primero y se guardan los resultados.

Para la autenticación OAuth del servicio web​

El transporte proporcionado incluye todos los objetos transportables (perfiles OAuth, entradas de personalización) necesarios para los servicios de UiPath. Sin embargo, SAP no permite el transporte de la configuración completa de OAuth por razones de seguridad y específicas del sistema. Por esta razón, después de importar el transporte proporcionado, debes completar la configuración de OAuth manualmente en tu entorno.

Context​

La configuración completa de OAuth no se puede transportar para proteger los datos confidenciales y mantener la integridad del sistema.

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

Requisitos previos​

Cada entorno (DEV, QA, PROD) requiere una configuración manual independiente. Asegúrate de realizar los siguientes requisitos previos.

  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. Ve a Transaction SICF y ejecútalo.
    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.

Figura 4. Comprobación del punto final de autorización

  1. Ensure the Token Endpoint check is running.

    1. Dirígete a 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.

Pasos​

  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. En el menú desplegable, selecciona Paquete.
    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.

Figura 5. Verificar importación de transporte

  1. Configure Client ID/User Id/System User and Client Secret.
    1. Para transaction SUO1, póngase en contacto con su equipo de seguridad para la creación de usuarios.
    2. Crea un usuario del sistema con acceso a los servicios de /UIPATH/ según los estándares de nomenclatura de tu empresa.
    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. Introduce el Nombre del perfil.
    3. Enter the Username for Client Name.
    4. Select OK.
    5. Configura los campos y guarda tu configuración:
      1. Client Secret: Select the corresponding scope (server) for each client.
      2. Authorization Endpoint URL (check the Prerequisites section of this topic).
      3. URL del punto final del token (consulta la sección Requisitos previos de este tema).
      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. Consulta la pantalla Resumen , que debería parecerse a las siguientes capturas de pantalla.

Figura 6. Página de resumen de OAuth 1

Figura 7. Página 2 de resumen de OAuth

  1. Configure transaction SOAUTH2 OAuth2 Clients.
    1. For transaction SOAUTH2, select Create and in the first screen, enter the following information:
      • Tipo de cliente: confidencial
      • Client ID: Enter the same Username as above (step 4, substep 3)
      • Description: Enter the service name or profile name.
      • Vida útil del token: 3600 segundos
    2. Selecciona Siguiente y, en la segunda pantalla, introduce la siguiente información:
      • ID de usuario y contraseña del cliente : marcada
      • Certificado SSL : marcado
      • Parámetro de comprobación: "ID de cliente": comprobado
    3. Selecciona Siguiente y, en la tercera pantalla, introduce la siguiente información:
      • Grant Type Client Credentials Active – Checked
    4. Selecciona Siguiente y, en la cuarta pantalla, introduce la siguiente información:
      • 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. Selecciona Resumen. La pantalla debería parecerse al siguiente ejemplo.

Figura 8. Página de resumen del cliente OAuth2

  1. Test the connection for Non-RISE compliant systems.
    1. Ejecuta transaction SE38 e introduce el nombre del programa '/UIPATH/TEST_OAUTH2_SERVICE' para sistemas S4 no compatibles con RISE.
    2. Selecciona Ejecutar. Aparece una pantalla de selección/parámetros.
    3. Actualice los siguientes parámetros para que coincidan con su sistema/usuario/contraseña.
      • 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.

Figura 9. Probar conexión no compatible con RISE

  1. Test the connection for RISE compliant systems.
    1. Ejecuta transaction SE38 e introduce el nombre del programa '/UIPATH/TEST_OAUTH2_SRV_RISE' para sistemas S4 compatibles con RISE.
    2. Selecciona Ejecutar. Aparece una pantalla de selección/parámetros.
    3. Actualice los siguientes parámetros para que coincidan con su sistema/usuario/contraseña.
      • 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.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado