Skip to Content

How can i use HTML to create a tile that on click opens an ALV

Aug 25, 2017 at 07:13 AM


avatar image
Former Member

Hello everyone,

i'm in need of a way to display a tile (somewhat like this: ) in a container in ABAP.

What i need is a way to display tiles in a 3x3 grid. Each "spot" of the grid shall display 1 tile which on click (left-click) raises an event. This event would be then used to call a new sy-ucomm ( "cl_gui_cfw=>set_new_ok_code( new_code = 'REFR' )." ). This sy-ucomm shall then refresh the page and display an ALV.

I thought about using 9 HTML controls for the 3x3 grid, as they need to change dynamically. 9x image controls just wouldnt do the trick.

The second part (after the tile was clicked) is easy, the first part not so much. It should be no problem generating the dynamic HTML for the tiles. But i know no HTML Control which lets me raise an event on left click for the whole control (maybe setting a background image with a link would do the trick here) and is usable in containers.

Any suggestions?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers