Attach Applications

It allows you to bring the available SAP application window in focus to perform the subsequent action in the SAP application. It is useful when as a part of the automation process workflow, the SAP application is already launched, signed in and in the required state such as scenarios where SAP thick client is launched from a Web application.

This activity must be used inside an Application activity or the system displays an error.


NOTE:  

When SAP application is configured in the Admin menu of Automation Studio, make sure the Is Startup Launch Required check box is cleared as it is expected that the available SAP application is already launched and signed in.

  

Using Attach Application Activity

1.    Make sure that the prerequisites for using SAP Recorder activity is met.

2.    In the Canvas Tools pane, click Process Components to expand the tool and view the associated activities.

3.    Drag the Application activity and drop on to the Flowchart designer area.

 

 

4.    From the Application Type list, select SAPApps. Application type that has at least one application added to it appears in the drop down list.

5.    In the Select An Application drop down list, select the SAP application you want to perform automation on. You can add or configure a SAP application that is already added in Automation Studio or add a new application at this level.

6.    Double click the Application activity to open the activity container.

7.    In the Canvas Tools pane, click SAP Thick Client to expand the tool and view the associated activities.

8.    Drag the Attach Application  activity and drop in the Application activity.

 

 

9.    In the Select Operation list, select the criteria to search for the required application in focus. Available options are:

·       Default- selects the window based on the deafult window name.

·       Equals- selects the window based on the exact match with the window name.

·       Contains- selects the window based on the text present in the window name.

·       StartsWith- selects the window based on the starting text of the window name.

·       EndsWith- selects the window based on the text with which the window name ends.

10.  In the Window Title field, enter the title of the SAP application window and select the check box to set it as the default value of the title. Alternatively, In the Window Title list, select a parameter that holds the title of the window of the application. You must define the parameter in the Parameter bar to use this option.

The Attach Application for the intended SAP application window is created. You can add an activity just below the Attach Application activity to perform the next action on the application in focus.

Attach Application Properties

The properties of an Attach Application activity are listed in the following table and can be edited in the Property grid on the right panel.


Property Name

Usage

Control Execution

Ignore Error

When this option is set to Yes, the application ignores any error while executing the activity.

If set to NA, it bypasses the exception (if any) to let the automation flow continue; however, it marks the automation status as failure, in case of an exception.

By default, this option is set to No.

Delay

Wait After

Specify the time delay that must occur after the activity is executed. The value must be in milliseconds.

Wait Before

Specify the time delay that must occur before the activity is executed. The value must be in milliseconds.

Misc

Breakpoint

Select this option to mark this activity as the pause point while debugging the process. At this point, the process freezes during execution allowing you to examine if the process is functioning as expected.

In large or complex processes, breakpoints help in identifying the error, if any.

Commented

Select this option to mark this activity as inactive in the entire process. When an activity is commented, it is ignored during the process execution.

DisplayName

The display name of the activity in the flowchart designer. By default, the name is set as Attach Application. You can change the name as required.

On This Page Hide