How to dynamically tick on check boxes in SAP tables?

I have a SAP table in which I need to tick on check boxes based on the description in the column ‘Narration’. If I have a specific keyword in the cell i need to tick the checkbox corresponding to the specific cell. Can anybody guide me?

@Aswin_Kv

Use sap table scope activity…inside that based on column and row you can either get or set values

Cheers

1 Like

Hi @Aswin_Kv

For each line in your SAP table there is row & column index you can make it dynamic in your check box selection. Select couple of values in the table & check the difference in the selector.

When you will iterate over the narration column the same index of row column value most probably will be used in check box you can use the get attribute to get the row index & then pass the value in your dynamic check box .

Steps-

  1. Select a few checkboxes in the table and observe the differences in their selectors. This will help you identify the dynamic parts of the selector, such as row and column indices.
  2. Use the Get Attribute activity to retrieve the row index of the current row when you will find a match in narration.
  3. Create a dynamic selector for the checkbox using the row index obtained in the previous step.

Hope this helps :slight_smile:

1 Like