cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat name of columns of a table in sap script

Former Member
0 Kudos

Hi,

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.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

maulik
Contributor
0 Kudos

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.