on 08-20-2018 10:28 AM
Hello,
I have a question about an ALV grid in an ITSmobile template.
The ALV itself is working fine on the mobile device, but it was created by someone else, so I don't know the technical details.
Now I need to understand the additional functionality below the ALV: there's a bracket containing the number of ALV rows (e.g. (3)) and an upwards and a downwards arrow for navigation in the ALV grid, as can be seen in the following screenshot: screenshot3.jpg
The arrows are not working properly: if there are no entries at all in the ALV, there is a text saying "Last page (0)" and the upwards button is active: screenshot1.jpg
When I click on the upwards button, the text changes to "First page (0)" and the downwards button gets activated: screenshot2.jpg
As soon as there is at least one entry in the ALV, it shows the number of rows as described above, and both up/down buttons are greyed out.
So in my opinion the buttons are not working properly. Shouldn't they allow for navigation in the ALV, so they should be active when the ALV contains entries?
The text and buttons are not visible when I call the screen in ABAP, so they are clearly created somewhere inside ITSmobile. However, I was unable to find the part of the code where they are set. It seems that the default ITSmobile functionalities are used, since the HTML code of the template contains the statement "~name=~itsmobileCustomControls".
And a further question would be: is it possible to add a condition to the row count, so that only those rows are counted which fulfill a certain condition?
Any help would be appreciated!
Thanks a lot!
Thank you, Cris!
I haven't been able to remove or change the buttons, but I've now understood why the up/down buttons behave the way they do: It's possible to set the parameter ~ALVGRIDPAGESIZE in the service, which allows to limit the number of ALV rows per page to a fixed number. Once the ALV contains more entries than this number, the up/down buttons become active and allow the user to navigate between the different ALV pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.