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: 

ALV problem

Former Member
0 Kudos

i have activated my ALV program successfully but i couldn't get the solution i have received error message 'call back event USER_COMMAND' doesn't exist.

message code - 0531.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

In your program you may not have USER_COMMAND subroutine in your program, but it is used in the FM of ALV.

Just comment the ALV USER_COMMAND and test your program. While activation you will not come across with any issue.

Thanks,

Sriram POnna.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos
call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program          = sy-repid
     I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
....

then you didn;t mentintion the FORM then you get such kind of error.

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


ENDFORM.

either you mention the formn implementation in your program or comment the i_callback_user_command parameter.

do one of them to avoid. if you need to do some user actions then have dynamic form routine inside your program

Former Member
0 Kudos

Hi,

In your program you may not have USER_COMMAND subroutine in your program, but it is used in the FM of ALV.

Just comment the ALV USER_COMMAND and test your program. While activation you will not come across with any issue.

Thanks,

Sriram POnna.

Former Member
0 Kudos

hi..

in the reuse fm of alv if you are not using user_command then just comment it...

and if you are using it just write the form for that and whatever you want to execute on user action in this form.

that cud be the only reason..just check..