cancel
Showing results for 
Search instead for 
Did you mean: 

Page Break in Smartforms - Error 165

vamshi_mohan
Participant
0 Kudos

Hi,

In the main window of an existing form there is a 'Command' Node which is triggering 'Attachments' Page with a certain condition 'tab <> initial'. In Attachments page, it is printing data from a certain internal table itab_attach. This existing functionality is woring fine.

Now I have populated the itab_attach and added a new conditon to the same 'command' node 'If flag eq 'x'. i.e., the just updated the existing conditon which looks like ( if tab <> initial ) or ( flag eq x ).

This new addition is giving error 165, 'Page break is allowed only in the main window.' and smartform is not at all printing.

Kindly suggest.

Regards,

Vamshi.

Accepted Solutions (1)

Accepted Solutions (1)

MarcinPciak
Active Contributor
0 Kudos

This new addition is giving error 165, 'Page break is allowed only in the main window.' and smartform is not at all printing.

I think the message is self explanatory. You can't put command page break in secondary window. Only main window must be defined on each page, so only this one assures that page break will proceed to new page. Simply move your table printing to be shown in main window.

Regards

Marcin

Answers (0)