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 to use user command in ALV Fm REUSE_ALV_GRID_DISPLAY_LVC

Former Member
0 Kudos

Hello Guru's,

I am using Fm - REUSE_ALV_GRID_DISPLAY_LVC to display the data in ALV grid .In this fm dont know how to user user command.I want call screen after click on basic list .

Please suggest.

Regards,

Paresh

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

There is no difference when coming to event handling. the way you do for ALV grid function you can do it here also.

call function 'REUSE_ALV_GRID_DISPLAY_LVC'
 exporting
   i_callback_program                = sy-repid
   I_CALLBACK_USER_COMMAND    = ' USER_COMMAND'
...

FORM USER_COMMAND using ucomm type sy-ucomm 
 selfield type slis_selfield.


endform.

0 Kudos

Hello Vijay,

thanks for your reply.

I have already coded in same way but it is not working.when I double click on record ,it is not going in debug mode.

Please suggest.

Regards,

Paresh

0 Kudos

if possible share the code.