02-20-2008 6:21 PM
I need to add a refresh button to my ALV report designed using CL_SALV_TABLE class. I made a copy of the SALV_TABLE_STANDARD status from function group SALV and added it to me program. Then I have code that says
gr_table->set_screen_status( pfstatus = 'SALV_TABLE_STANDARD'
report = sy-repid
set_functions = gr_table->c_functions_all ).
I still dont see the refresh button though. What am I doing wrong? Infact there are many button from the application toolbar that are missing.
02-20-2008 7:08 PM
That didnt not solve it. I copied the GUI status from SALV. And in my program I can see all the buttons. But Do I have to activate something or add the buttons somehow?
02-20-2008 6:40 PM
02-20-2008 7:08 PM
That didnt not solve it. I copied the GUI status from SALV. And in my program I can see all the buttons. But Do I have to activate something or add the buttons somehow?
02-20-2008 7:20 PM
Megan,
Yes, after you copy the gui status to your program, you must edit that gui status and add your new button. Follow this tutorial here.
When modifying the gui status, if there is no room, you can get rid of one of the icons at the end, such as one of the "black" arrows. I have done so in the example in the tutorial.
Regards,
Rich Heilman
02-20-2008 7:29 PM
But the refresh button is already available. Then why do I have to add myfunction to the application toolbar.
02-20-2008 7:31 PM
Well I went ahead did what you said and added a myfunction with the refresh icon. And Now I see it in there Thanks Rich
Now I am going to go through your document to figure out how to code the event part of it.
05-07-2009 12:04 PM
My problem is the same. I can't see the refresh button, although it is already defined in the gui status.
Is there any way to enable this standard function?
The workaround to define my own function would be ok, but it's not the best way, not?
Thanks for any help.