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

Repeat name of columns of a table in sap script


I want to repeat the name of the columns of a table when the data spills over to the next page in sap script.

Please advise.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 14, 2010 at 04:08 PM

    I am assuming you have two pages(FIRST & LAST) definded in your sapscript.

    Follow these steps in SE71 sapscript editor.

    1. Identify the window from the "FIRST" page that you want to print on the "LAST" page. This window will have all your column names in it.

    2. Replicate this Window on the "LAST" page.

    3. Edit this window and ensure you print it only if you have lines remaining to print. You will have to add code in it.

    4. The form Print Program mighy undergo a change to print the columns. That depends on your sapscript and print program. If you don't do it, you will observe that SAP will print it at the end of everything else. In some instances I have observed that you have to define an element and then you use configuration to re-order the element list for print. This way you can avoid modifying the original or making a copy of the Print Program.

    Hope this helps. Drop a note on how it goes.

    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.