‎2006 Jul 04 8:15 AM
hi,
can any body describe the importance of page break in scripts. how to use page break explain in detail with example.
thank u in advance.
regards,
sri.
‎2006 Jul 04 8:21 AM
To make a page break use:
/: NEW-PAGE
It makes SapScript to start in a new page and leave the current, it doesn't matter if is at the begin or the end...
Regards,
Jose
‎2006 Jul 04 8:21 AM
To make a page break use:
/: NEW-PAGE
It makes SapScript to start in a new page and leave the current, it doesn't matter if is at the begin or the end...
Regards,
Jose
‎2006 Jul 04 8:26 AM
Hi Sai,
NEW-PAGE is used to insert a page break ,
it can be conditional if used between IF..ENDIF
e.g. /:IF &KNA1-NAME1& = 'XYZname'
/:NEW-PAGE
/:ENDIF
If u want to Page break after displaying certain records or after some condition u use NEW-PAGE..
*Please Reward points if Helpful
Regards,
Sridahr
‎2006 Jul 04 8:27 AM
Hi SRISAIHARI,
For page break use the command in Sapscript form
/: NEW-PAGE
It is used when you have to terminate processing on current page and print next items on the next page.
As for example you have 4 material numbers.You requirement may be like that you are displaying all the data related to one material number on one page and for the next material you want the information on the next page .You have to use page break.
‎2006 Jul 04 8:31 AM
Hi,
SAPscript automatically triggers a page break as soon as the main window of one page is full. To be able to execute the page break, the system must know on which subsequent page to continue outputting the text. You can specify the subsequent page either statically when defining the form, or you can set the subsequent page dynamically during form output.
Check the following links.
http://help.sap.com/saphelp_47x200/helpdata/en/d6/0db4c3494511d182b70000e829fbfe/frameset.htm
Setting a page break manually
http://help.sap.com/saphelp_47x200/helpdata/en/89/7d95e6fb8011d1952b00a0c930660b/frameset.htm
Following gives a more live example
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba06935c111d1829f0000e829fbfe/frameset.htm
Also can check the following links
http://www.thespot4sap.com/Articles/SAPscript_commands.asp
Please reward for the same.
‎2006 Jul 04 8:34 AM
Hi Srisaihari,
1)Page break in SAP SCRIPT is done with NEW-PAGE.
2)When the main window is full with data then FORM will implicitly triggers NEW-PAGE.
3)BUT we can alos trigger new page explicitly with NEW-PAGE.
4)If you need each plant item details on each window then you will trigger this for each new plant with NEW-PAGE.
The syntax for NEW-PAGE is as follows.
<b>/: NEW-PAGE.</b>
Generally NEW-PGAE is associated with IF condidtion.
Thanks,
Vinay