Sap-dashboards-data-connections

提供:Dev Guides
移動先:案内検索

SAPダッシュボード-データ接続

モデルを外部データソースに接続できます。 モデルを実行すると、データソースの現在の情報に従ってデータが更新されます。 次の方法で外部データソースに接続できます-

  • Data Managerで外部データ接続を使用する
  • BIソースからクエリを作成する

データ接続の管理

データマネージャー(CTRL+ M)を使用して、すべてのデータ接続を管理できます。 データマネージャーを開くには、次のスクリーンショットに示すように*データ→接続*に移動します。

接続

SAPダッシュボードデザイナーでは、次のデータ接続がサポートされています-

  • Webサービスとしてのクエリ(QWAAS)
  • Webサービス接続
  • SAP NetWeaver BW接続
  • XMLデータ
  • クリスタルレポートデータコンシューマー
  • ライブサイクルデータサービス
  • 外部インターフェース接続
  • Live Office接続
  • Flash IslandとしてのWeb Dynproアプリケーションおよび以下の多くのアプリケーション。

外部データ接続の追加

外部データ接続を追加するには、次のスクリーンショットに示すように*データ→接続*に移動します。

接続

[データマネージャー]ダイアログボックスで、[接続の追加]をクリックし、リストから接続タイプを選択します。

データマネージャー

次のステップは、データ接続を構成することです。

接続を削除するには、データマネージャーで接続を選択し、[削除]ボタンをクリックします。

クエリをWebサービスとして構成する方法

クエリをWebサービスとして設定するには、[データ]→[接続]に移動します。[データマネージャー]ダイアログボックスで、[追加]をクリックして[Webサービスクエリ]を選択します。

Webサービスクエリ

定義ウィンドウで、次の詳細を入力します-

  • 名前-接続の名前。
  • WSDL URL -Webサービスクエリによって生成されたWSDLのURLを入力するか、リストから選択します。 インポートをクリックします。

定義ウィンドウ

ドロップダウンリストからメソッドを選択します。 メソッドを選択すると、WebサービスのURLが表示されます。

RunQueryAsAService

This web service call is generated for index unaware prompts.

このメソッドでは、年のプロンプト値としてEnter_Year_As文字列が必要です。

RunQueryAsAServiceEx

This web service call is generated for index aware prompts. The input and output parameter sets are the same as for RunQueryAsAService method except for the input prompt for year values.

このメソッドには、年のLovValueIndexのインスタンスが必要です。

Valueof_ This method is generated only when the Web service query encloses atleast one prompt and is intended to provide a list of values for the prompt it is named after.
  • 入力値- *
Input Values When you import the WSDL, the required inputs defined for the web service are displayed in this list. To set a value for each item, select the input object from the list then set the* Read From* option to map it to your model.

読み取り値と出力値-

Read From If the input values list includes items that require input, select the input item and then click the cell selector (selector) to select a cell from the embedded spreadsheet where the selected object will retrive its value.
Output Values When you import the WSDL, the output parameters for the results object in the web service are displayed in this list.

[使用状況]タブで、次のスクリーンショットに示すように、更新とメッセージのオプションを設定します。

使用法タブ

同様の方法で、ダッシュボードで他の外部データ接続も構成できます。