# RFCデスティネーションを作成

設定に直接つながるSAP transaction SALEまたはSM59を使用して、Talend SAP RFC Serverを指し示すRFCデスティネーションを作成できます。

## 始める前に

次のステップに進む前に、SAPユーザーがTalendジョブとTalend SAP RFC Serverに接続するよう作成されていることをご確認ください。

## 手順

1. SAP GUIを使用して、SAP管理者としてSAPにログオンします。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_01.png)
2. 設定に直接つながるSAP transaction SALEまたはSM59に移動します。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_02.png)
3. [Create RFC Connections] (RFC接続を作成)をクリックし、次に新しいTCP/IPベースのRFCデスティネーション、この例ではTALEND\_TL\_RFC\_DESTINATIONを選択して作成します。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_03.png)
4. [Technical Settings] (技術設定)タブで、[Activation Type] (アクティベーションタイプ)の[Registered Server Program] (登録されたサーバープログラム)を選択し、次に、[Program ID] (プログラムID)と[Gateway Options] (ゲートウェイオプション)をそれぞれ設定します。

   ![この例では、プログラムIDの値はTALENDです。ゲートウェイホストの値はSAPゲートウェイホストのIPアドレスで、ゲートウェイサービスの値は通信ポートの値であるsapgw00です。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_04.png)

   情報メモ要確認: SAPのプログラムIDは、Talend SAP RFC Serverのエントリーと同じにする必要があります。
5. [Unicode] (ユニコード)タブで、ユニコード/非ユニコードを設定するために使われます。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_05.png)

   情報メモヒント: Unicodeを強くお勧めします。
6. 必要に応じて設定ファイルを編集し、Talend SAP RFC Serverを設定するために使われます。
7. Talend SAP RFC Serverを開始します。

   Talend SAP RFC Serverの設定と起動の詳細は、[Talend SAP RFC Serverを手動でインストール](https://help.qlik.com/talend/ja-JP/installation-guide-linux/8.0/installing-talend-sap-rfc-server-manually)と[Talend SAP RFC Serverを開始または停止](https://help.qlik.com/talend/ja-JP/installation-guide-linux/8.0/starting-or-stopping-rfc-server "binディレクトリー内のスクリプトまたはバッチファイルを実行すれば、Talend SAP RFC Serverを手動で開始または停止できます。")をご覧ください。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_06.png)
8. [Connection Test] (接続テスト)をクリックして、Talend SAP RFC Serverへの接続ステータスを確認します。

   ![](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_07.png)

## タスクの結果

すべてのパラメーターが正しく設定されていれば、以下のような画面が表示されます。これは、tSAPIDocReceiverコンポーネントを使用したTalendジョブが、IDocsを受信する準備が完了したことを示しています。

![この例では、ログインテストに6ミリ秒、20KBのデータ転送に3ミリ秒かかっています。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_08.png)