cancel
Showing results for 
Search instead for 
Did you mean: 

how to loop the whole page in smartform?

Vaishak
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

hedvig_rohonyi
Employee
Employee
0 Kudos

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/4e513d0f90494db1e1000000...

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