Capture one or more SAP application screens, UI elements on the screen, and then expose the methods at the application, screen, or element levels by configuring the SAP connector.
Procedure
-
Navigate to .
-
Drag the SAP connector under the Global Objects in the Project Explorer pane.
The
SAP Application object is added under the Global Objects.

-
Under the Global Objects, right-click the SAP Application and select Configure.
-
In the SAP Connector window, select the drop-down and then select the SAP application screen.

Note: To load any SAP application window that you have opened after opening the
SAP Connector window, select the Refresh icon (

).
-
Select Add Window.
The application screen appears in the WINDOWS pane.
-
To close the SAP Connector window, select OK.
The
SAP application screens that you added appear under the Global Objects in the Project Explorer pane.

-
To expose the application-level methods, double-click the SAP application object under Global Objects in the Project Explorer pane.
The application-level methods appear under the Object Explorer pane.
-
To expose the screen-level methods, select the SAP Application object expand icon (
) and double-click the SAP application.
The screen-level methods appear under the Object Explorer pane.
-
To expose the element-level methods, do the following steps.
-
In the Project Explorer pane, under Global Objects, right-click the SAP Connector object.
-
Select Configure.
-
In the SAP Connector window, in the WINDOWS pane, right-click the SAP application screen that you had added.
-
Select Add Element.
The Capture element dialog appears.
-
Use the Capture element dialog to capture one or more SAP application screen elements.
-
To expose the element-level methods, in the Project Explorer pane, expand the SAP Connector under Global Objects.
-
Under SAP Connector, expand the name of the screen you had captured.
-
Double-click the screen element that you had captured.
The screen element-level methods appear under the Object Explorer pane.