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

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

## 始める前に

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

## 手順

1. SAP GUIを使用して、SAP管理者としてSAPにログオンします。
2. 設定に直接つながるSAP transaction SALEまたはSM59に移動します。

   ![コードフィールドにSALEと表示されているSAP GUIホームページ。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_01.png)
3. [Create RFC Connections] (RFC接続を作成)をクリックし、次に新しいTCP/IPベースのRFCデスティネーション、この例ではTALEND\_TL\_RFC\_DESTINATIONを選択して作成します。

   ![\[Create RFC Connections\] (RFC接続を作成)が選択されている状態でIMGページを表示します。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_02.png) ![TCP/IP接続が選択され、\[Create\] (作成)ボタンが強調表示されているRFC接続の設定ページ。](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] (ゲートウェイオプション)をそれぞれ設定します。

   ![RFCデスティネーションの設定例。](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] (ユニコード)タブで、ユニコード/非ユニコードを設定します。

   ![RFCデスティネーションの設定例。](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を開始または停止](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Cloud/starting-or-stopping-rfc-server "binディレクトリー内のスクリプトまたはバッチファイルを実行すれば、Talend SAP RFC Serverを手動で開始または停止できます。")をご覧ください。

   ![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への接続ステータスを確認します。

   ![\[Connection Test\] (接続テスト)ボタンはRFCデスティネーション設定ページの上部にあります。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_07.png)

## タスクの結果

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

![接続テストは、ログオンし、ゼロから30KBまでのいくつかのデータ範囲を転送するのにかかった時間を示します。どのアクションもかかった時間は10秒未満です。](https://help.qlik.com/talend/ja-JP/installation-guide-linux/Resources/images/configure_sap_to_operate_with_rfc_08.png)