2006 Jun 23 5:08 PM
hi
i have a po form which has terms & conditions,these needs to be printed in separate page.
i do not know how to trigger new page(even if Main window is not full)
i created a Window after Main window and tried using
"COMMAND" option , but it says i cannot use it because it's not a main window..?? am i missing some thing or is there is a another way??? i defined two pages : First and Last??? any suggestions will be appreciated..
Regards
Siva
2006 Jun 23 5:36 PM
Hi Thanks for ur suggestions..but it's not working??
First Page>>
In Main window
>>i have a table (Head,Main,Foot)-
Head-Using for Item Header
Main-Item level Data
Foot--Sub Totals
I created programline-node under Main window(not Table Main)and placed ur suggested code??it's not triggering the next page...
My Page Attributes :
First >>calls Next
Next >>calls Next ??
Missing something????
Thanks
Siva
2006 Jun 23 5:12 PM
Hi Siva,
1) Create a Program lines element UNDER the main window(not after it).
2) Check if the page is the last, in the conditions and trigger a new page using new-page command.
if page = sfsy-formpages.
new-page.
endif.
REgards,
Ravi
2006 Jun 23 5:13 PM
hi,
Insert this code
if page = sfsy-formpages.
<b>new-page.</b>
endif.
Regards,
Santosh
2006 Jun 23 5:22 PM
2006 Jun 23 5:36 PM
Hi Thanks for ur suggestions..but it's not working??
First Page>>
In Main window
>>i have a table (Head,Main,Foot)-
Head-Using for Item Header
Main-Item level Data
Foot--Sub Totals
I created programline-node under Main window(not Table Main)and placed ur suggested code??it's not triggering the next page...
My Page Attributes :
First >>calls Next
Next >>calls Next ??
Missing something????
Thanks
Siva
2006 Jun 23 5:56 PM
Does your Command Node have the checkbox "Go to new page checked" and the page Next in the dropdown list?
2006 Jun 23 5:58 PM
Hi Siva,
Instead of using the new page you can directly call a new page by using the "COMMAND" statement. After displaying all the values in the Main Window give this command statement. Like how you create program lines you have to create a command statement. In the attribute of the "Command" statement give the new page as the page where you have the "Terms and Conditions" text. Hope this solves this issue.
Regards,
Tushar
2006 Jun 26 8:35 PM
Thank you all for valuble suggestions.
"COMMAND">>>go-to-page worked..
Thanks
Siva