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

Top of page issue..

HI All,

I have header information like ‘XYZ Company Ltd and so and so’ under the Event TOP-OF-PAGE. So when I execute the program for each and every program header is coming, actual my requirement is header should be constant, it should not generate for every page, it should come only once, means we have to fix the header as a constant and data should come for every page.

Could you please let me know how to write the code for the same?

Akshitha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 28, 2008 at 01:46 PM

    Hi Akshita,

    Put a flag and check the flag before it gets printed.

    data v_flag(1).
    end-of-selection.

    if v_flag = space.
    V_FLAG = 'X'.
    *WRITE STATEMENTS
    ENDIF.

    Regards,

    Ravi Kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 01:53 PM

    Hi,

    If you use top of page it will be there in all the pages. You may remove that and can use a write statement with text symbols for the heading.

    If you get more solutions, pls share it here.

    Regards,

    Renjith Michael.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 01:58 PM

    hi

    good

    it is quite confusing that you have mentioned here for each and every program header, if you have written the TOP-OF PAGE for one program than how does it possible that it would display for all the program,pls check your code on debugging mode and see where exactly you have written your top-of page statement.

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 01:59 PM

    Hi ,

    In the top-of-page put the page condition .

    if sy-pagno eq 1.

    use write statement.

    endif.

    Reward Points if useful

    Regards,

    Nageswar

    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.