2007 Jan 09 9:46 AM
Hello,
Who could help me further with the following problem?
In a program I use the function REUSE_ALV_GRID_DISPLAY. Every thing is working fine except one thing. I enabled the default buttons for the ALV so the user is able to sort the list and use the filter etc. One of the buttons is the refresh button. When I press this refresh button the program doesn't pass the function or form which is mentioned in the parameter "I_CALLBACK_USER_COMMAND" of the function REUSE_ALV_GRID_DISPLAY.
All the other functions and user interactions which I have defined in the ALV, like hotspots and an extra print button are working fine and call the function which is mentioned in the parameter.
In my program I'm creating an internal table. This internal table has to be rebuild when the refresh button is pressed. What I see now is, when I debug the program, if I press the refresh button, is that the ALV is refreshed with the values of the internal table. I have to jump out the refresh so the internal table selects the new values.
Kind regards,
Richard Meijn
Hello,
Who could help me further with the following problem?
In a program I use the function REUSE_ALV_GRID_DISPLAY. Every thing is working fine except one thing. I enabled the default buttons for the ALV so the user is able to sort the list and use the filter etc. One of the buttons is the refresh button. When I press this refresh button the program doesn't pass the function or form which is mentioned in the parameter "I_CALLBACK_USER_COMMAND" of the function REUSE_ALV_GRID_DISPLAY.
All the other functions and user interactions which I have defined in the ALV, like hotspots and an extra print button are working fine and call the function which is mentioned in the parameter.
In my program I'm creating an internal table. This internal table has to be rebuild when the refresh button is pressed. What I see now is, when I debug the program, if I press the refresh button, is that the ALV is refreshed with the values of the internal table. I have to jump out the refresh so the internal table selects the new values.
Kind regards,
Richard Meijn
2007 Jan 09 9:51 AM
try this...
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.
when 'XXXX'.
...
...
P_SELFLD-refresh = 'X'.
endcase.
2007 Jan 09 10:19 AM
Hello,
This is the strange thing. If I but a break in my program on the case statement of the user_command function the program doesn't stop on the case statement?
So it doesn't pass the case statement when the refresh button is pussed. I have defined an other button to print selected lines. If I press that button the case statement is passed?
Kind regards,
Richard Meijn
2007 Jan 09 10:26 AM
2007 Jan 09 10:28 AM
2007 Jan 09 10:37 AM
The standard pf-status which I'm using is "STANDARD_FULLSCREEN" for the parameter I_CALLBACK_PF_STATUS_SET.
Regards,
Richard
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |