UiPath Documentation
test-manager
latest
false
Guia do usuário do Test Manager
Importante :
A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

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 autenticação básica de serviço da Web e RFC​

Crie um usuário de comunicação em seu sistema do SAP e ative os serviços da UiPath necessários para permitir que o Test Manager recupere os dados do Mapa de Calor e da Análise de Impacto de Alterações por meio de uma autenticação básica ou conexão RFC de serviço da web.

Etapas​

  1. Crie um usuário de comunicação em seu sistema SAP para a integração com o UiPath Test Manager. Atribua as funções e autorizações necessárias com base nas políticas internas de sua organização.
    • A integração usa interfaces padrão por meio de RFC ou serviço da Web (HTTPS).
    • A UiPath não requer autorizações específicas, exceto para conexões RFC.
    Observação:

    Se você usar uma conexão RFC, atribua o objeto de autorização S_RFCACL ao usuário de comunicação.

  2. Activate the necessary SAP services required to establish the connection with UiPath.
    Observação:

    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:

  • Serviços do 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
  • Altere os serviços de Análise 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. Navegue até a interface do usuário do seu 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. A tela Filtro para chamar a hierarquia IIF no SAP

  1. Selecione Executar para finalizar a execução da transação SICF . Uma tela de seleção é exibida, exibindo vários serviços disponíveis em seu sistema SAP.

Figura 2. A tela de seleção exibindo todos os serviços disponíveis no 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. Abra o menu de contexto para cada entrada de serviço da UiPath em uipath e selecione Ativar serviço.

Figura 3. Ativação de serviços da 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.

Detalhes sobre os Serviços SAP​

A tabela a seguir descreve os serviços de mapa de calor e sua finalidade.

ServiçoDescription
/sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSetRecupera todos os registros agregados (dados agrupados em menos entradas resumidas). Chama-se esse serviço primeiro para determinar as datas de início e término dos períodos de dados disponíveis, que se passam para FinalHeatmapSet.
/sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSetRecupera todos os transportes dentro de um intervalo de datas especificado, junto com seus detalhes.
/sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSetRetorna o número de transportes por mês para o período entre duas datas especificadas.
/sap/opu/odata/UIPATH/S4_CHECK_SRV/S4InfoVerifica se o sistema SAP conectado é o SAP S/4HANA.
/sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSetRecupera as contagens reais de transações para os períodos que AllAggregatesSet retorna, usados para preencher o mapa de calor.

A tabela a seguir descreve os serviços de Análise de Impacto de Alterações e sua finalidade. Esses serviços oferecem suporte à análise e à pesquisa de transportes SAP que as alterações afetam.

ServiçoDescription
/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/TransportsStatusSetRetorna o status de análise (analisado ou ainda não analisado) de transportes dentro de um intervalo de datas 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/TransportAnalysisSetRetorna a análise completa para um transporte especificado, incluindo a lista de usuários impactados. Se você ainda não analisou o transporte, analise-o primeiro e salve os resultados.
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSetRetorna a análise completa de um transporte que você especificar.Se você ainda não analisou o transporte, analise-o primeiro e salve os resultados.

Para a autenticação OAuth do serviço da Web​

O transporte fornecido inclui todos os objetos utilizáveis (perfis do OAuth, personalização de entradas) necessários para os serviços da UiPath. No entanto, a SAP não permite que a configuração completa do OAuth seja carregada por motivos de segurança e específicos do sistema. Por esse motivo, após importar o transporte fornecido, você deve concluir a configuração do OAuth manualmente em seu ambiente.

Context​

A configuração completa do OAuth não pode ser transportado para proteger dados confidenciais e manter a integridade do 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.

Pré-requisitos​

Cada ambiente (DEV, QA, PROD) requer uma configuração manual separada. Certifique-se de executar os seguintes pré-requisitos.

  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. Acesse Transaction SICF e execute-o.
    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. Verificação de ponto de extremidade de autorização

  1. Ensure the Token Endpoint check is running.

    1. Acesse 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.

Etapas​

  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. No menu suspenso, selecione Pacote.
    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 importação de transporte

  1. Configure Client ID/User Id/System User and Client Secret.
    1. Para transaction SUO1, entre em contato com sua equipe de segurança para a criação do usuário.
    2. Crie um usuário do sistema com acesso aos serviços /UIPATH/ de acordo com os padrões de nomenclatura da sua 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. Insira o Nome do perfil.
    3. Enter the Username for Client Name.
    4. Select OK.
    5. Configure os campos e salve a configuração:
      1. Client Secret: Select the corresponding scope (server) for each client.
      2. Authorization Endpoint URL (check the Prerequisites section of this topic).
      3. URL do ponto de extremidade do token (consulte a seção Pré-requisitos deste tópico).
      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. Verifique a tela Resumo , que deve parecer com as capturas de tela abaixo.

Figura 6. Página de resumo do OAuth 1

Figura 7. Página de resumo do OAuth 2

  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 do token: 3600 segundos
    2. Selecione Avançar e, na segunda tela, insira as seguintes informações:
      • ID e senha do usuário do cliente — verificado
      • Certificado SSL — Verificado
      • Verificar parâmetro: "Client ID" - Verificado
    3. Selecione Avançar e, na terceira tela, insira as seguintes informações:
      • Grant Type Client Credentials Active – Checked
    4. Selecione Avançar e, na quarta tela, insira as seguintes informações:
      • 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. Selecione Resumo. A tela deve ser semelhante ao exemplo abaixo.

Figura 8. Página de resumo do cliente OAuth2

  1. Test the connection for Non-RISE compliant systems.
    1. Execute transaction SE38 e insira o nome do programa '/UIPATH/TEST_OAUTH2_SERVICE' para sistemas S4 não compatíveis com RISE.
    2. Selecionar Executar. Uma tela de seleção/parâmetro aparece.
    3. Atualize os parâmetros a seguir para corresponder ao seu sistema/usuário/senha.
      • 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. Teste de conexão não RISE

  1. Test the connection for RISE compliant systems.
    1. Execute transaction SE38 e insira o nome do programa '/UIPATH/TEST_OAUTH2_SSV_rise' para sistemas S4 compatíveis com RISE.
    2. Selecionar Executar. Uma tela de seleção/parâmetro aparece.
    3. Atualize os parâmetros a seguir para corresponder ao seu sistema/usuário/senha.
      • 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.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte(opens in new window)

Quer aprender? Academia UiPath(opens in new window)

Tem perguntas? Fórum do UiPath(opens in new window)

Fique por dentro das novidades