Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hello everyone,

i'm in need of a way to display a tile (somewhat like this: https://sapui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.GenericTileAsLaunchTile/preview ) 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?

  • SAP Managed Tags:
0 REPLIES 0