cancel
Showing results for 
Search instead for 
Did you mean: 

ALV in ITSmobile: row count and navigation arrows

anne_angsmann
Explorer
0 Kudos

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!

Accepted Solutions (0)

Answers (2)

Answers (2)

anne_angsmann
Explorer
0 Kudos

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.

cris_hansen
Advisor
Advisor
0 Kudos

Hello Anne,

The ALV is not fully supported over ITSmobile. Please read SAP note 1037715 for the supported functions.

You can also check whether the corrections from SAP note 1668784 are available in your system (some new features that were delivered).

Kind regards,

Cris