Skip to main content

Hi all,

I’m trying to get the row count from a table displayed in a SAP screen. Trying to use the “Get Row count” action in SAP package but not sure what I should input for the Field path.

Same issue for “Export Table” action.

Appreciate if someone can help.. Thanks in Advance.

 

Hi ​@Srini 6969,

 

The Field Path is the SAP GUI scripting object path of the table control. To get this field path, you need to enable SAP GUI scripting on your SAP system. The Field Path resembles an SAP GUI scripting identifier, such as the one shown in the example."session.findById('wndw0]/usr/cntlGRID1/shellcont/shell')" This field path is then copied and used as input for Get Row Count or Export Table actions.

 

Note:

Multiple sessions are supported in the SAP. However, ensure that while creating a bot that uses multiple sessions, you enter the exact name of the session that you intend to use in the field path for a specific control.

For e.g., /app/con.0]/sesa0]/userid

  • Perform the following actions within the SAP package as part of using the set of available actions:
    1. Establish a connection with the SAP application using the Connect action.

      Log in to the SAP application using the SAP GUI. Then use the Connect action from the SAP package to use this connection and assign a session name. Use this same session name for the other actions.

    2. Use the actions to automate a task.
    3. After you have automated all the SAP-related tasks, terminate the connection to the SAP application using the Disconnect action.

Thank you Padmakumar… will give it a try and get back if any further questions.


Reply