‎2010 Aug 30 1:31 PM
hi experts,
Please help me to create generic alv header. It can be function module which we can call in any report and get the header details in the report as the data we have pass to shoe in the report.
Thanks in advance.
sahil
‎2010 Aug 30 2:03 PM
‎2010 Aug 30 2:08 PM
Moderator message - Welcome to SCN. Have a look at FM REUSE_ALV_COMMENTARY_WRITE Rob
‎2010 Aug 30 2:57 PM
Hi rob,
Thanks for reply but my requirement is to create a generic function module where i can pass the diffrent header details for different alv report and it will display. So for that what logic shoul i use to create such type of generic function module .
Thanks,
Sahil
‎2010 Aug 30 3:04 PM
‎2010 Aug 30 3:07 PM
What is "different header details"? I assume you mean the selection criteria as entered by the user. What else, system, time, date, client, user name? Please describe your problem in all relevant detail to keep people from guessing. Also search for existing solutions, a lot of brains have been thinking about a central function for outputting selection criteria already.
Thomas
‎2010 Aug 31 7:37 AM
Hi Thomas,
Thanks for reply, 'different header details' means like i have created common function module which display header details on alv report. So whenever i create a report and want to show header detail on alv report than i just call this function module in the report and pass the values that i want to display on the header. It can be function module or subroutine.
Thanks
sahil
‎2010 Aug 31 7:41 AM
hi ,
U need to write this FM REUSE_ALV_COMMENTARY_WRITE in Top of page event in the ALV to write the header information.
Regards,
Bharani
‎2010 Aug 30 3:25 PM
Just perfom some search
- on [RS_REFRESH_FROM_SELECTOPTIONS in forum|http://forums.sdn.sap.com/search.jspa?q=RS_REFRESH_FROM_SELECTOPTIONS&objID=c42] and [wiki|http://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=RS_REFRESH_FROM_SELECTOPTIONS&searchQuery.spaceKey=conf_global]
- on [REUSE_ALV_COMMENTARY_WRITE in forum|http://forums.sdn.sap.com/search.jspa?q=REUSE_ALV_COMMENTARY_WRITE&objID=c42] and [wiki|http://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=REUSE_ALV_COMMENTARY_WRITE&searchQuery.spaceKey=conf_global]
Regards,
Raymond