07-12-2012 8:42 AM
Hi all,
I have a requirement where I need to change the Frame text which is displayed in the popup which comes up when using the standard filter in an ALV report.
Currently it says "Select."
Can it be changed to something using any Function module or Method?
07-12-2012 9:18 AM
07-12-2012 9:18 AM
07-12-2012 9:22 AM
07-13-2012 7:40 AM
Hi Saurabh,
is it a standard program or ALV FM used in a custom program?
Venkatesh.
07-13-2012 6:55 PM
Hi Venkatesh,
It is a ALV FM used in custom program.
Regards,
Saurabh.
07-13-2012 11:17 PM
Hi Saurabh Banerjee,
The only chance is doing by Overriding Standard Functions:
The ALV Grid control also gives the opportunity to override its standard functions. For this purpose, we utilize the event “before_user_command” and the method which sets ALV user command, called “set_user_command”. At “before_user_command”, you control the user command to process your own function and then use the method “set_user_command” to set the ALV Grid user command to space to avoid ALV Grid execute further with the standard function.
You can get and set filtering criteria applied whenever you want by using methods “get_filter_criteria” and “set_filter_criteria”, respectively.
Then you may create your own filter dialog (check standard code of function 'LVC_FILTER'/ function 'LVC_FILTER_DIALOG' in function group 'SLVC_DIALOG') with whatever text you want.
Still to decide if it's worth the effort
Regards
Clemens
07-17-2012 10:06 AM
I think Clemen's answer is the right one. But looking at the complexity , I decided to take other alternatives.
Thanks!!