‎2005 Jun 08 1:35 PM
Hi all ,
As per our requirement , I have added a button called 'Summary' to alv gui status ( along with standard alv gui like sort ..) . When I click this button the final internal table contents are changed . I want this changed internal table content to be reflected in the grid without clicking the refresh button .Is there a way to do this.Is there any function module to do this ?
Regards,
Kavitha
‎2005 Jun 08 1:50 PM
Hello,
Once you make modifications in your internal table, once the button is clicked, you call the same ALV display subroutine again.
Best Regards, Murugesh AS
‎2005 Jun 08 3:00 PM
Hi Murugesh ,
In that case , I will get it done . But when I click back button , it will go to the previously displayed alv grid . And then from there , when I click back it will go to the selection screen . This should not happen . There must be only 1 grid and not overlapping grids . When I click back it must go directly only to selection screen.
Regards,
Kavitha.
‎2005 Jun 08 3:09 PM
‎2005 Jun 08 3:13 PM
Hello,
you'll process your 'Summary' command in a form that's defined via I_CALLBACK_USER_COMMAND-parameter.
This form has a given interface:
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
In the structure rs_selfield there's a field 'refresh'.
rs_selfield-refresh = 'X' means that the grid-display is refreshed from the internal table.
Regards
Wolfgang