cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while using different page format for two pages in smartform

Former Member
0 Kudos

Hi user,

I have to create a smartform for purchase order which basically contains two pages

1. First page , contains static company information , is in Portrait format

2. Second page , contains dynamic item details, is in landscape format.

Table definition is embedded in main window as table content is dynamic.

Now problem is -

Width of first page is 20cm (Portrait).

width of second page is 30cm (Landscape)

when i extends table width on second page to match the page width, it gives error "Width of first page is not matching"

Is there any way to extend the table width on second page to match the whole width.

Regards,

Lalit

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

If your problem is solved close the thread.

Regards,

Sravanthi

Former Member
0 Kudos

Hi Friends,

Problem is resolved by creating 2 separate forms and calling 2nd form in first.

Thanks

Former Member
0 Kudos

Hi Lalit,

I'm facing the same problem than you.

Please, could you ellaborate on your solution? Did you created code lines on the first SmartForm and executed SSF_FUNCTION_MODULE_NAME calling the second one?

Thanks in advance.

Regards,

Jordi.

Former Member
0 Kudos

Hi users,

Thanks for reply.

Actually the problem is -

For portrait dimensions are -

width 20

height 30

for landscape , obviously it will be

width - 30

height - 20

Thus , for second page - table width is 20 while page width is 30 and so 10 cm space remains blank on right side of page

user says that right side should not be blank, rather you extend table width to whole page width.

thats where the problem is

Former Member
0 Kudos

Hi Lalit,

Reduce the width of the second page.

Ex:

For the portrait format.

In case for the page format DINA4

Width : 00210MM, Height : 00297MM.

For the landscape format.

Width : 00297MM, Height : 00210MM .

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

Try this.

Let the main window dimension be within the 20 cm width of first page.

Former Member
0 Kudos

Hi:

There is no need to extend the size of the table (do not use table template), depending on the data size it would automatically extend its size.

Regards

Shashi