Load PHD using SAP Native RFC
This workflow retrieves all the available performance history data from the specified RFC Destination using calls to the SWNC_COLLECTOR_GET_DIRECTORY and SWNC_COLLECTOR_GET_AGGREGATES SAP functions. The retrieved Application and Users statistics are written to the RFC Destination’s PHD tab, and then retrieved into the workflow’s Application Statistics, User Statistics, Application Archive and User Archive Table datasets.
Prerequisites
If you have installed LiveCompare in SAP using a custom role, note that the LiveCompare user requires the following authorization to download performance history data using the SAP Native RFC method.
| Field | Value | 
|---|---|
| Authorization object | S_TOOLS_EX | 
| Field name | AUTH | 
| Value | S_TOOLS_EX_A | 
Prepare the workflow
To prepare the Load PHD using SAP Native RFC workflow, drag its workflow template from the Templates > Tools folder into your own workspace, then modify the workflow as follows:
To specify the system from which to retrieve performance history data:
- 
                                                        Select the PHD System parameter and choose Edit RFC Destination from its context menu to display the RFC Destination dialog. 
- 
                                                        Select the appropriate RFC Destination, then click Save. 
Click  to save the workflow.
 to save the workflow.
Run the workflow
To run the Load PHD using SAP Native RFC workflow, click the  toolbar button, choose Run Now from the workflow’s context menu or select F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, examine the contents of the Application Statistics, User Statistics, Application Archive and User Archive Table datasets to view the retrieved performance history data.
 toolbar button, choose Run Now from the workflow’s context menu or select F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, examine the contents of the Application Statistics, User Statistics, Application Archive and User Archive Table datasets to view the retrieved performance history data.