How to supress blank page in scripts?

Hi gurus.
can any one let me know how to supress blank page in scripts? When one of my condition satisfies it should print two pages and its working fine. When condition fails, it should print one page but its printing blank page as second page.
Waiting for your answer.
Urgent
Regards,
surya.

hi,
1. By providing the control commands in scripts,u can supress the blank pages.
2.write the data between protect and end protect.
3.Enclose the text that you want to prevent page-break in PROTECT... ENDPROTECT
SAPscript will ensure that each line of this text is printed together on the same page.
/: PROTECT
Text
Within
The same page
/: ENDPROTECT
Regards,
SHIVA(reward if helpful).

Similar Messages

  • How to print blank page in script

    Hi all,
    how to print blank page in script

    Hi,
    Try the command /: NEW-PAGE. Let me know if it is working.
    Ray

  • How to Avoid blank page in SAP Script

    I am working on a Script. My Script prints a check.
    This script is a copy of a std script.
    It has 3 pages - First Next Last
    My First page has all the required data.
    My second page is empty with out any values.
    I am getting the blank page as Page 2 when executing. How can we avoid it ?
    Senthil

    Hi Senthil,
    Please see the below points:
    1. Please check what have you defined as the NEXT PAGE for your first page. If so change it and make the first page itself as the next page.
    2. Check your main Window, may be there is blank line at the last of the main window, so check that abd remove that,so you won't get the blank page
    Please see the link which is similar to your problem:
    Re: How to remove blank page in sap script
    May it helps you.
    Regards.
    Deepak Sharma.

  • How to remove blank pages from report

    Hi All
    i have a condition where i have to display the record only when trxn lines are available for that record ,inside my for each group condition i put the if condition having a count variable so if count is not zero then only the record will be displayed ,it works but problem is it shows blank pages for those records.
    any clue would be very helpful.Thanks in advance
    Thanks
    Pratap

    Hi All
    The solution of this issue is given in below mentioned thread
    How to avoid blank page in BI Publisher
    Thanks a lot to Vestrini :)
    Thanks
    Pratap

  • How to add blank page to existing Document In Adobe Dc

    how to add blank page to existing Document In Adobe Dc Pro

    Hi thashrifs16749461,
    You can add a blank page using Adobe Acrobat DC by following the below instructions :-
    1) Open your existing pdf document in Acrobat DC.
    2) Choose the 'Organize Page' option form the Tools pane on the right as shown below in the screen shoot.
    3) Now at the top you will see all the tools to Organize the page, Click on 'Insert' & select 'Blank Page' from the drop-down to insert blank pages.
    *Shortcut : If you are using windows computer you can use ' Shift+Ctrl+T ' key to insert blank pages.
    In case if you experience any issue or have any query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • How to suppress blank pages in 11i from printer output

    Hi All,
    We were working on Oracle Reports and registering in 11i thr concurrent program and while running thr concurrent request we are getting blank pages from printer output, please let me know how to suppress blank pages as i need to get printouts without any white pages.
    Say for example if we run concurrent request and o/p is 10 pages which consists of 3 blank pages so finally we need to get printer o/p with 7 pages which are having data as i need to stop printing which are having white pages.
    Please help as this a critical scenario.....
    Regards,

    Please post the details of the application release, database version and OS.
    We were working on Oracle Reports and registering in 11i thr concurrent program and while running thr concurrent request we are getting blank pages from printer output, please let me know how to suppress blank pages as i need to get printouts without any white pages.
    Say for example if we run concurrent request and o/p is 10 pages which consists of 3 blank pages so finally we need to get printer o/p with 7 pages which are having data as i need to stop printing which are having white pages.
    Please help as this a critical scenario.....Does this happen to all concurrent requests?
    Is the issue with all printers or specific ones only?
    What if you use the lp command from the OS to print the concurrent requests output files, do you still get blank pages?
    Do you use PASTA?
    Please see these docs/links.
    How To Investigate Printing Issues and Work Towards its Resolution? [ID 297522.1]
    Oracle Applications Postscript Printing [ID 99495.1]
    Only First Line Of Concurent Output Prints And Then Blank Lines/Pages [ID 452906.1]
    Apps Reports Generate and/or Print With Incorrect Page Break Points [ID 359716.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blank+AND+Page+AND+Print&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Blank+AND+Page&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Blank Pages In SCRIPTS

    Helo All.
    I am printing Order Confirmation in script.
    There are total 5 pages, but i am getting 10 pages with 5 blank pages.
    Script is alternatively printing a blank page.
    What could be the reason?
    Thanks in advance.

    hi,
    check for commands like new-page..
    check for the page size and the printer configuration...
    Alternate Pages are blank?

  • How to supress Last Page in a Script

    Hi
    In a script I have three pages First Next and Last, my requirement doesn't’t need Last page which contains the summary. If I delete Last page with in the script, the output displays with two pages where in the first page contains all the data which I require and the next page shows the fields other than main window [don’t know why it is triggering].
    If i include the Last page with in the script with a blank new window in that, my output displays normally with a blank page at the end.
    Will any one help me how to suppress the ‘Last’ page in the scripts.
    Am working on Cheques ‘F110_PRENUM_CHCK’ and the print program is ‘RFFOUS_C’ where I want to suppress the ‘Summary’ window in the Last page. Here i don't want to modify the original program.
    Thanx
    Message was edited by:
            Shinoy N

    Hi Shinoy,
    we have the same requirement as you mentioned. We have to delete the last page ( with summary and void check ) . I deleted the last page ...eventhough the void check in the last page is reflecting.
    Please do let me know, how to delete the last page.
    Regards,

  • How to remove blank page in sap script

    hi ,
    I have a problem in sap script. I copied one std. script and made some changes i.e removing the unwanted pages from the script.
    no where NEW-PAGE kind of command is declared in window but still a new blank page is coming in printing.
    i checked with the posted comments in forum n what i found .. i did that part for my script..but no progress.
    so help needed.
    thnx,
    m

    Hi,
    If there is no any "NEW-PAGE" command in your any window, Pls check following probable causes.
    1. Check your main Window, may be there is blank line at the last of the main window, so check that and remove that,so you won't get the blank page
    2.Please check what have you defined as the NEXT PAGE for your first page. If so change it and make the first page itself as the next page.
    Hope it help you.
    Regrads,
    Lokesh.

  • How to remove blank pages in SAP Script

    Hi All,
    1. Employee we have to issue the certificate and as well as terms & Conditions page. If wife is staying in different address we have to display both certificate and as well as terms and conditions page. For kids we need not shown the terms & conditions, bcz they have stayed with wife. So in my case for employee it is displaying 2 pages one for certificate and terms and conditions page, for wife 2 pages one for certificate and terms and conditions page, as per as children it should show only one page i.e certificate page only, but here it is taking terms and conditions page also but it is displaying blank page. Now my question is how to delete that blank page. Just ask your colegues who know how to delete that page.
    Regards,
    Sathvik

    Hi,
    No i am not using Duplex printer. Let me explain
    There is Employee <b>X</b> His address is 2785 and his Spouse and 3 children are not in this Address.
    When you are executing The Terms and condition is in 3rd & 4th page. if the address is change then there 2 pages has to print othere wise only certificate has to print.
    Now Employee and Spouse adreess are change that's y terms and condition is printing. Children is leaving with mom so now they don't wnt to print 2nd & 3rd page. I put condition now contents is not showing. But here blank pages are showing now i wnt remove those blank pages.
    Thanks & Regards,
    Sathvik

  • How to remove blank pages

    Dear all,
    How can i remove blank pages in combind pdf in one short, if you have any idea or suggestion for remove blank pages in Acrobat. We need without blank pages counting for final page count purpose.
    We tried to remove blank pages option in acrobat 9.0, but it is not use single short. It is taken more time to taken for maual work.
    If you have any scripting for this? or any option having in acrobat in single short? Please help me in this regard.
    Thanks
    kanaga kumar. k

    This can be done with a script, but a script can only assume a page is
    blank if it has not text in it. It can't know if there are images or other
    graphic elements in a page.

  • How to remove blank pages from WebI Report in view page layout option

    Hi,
             I am working in Business Objects XIR2 environment. I have a WebI report with several sections. I need to show the report as a book with 69 sections (each section on new page). there are 69 sections on cost center and each cost center section has almost 10 sections embedded in it. When i see in regular view - I only see 69 pages but when I try to see in "View Page Lay out" option, there is one blank page added after each results page.
    Please let me know how to remove this blank page. I need to give users the option to download the book as PDF on to their machine. Now, when I download to my machine, I see one blank page after each results page.
    Thanks in advance.

    Jus convert your report in Page Layout mode and see if your first pafe is getting expand in the second page.
    Now check if there are any cell going into second page.
    - if there are any blank cell which is there after table.
    you have to check formating very carefull.

  • How to insert blank page into pages document when using word processing mode?

    I've recently created a 50+ page document using Pages '09. I started the document using word processing mode. Now, when I view in thumbnail mode and try to insert a blank page somehwere in the middle of the document, it won't allow me to select where I want. It just selects all the pages, as thought they are one section. I believe this is because I am in word processing mode. My question is, can I convert the document to layout mode so that each page represents it's own section, without losing what work I've already done? And if so, how?
    The document is entirely text boxes and images, so I don't have any need for word processing space. I just need new pages to act as blank templates for the text boxes and images I create.
    Is it possible to keep all my work as is, and convert the document to layout mode vs. word processing mode?
    Thanks!

    It just selects all the pages, as thought they are one section.
    That's because they are one section. You must insert section breaks to separate them. There is no need to use page layout which does make each page a separate section. You have to manually add each page & use text boxes or other containers for the text & link the text boxes.

  • How to suppress blank page and selection criteria in SPOOL ?

    My Z program submits two programs to spool and converts the ABAP List in the spool to PDF and emails.
    After upgrade to ECC6, the first (a report painter report) resulting PDF there was one blank page and the contents were displayed on second page. For the second report (RKPEP003 - CJI3)  the selection criteria that the report used was printed as the first page of output and the result on a subsequent page. The same thing happens when I individually execute these two reports directly in SE38 with the same selection criteria. I believe the blank page is there in the spool because when I view the spool as a RAW, there is a P in the first column, however the spool shows that there is only one page in the first and two in the second (this is true - one for selection criteria "which I don't want" and then the actual content). In 46C, when I look at the RAW view of the spool there is no additional P's in the first column.
    I do not want to have the blank page on the first report and the selection criteria listed on the output of the report. How can I do that ? I am thinking get_print_parameters can in someway get me there, but I am not sure.
    Thanks
    Hari
    Edited by: Hari Sudarsanan on Apr 8, 2009 7:28 PM
    Edited by: Hari Sudarsanan on Apr 8, 2009 8:05 PM

    The first report painter program writes a regular ABAP list.
    The second outputs an ALV.

  • How to avoid blank page in last page?

    Hi friends,
    I have one page layout in my RTF file for Invoice printing. But when submitting the concurrent from Apps, it is showing one page output and one blank page at the end of the output.
    How can i restrict the blank page.. Pl. help.
    Thanks
    Kavi

    If you are using page break, have it conditionally like
    <?if:position()!=last()?><?split-by-page-break:?><?end if?>

Maybe you are looking for

  • Report problem with PL/sql

    function BeforeReport return boolean is begin declare l_sort po_lookup_codes.displayed_field % type; begin if :P_orderby is not null then select displayed_field into l_sort from po_lookup_codes where lookup_code = :P_orderby and lookup_type = 'SRS OR

  • How can you change the style of a flash tabnavigator with css

    I'd like to change the colors of a tabnavigator in flash form. I found an example how to change the layout for a panel but it doesn't inherate it to my tabnavigator. Here a simple example for a panel that works: quote: <cfsavecontent variable="conten

  • Video Color Purple & Green?

    I shot a short video from my camera and I transfered it into Adobe Photoshop Starter Edition 3.0. The thumbnail colors are true to life. When I click on the thumbnail to preview the clip & press play, everything is in purple & green. I transferred th

  • Always return to install menu after the installation of windows 7

    When I have installed windows 7 (Ultimate, 64bit version) on my macbook pro using DVD, the computer reboot and return to windows 7 install menu again. The start menu just didn't come up. I have already followed all the procedure (downloaded boot camp

  • Does Webcenter Portal Require Its Own Weblogic Domain

    Hello folks, I am trying to install webcenter portal in a HA configuration but I have noticed that whenver I try to run config.sh to extend the HA domain the program errors out with a message about invalid template "CFGFWK-64056 - There is a problem