05-24-2004 1:13 AM
Hi everyone.
I have two questions.
1) I have a report where I display a list at the very beginning of the program. Then, after calling a screen, I call the leave-processing event and display another list.
The problem is, if I create a list header for the first list that header appears in the second list and
vise versa. It doesn't matter if one is a normal list header and the other one is a top-of-page.
2) I want to know if is possible to display variables in the list header.
Thanks in advance.
FIDEL PERALTA.
05-24-2004 10:10 AM
One way to do this is to not use the list heading functionality. Remove this by Adding the following code to your report statement:
REPORT ZREPORT NO STANDARD PAGE HEADING.
Then you can use the write statements to produce your own page headings based on a specific variable. One way to do this would be within the top-of-page event, this is call at the start of every new page:
i.e:
Top of page event
TOP-OF-PAGE.
case gd_heading.
when '1'.
write: 'heading 1'.
when '2'.
write: 'heading 2'.
endcase.
Hope this helps
regards
Mart
05-24-2004 4:53 PM