Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
You can declare an internal table as: types: begin of ztable, wbs_desc type ps_post1, activity type ltxa1, end of ztable. data: gt_data type standard table of ztable, wa_data type ztable. "Explicit work area for gt_data This way you can use the internal table in your program. Hope this helps you. Regards, Kalyani
| | | ---------------Original Message--------------- From: Stanislav Spidlik Sent: Friday, October 14, 2011 3:11 PM Subject: REUSE_ALV_LIST_DISPLAY event 'TOP_OF_PAGE' Hello, can anybody help me ? I have filled TOP_OF_PAGE event with corresponding form into lt_event table when calling FM REUSE_ALV_LIST_DISPLAY : CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING .... it_events = lt_event TABLES t_outtab = gt_data. Now I want to write some information about current row in top_of_page form: FORM top_of_page. DATA : ls_data TYPE ts_data. ... ls_data = gt_data. write :/ ls_data-lifnr .... ... ENDFORM. This works if gt_data is table with header line. But I want to use table without header line in my code. Is the way how to do it? I mean how to get index of current record if table has no header line? Thanks in advance, Stanislav | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Popular White Papers In the Spotlight _.____.__ |