We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Display Select Option Data in ALV header

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
 
arbis82  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language