Need Help in REUSE_ALV_GRID_DISPLAY

I'm using REUSE_ALV_GRID_DISPLAY module in my ABAP program to display the table in ALV grid format. Now, I want that when I double click a row of the table, it should call an external function with parameters specific to that row. More specifically, display another ALV grid based on that row which user double click on. I've tried many SAP online forums and ChatGPT but all of them giving some sort of syntax error. Please help.