on ‎2025 Jan 31 4:45 PM
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:
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.