Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from arbis82 on May 25 at 4:00 AM Use the IT_EVENTS parameter of the REUSE_ALV_GRID_DISPLAY function module. create an internal table, say t_events (TYPE slis_t_event) and pass it to the FM REUSE_ALV_EVENTS_GET. this will fill up the events table with the list of possible events. Then, read the table t_events where event name is 'TOP_OF_PAGE' and assign a name (say FORM_TOP_PAGE) to the name field. Next you need to code the form FORM_TOP_PAGE. Here you'll need to declare: - a table t_listhdr of type slis_t_listheader and - a work area w_listhdr of type slis_listheader. then add the relevant fields to this table. For example if you want to display BUKRS: w_listhdr-typ = 'S'. w_listhdr-info = <field name where BUKRS is stored> APPEND wa_listhdr TO t_listhdr. Finally, call FM REUSE_ALV_COMMENTARY_WRITE and pass t_listhdr in the parameter it_list_commentary. You can search for sample codes in Google using these keywords: REUSE_ALV_COMMENTARY_WRITE TOP_OF_PAGE event
| | | ---------------Original Message--------------- From: Varun Sent: Friday, May 25, 2012 3:22 AM Subject: Display Select Option Data in ALV header I want to display the data i entered at select option(selection screen) i.e. BUKRS , LIFNR, EKORG in header of the ALV grid. I am using REUSE_ALV_GRID_DISPLAY . Kindly Help. | | Reply to this email to post your response. __.____._ | _.____.__ |