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-abap] REUSE_ALV_LIST_DISPLAY event 'TOP_OF_PAGE'

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

Posted by Kalyani Udare
on Oct 17 at 1:51 AM
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
Mark as helpful
View this online
  
Popular White Papers

In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

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