- スタート アップ ガイド
- プロジェクト管理
- 変更影響分析を使用する
- テスト ケースを作成する
- テスト ケースを複製する
- テスト ケースをエクスポートする
- Studio のテスト ケースを Test Manager にリンクする
- テスト ケースを削除する
- テスト ケースを表示および検索する
- プロジェクトの運用とユーティリティ
- Test Manager の設定
- ALM ツールとの連携
- API 連携
- テスト用エージェントのコードを作成する
- トラブルシューティング
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.
Web サービスの基本認証と RFC の場合
SAP システムに通信ユーザーを作成して必要な UiPath サービスをアクティブ化し、Test Manager が Web サービスの基本認証または RFC 接続上でヒートマップと変更影響分析のデータを取得できるようにします。
手順
- UiPath Test Manager と連携するために、SAP システム内に通信ユーザーを作成します。組織の内部ポリシーに基づいて、必要なロールと認可を割り当てます。
- この連携には、RFC または Web サービス (HTTPS) を介した標準のインターフェイスを使用します。
- UiPath では、RFC 接続の場合を除き、特定の認可を必要としません。
注:RFC 接続を使用する場合は、
S_RFCACL権限オブジェクトを通信ユーザに割り当てます。 - Activate the necessary SAP services required to establish the connection with UiPath.
注:
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 GETmethods 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:
- ヒートマップ サービス:
/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
- 変更影響分析サービス:
/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
- SAP システムのユーザー インターフェイスに移動します。
- Execute the
SICFtransaction. In the Filter for Calling ICF Hierarchy section, ensureSERVICEis entered in the Hierarchy Type field.
図 1.SAP の [ICF 階層呼出のフィルタ] 画面
- [ 実行 ] を選択して、
SICFトランザクションの実行を終了します。選択画面が表示され、SAP システムで利用可能なさまざまなサービスが表示されます。
図 2. SAP で利用可能なすべてのサービスが表示された選択画面
- 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. uipathの下にある UiPath サービスの各エントリのコンテキスト メニューを開いて、[サービスをアクティブ化] を選択します。
図 3. UiPath サービスのアクティブ化
- 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.
SAP サービスについて詳しくは、こちらをご覧ください
次の表で、ヒートマップ サービスとその目的について説明します。
| サービス | 説明 |
|---|---|
/sap/opu/odata/UIPATH/HEATMAP_AGGREGATES_SRV/AllAggregatesSet | 集計されたすべてのレコード (データを、より少ない要約されたエントリにロールアップしたデータ) を取得します。このサービスは最初に呼び出され、利用可能なデータ期間の開始日と終了日が判別され、それが FinalHeatmapSetに渡されます。 |
/sap/opu/odata/UIPATH/TRANSPORT_INFO_SRV/TransportsStatusSet | 指定した日付範囲内のすべての移送を、その詳細と併せて取得します。 |
/sap/opu/odata/UIPATH/TRANSPORT_LOOKBACK_SRV/TransportLookbackSet | 指定した 2 つの日付の間の期間での月ごとの移送回数を返します。 |
/sap/opu/odata/UIPATH/S4_CHECK_SRV/S4Info | 接続されている SAP システムが SAP S/4HANA かどうかを確認します。 |
/sap/opu/odata/UIPATH/HEATMAP_OVERVIEW_SRV/FinalHeatmapSet | ヒートマップの設定に使用する AllAggregatesSetによって返された日付期間の実際のトランザクション数を取得します。 |
次の表で、変更影響分析サービスとその目的について説明します。これらのサービスは、変更の影響を受ける SAP 移送の分析と検索をサポートします。
| サービス | 説明 |
|---|---|
/sap/opu/odata/UIPATH/GET_TRANSPORT_EXES_SRV/TransportExesSet | Retrieves analysis data from UiPath custom tables. This service is part of the backend Change Impact Analysis logic. |
/sap/opu/odata/UIPATH/TRANSPORT_STATUS_SRV/TransportsStatusSet | 指定した日付範囲内の移送の分析ステータス (分析済みまたは未分析) を返します。 |
/sap/opu/odata/UIPATH/EXE_ANALYSIS_SRV/GetTransportAnalysis | Analyzes transports within a specified date range and stores the results in UiPath custom tables. |
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/TransportAnalysisSet | 影響を受けるユーザーのリストを含む、指定した移送の完全な分析を返します。移送がまだ分析されていない場合は、最初に分析され、結果が保存されます。 |
/sap/opu/odata/UIPATH/GET_TRANSPORT_ALLITEMS_SRV/DetailsSet | 指定した移送の完全な分析を返します。移送がまだ分析されていない場合は、最初に分析され、結果が保存されます。 |
Web サービスの OAuth 認証の場合
提供される移送には、UiPath サービスに必要なすべての移送可能なオブジェクト (OAuth プロファイル、カスタマイジング エントリ) が含まれます。ただし、SAP では、セキュリティ上およびシステム固有の理由から、OAuth の完全な構成の移送は許可されていません。このため、提供されているトランスポートをインポートした後は、お使いの環境で OAuth の構成を手動で完了する必要があります。
Context
機密データを保護し、システムの整合性を維持するために、完全な OAuth 構成を転送することはできません。
- 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.
前提条件
各環境 (DEV、QA、PROD) では、個別の手動設定が必要です。次の前提条件を必ず実行してください。
- Keep the documentation of endpoints and credentials secure. Provide the Authorization Endpoint and the Token Endpoint in step 4, substep 5.
- Ensure the Authorization Endpoint check is running.
Transaction SICFに移動して実行します。- 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.
図 4. 認可エンドポイントのチェック
-
Ensure the Token Endpoint check is running.
Transaction SICFに移動します。- 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.
-
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:
- Part 1: Run
transaction RZ11and search for the entryicm/host_name_full. This value is the domain name for your entry in the endpoint. - Part 2: Run
transaction SMICM, select the menu path Goto > Services, find the HTTPS protocol, and use the number associated with HTTPS. - Part 3: Hardcode the value
/sap/bc/sec/oauth2/authorization. - Part 4: Enter the SAP client you are currently using.
- Use the semicolons and other punctuation, as required.
- Part 1 is the domain name:
-
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:
- Part 1: Run
transaction RZ11and search for the entryicm/host_name_full. This value is the domain name for your entry in the endpoint. - Part 2: Run
transaction SMICM, select the menu path Goto > Services, find the HTTPS protocol, and use the number associated with HTTPS. - Part 3: Hardcode the value
/sap/bc/sec/oauth2/token. - Part 4: Enter the SAP client you are currently using.
- Use the semicolons and other punctuation, as required.
- Part 1 is the domain name:
手順
- Verify your transport import details and availability.
- Check that OAuth profiles are available. Use
transaction SE80to ensure OAuth 2.0 Client Profiles are available. - ドロップダウン メニューから [パッケージ] を選択します。
- 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.
- Check that OAuth profiles are available. Use
図 5. 移送のインポートを確認する
- Configure Client ID/User Id/System User and Client Secret.
transaction SUO1については、セキュリティ チームに連絡してユーザーを作成します。- 会社の命名基準に従って、
/UIPATH/サービスへのアクセス権を持つシステム ユーザーを作成します。 - Generate a password according to your company naming standards – this password becomes the client secret in the OAuth2 configuration.
- Configure SSL/TLS Trust. For
transaction STRUST, contact your Basis Team for certificate verification. - Create the OAuth 2.0 configuration.
- For
transaction OA2C_CONFIG, select Create and, in the popup, select the transported profile you want to use. Use every listed profile. - プロファイル名を入力します。
- Enter the Username for Client Name.
- [OK] を選択します。
- フィールドを設定し、構成を保存します。
- Client Secret: Select the corresponding scope (server) for each client.
- Authorization Endpoint URL (check the Prerequisites section of this topic).
- トークン エンドポイント URL (このトピックの「前提条件」のセクションを確認してください。)
- Client Authentication: Select the Basic radio button.
- Selected Grant Type: Select the Client Credentials radio button.
- Refresh Token Validity: Enter
-1in textbox. - Clock Skew Tolerance: Enter
5in textbox.
- [ 概要 ] 画面を確認します。この画面は以下のスクリーンショットのようになります。
- For
図 6. OAuth の概要ページ 1
図 7. OAuth の概要ページ 2
- Configure transaction SOAUTH2 OAuth2 Clients.
- For
transaction SOAUTH2, select Create and in the first screen, enter the following information:- クライアントの種類: 機密
- Client ID: Enter the same Username as above (step 4, substep 3)
- Description: Enter the service name or profile name.
- トークンの有効時間: 3600 秒
- [次へ] を選択し、2 番目の画面で次の情報を入力します。
- クライアント ユーザー ID とパスワード - オン
- SSL 証明書 - オン
- チェック パラメーター:「クライアント ID」– オン
- [次へ] を選択し、3 番目の画面で次の情報を入力します。
- Grant Type Client Credentials Active – Checked
- [次へ] を選択し、4 番目の画面で次の情報を入力します。
- 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
- [ 概要] を選択します。画面は次の例のようになります。
- For
図 8. OAuth2 クライアントの概要ページ
- Test the connection for Non-RISE compliant systems.
transaction SE38を実行し、RISE に準拠していない S4 システムのプログラム名「/UIPATH/TEST_OAUTH2_SERVICE」を入力します。- [Execute] を選択します。選択/パラメーター画面が表示されます。
- システム/ユーザー/パスワードと一致するように次のパラメーターを更新します。
- 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.
- Select Execute. The results appear on the next screen.
図 9. RISE に準拠していない接続をテストする
- Test the connection for RISE compliant systems.
transaction SE38を実行し、RISE に準拠している S4 システムのプログラム名「/UIPATH/TEST_OAUTH2_SRV_RISE」を入力します。- [Execute] を選択します。選択/パラメーター画面が表示されます。
- システム/ユーザー/パスワードと一致するように次のパラメーターを更新します。
- 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.
- 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.