Skip to Content
0

how to loop the whole page in smartform?

Apr 02 at 06:20 AM

25

avatar image

Hi,

In the first page I am displaying a table in main window. And second page on wards i need to display single page for every line item present in the first page table. This i achieved by adding a loop under the main window of page 1 and used a command under the loop to call page 2, now i need page 2 on wards as portrait mode whereas page 1 is in landscape. now if i change the size of 2nd page main window size its going to dump saying both the main window size should be same. Kindly suggest me what to do.

smartforms.jpg

smartforms.jpg (456.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Hedvig Rohonyi
Apr 09 at 01:03 PM
0

Hi,


I think this is as per design. According to the online documentation: the main window must have the same width on each page, but can differ in height. So the error message is correct.

https://help.sap.com/viewer/e0ef07e1f76b4370b1baa502eace5ece/1709.001/en-US/4e513d0f90494db1e10000000a42189b.html

There might be an alternative rotating at 90 degrees if your printer supports rotating but the the simplest solution if you create a second smartform where you can define the page with portrait format.


Best regards,

Hedvig

Share
10 |10000 characters needed characters left characters exceeded