Skip to Content
avatar image
Former Member

Handling Tables / Navigation in Tables in SAP Screen Personas 2.0

Hello all,

I found some videos concerning to the Subject "Table Handling and Navigation in SAP Screen Personas Scripts for version 3.0", but I found nothing for   Version 2.0.) .

The special Question is:

Is it possible to find the first emty row in a table control in a SAP Screen Personas 2.0 flavor. and is it possible to fill fields of the first empty row  of the table control using a script.

If the answer is "Yes":  what I have to do realize it in SAP Screen Personas 2.0.

Thanks in advance and

Best regards

Adrian Scheffer

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 12, 2015 at 10:25 AM

    In general, the answer to this question is no. Because Personas 2 scripting does not support looping there's no way to look through a table looking for an empty row.

    However, some transactions have an "add" button that adds a blank line in a predictable position - top row, or second row. Or sometimes there's a "page to the end" button that leaves the first blank line in a known position. If the transaction you are trying to use works this way, then you don't need the looping.

    Does that help?


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Steve,

      we tried it as you said. an found a work around.

      If you have a table minimized for example to 10 rows. you can always set the Focus on row 10  by script and add a new row with the same script .

      The add new role button works at the first time but the script does not remember the Position dynamically but takes the absolute position used in the script at time of recording.

      After ist done the new row is in the right Position. (All empty rows are deleted.

      (If you scroll down and use for example row 50 you see an empty table and you can see your Input only after Scrolling up manually.) . 

      So thank you very much  and best regards