Get a table row Version 1 (Net)

Action group: SAP


Description

The action gets values from a table row.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
SAP applicationAn instance of the SAP application that the action works with.Robin.Sap
Yes
ElementA table type element in the SAP application window. If the specified element is not a table type element, the action returns an error.Robin.WinElement
Yes
LineThe ordinal number of the row from which the data will be received. If a row number is specified outside the table, the action returns an error. Numbering starts from 1.Robin.Numeric
Yes
Results
ResultCollection of values of the selected row.Robin.Collection

Special conditions of use

The robot will return an error if:

  • element of a non-table type is specified.
  • element is not found.
  • the number of rows outside the table is specified. (<1, >number of rows).
  • SAP is not responding.

Example of use

Task

Get the first row from the SAP table.

Solution

Use the "Connect to session", "Get a table row" actions.

Implementation

  1. Assemble a robot scheme with the actions:
  2. Set the "Connect to session" action parameter.
  3. Set the "Get a table row" action parameters.
  4. Start the robot by clicking "Start" in the top panel.

Result

The program robot completed successfully. The collection of values of the specified row was obtained.

  • Нет меток