Skip to Content
0
Former Member
Jun 23, 2005 at 05:47 AM

Top-of-page for list display thru ALV

333 Views

Hi All,

I was suppose to write a detail report thru ALV, this I have handled thru hotspot and in the user_command,I am have the below code.. for ALv I am using FM REUSE_ALV_GRID_DISPLAY

FORM User_command.

WHEN '&IC1'.

PERFORM LIST_DISPLAY using RS_SELFIELD-tabindex.

ENDFORM.

FORM LIST_DISPLAY USING P_INDEX.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 500.

SET PF-STATUS space.

SUPPRESS DIALOG.

Read table g_t_sum index p_index.

loop at g_t_emp where code = g_t_sum-code and

keyfld = g_t_sum-keyfld

write :/ g_t_emp-pernr, 10(25) g_t_emp-sname.

endloop.

ENDFORM.

The above write statment is not trigerring either top-of-page ot top-od-page during line-selection.

I have even tried pushing the event and form name into it it_events..

Kindly suggest how to go about this, I need to get top-of-page for this list-display.

Thanks in advance

Regards,

Mangalagi S V