cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IRPA/BPA working with tables within S/4 Web/SAPUI5

liskaj01
Participant
823

Hello, I am bit struggling as how to define tables within S/4 public cloud. I was able to work with tables in IRPA effectively within classic SAP Gui. But this SAPUI5 is bit mystery for me. Example below:

liskaj01_0-1738341390696.png

liskaj01_1-1738341566523.png

I need something like get rows count and get rows only for filled rows, columns etc. After playing with this for whole afternoon I did not find any working way. Are there any best practices for how to work with these tables?

Thank you.

Accepted Solutions (0)

Answers (3)

Answers (3)

liskaj01
Participant

Hi @Luca1203 in the end I was able to make it work. But to be honest its not intuitive at all and the way this works is completely different from classic GUI tables. Man have to be very careful with exact definition of each element. If you have some specific question/issue that you are dealing with, I may be able to help you.

Luca1203
Explorer
0 Likes
Do you have any good resources or best practises on how to define the Elements? Maybe you can show me a screenshot of your Table Definition. My struggle ist with inserting more than one row in to the Fiori Table. The first row is straight forward, but the second row wont be recognized. In SAP GUI you can just say its Field in a List and the Table gets recognized automatically.
liskaj01
Participant
0 Likes

@Luca1203 I am using it only for getting element values (so not inserting) but you have to define it as collection and also make sure to have it uniquely identified - so if you have 20 rows, including empty ones, you must have 20 elements identified. Sometimes I got double the amount as it recognized similar elements on the page. Then you have to play with id or class. For first time while clicking on row, the id is set as equals and has text for example: application-AutomaticPayment-schedulePaymentProposal-component---MainView--list-rows-row3

So delete the "--list-rows-row3" and change it from "equals" to "contains". Now it should mark each line of table in orange. Mark it as collection and it should go to green. While you will be going through lines, the ntn-child-tag should change based on which line you are. Also use "Both" view as it combines screen and tree view and can help you navigate within the page better.

liskaj01_0-1742384439331.png

Hope it helps

liskaj01
Participant
0 Likes

@arroyoweisson I took a very quick look but whole this area of APIs is quite new for me. If you have any ideas about this, let me know. The automation we are just completing needs to go through 3 fiori apps (manage automatic payments, line items, display supplier invoice) and get some data from them.