GetColNumbyColHeaders
This is a pre-built action available under the Captured Grid Element from the SAP GUI Application. The functionality of this action in Avo Assure is to fetch the column indexes (numbers) that correspond to specific column header names in a Grid object and save the result int he dynamic variable.
Syntax
Input Value: <Input Column Header>
<Input Column Header>
(Required)
Provide one or more column headers separated by semicolon (e.g., Flight Date;Airline) or (e.g., Flight Date)
Output Value
Dynamic Variable
(Required)
This variable holds the column indexes by header name
Dynamic Variable
(Optional)
This dynamic variable holds the result as True or False.
Example
Retrieves the column index based on the column header name
The GetColNumByColHeaders action takes the value from the Input Value column (e.g., Flight Date) and returns the index position (e.g., 4) of the corresponding column in the SAP grid. The result is stored in the {Col Number} variable


Last updated
Was this helpful?