Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPscript layout -Repeating Main window in same page


I have a requirement in sapscript layout to duplicate content within a page in two sections, of which the content can span across multiple pages.

Can anyone give an idea how this can be achieved.

This particular layout has 3 sections:

1st window (Top window): invoice Details (multiple items)

2nd window (Middle window): Check Details single item

3rd window (Bottom window): invoice Details (multiple items) {same content of the 1st window}

The invoice details can span across multiple pages.

Main window alone works perfect with the requirement.

I have attempted with a copy of a Main window for the 3rd window, and as it's specified it can only continue from the 1st main Window and i couldn't find a way to control it's value passing from the calling program.

I have also tried using a dynamic window for the 3rd window, but haven't worked to get the desired values shown across multiple pages. When it cross to a new page it repeats its last value across all pages.

Please help me with this. Thanks in Advance.



Former Member

May be you can try by using the combination of the FM READ_FORM_LINES and WRITE_FORM_LINES.

There is a command called NEW-WINDOW which will call your next main window. You can also use that.


Naimesh Patel

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question