Skip to Content
author's profile photo Former Member
Former Member

Different list headers in different list in the same report?

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2004 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 24, 2004 at 03:53 PM

    Thank you Mart

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.