Blank pages while printing in BO6.5.1

Post Author: Saravanan Perumal
CA Forum: Desktop Intelligence Reporting
Hi,
I'm trying to create a Business objects report 6.5 with more tables and cells than will fit across one page. This results blank pages while printing, Is there any option to fit the cells and Tables into the first page that extended to the second page.
Any one having the idea regarding kindly let me know.
Thanks in advance!
Br
Saravanan.

Hello,
BLANKPAGES specifies whether to suppress blank pages when you print a report. Use this keyword when there are blank pages in your report output that you do not want to print.
rwclient.exe server=<repserver_name> report=only_main.RDF userid=scott/tiger@orcl destype=file desformat=pdf BLANKPAGES=NO
Another solution would be the use of srw.abort_program:
If there is no data, the report is not run:
SRW.PROGRAM_ABORT needs to be called from a format trigger and since any object within repeating frame ( based on main query) will not be formatted unless there is data, So need to have a "Boilerplate Text" outside of Frame and placed at "Main Section"-> "Body". This Text object will have Following format Trigger.
begin
if :data_yn ='Y' then
null;
else
SRW.MESSAGE(100, 'No Data to run report ');
raise SRW.PROGRAM_ABORT;
end if;
return (False);
end;
Here return (false) as do not want to print the text.
data_yn is a user parameter variable, Not exposed to user or at Parameter Page.
There is PL/SQL Filter Written at the Main Query at Data Modal as
function G_EMPNOGroupFilter return boolean is
begin
Select 'Y' into :data_yn from dual;
return (TRUE);
end;
This Helps in setting data_yn to Y is there is data returned by the underlying Query. by default this is Null.
So when Report is executed by passing 2 as value to 'no', Query does not returns any row, So PL/SQL filter will not run and while formatting Blank report, format trigger of the "Text Object" will raise exception to abort report, thus no output.
Similarly if there is data returned by Query then PL/SQL filer will set 'Y' to data_yn and "Text object" format trigger will not raise Exception.
Regards,
Alex

Similar Messages

  • ALV Grid -- Heading in each and every page while printing

    Hello!!!!
    How to display heading in ALV Grid in each and every page while printing?
    Thanks in Advance!!!!!!

    Hi nitesh,
    <b>data: lt_list_commentary type slis_t_listheader.
    perform build_comment using
    lt_list_commentary.
    form build_comment using
    pt_list_commentary type slis_t_listheader.
    data: ls_line type slis_listheader.
    clear ls_line.
    ls_line-typ = 'H'.
    ls_line-info = 'SREEKANTH REDDY'.
    append ls_line to pt_list_commentary.
    clear ls_line.
    ls_line-typ = 'H'.
    ls_line-info = 'HEADER1'.
    append ls_line to pt_list_commentary.
    clear ls_line.
    ls_line-typ = 'H'.
    ls_line-info = 'HEADER2TEXT'.
    append ls_line to pt_list_commentary.
    clear ls_line.
    endform.
    </b>In Function module REUSE_ALV_COMMENTARY_WRITE , give the parameter as
    <b>it_list_commentary = lt_list_commentary </b>
    Here ls_line-typ = 'H'. you can use options like 'H' , 'A' , 'S'.

  • Smartform: Blank page gets Printed

    Hi All,
    in my smart form i have two pages, Second page contains main window.
    i have restricted my first page with some conditions , so that first page data will not be printed.
    if i execute the smartform first page is printed blank without any data.
    is there any option to avoid the blank page getting printed????
    Regards,
    Dinesh R

    Hi Dinesh,
    One reason for getting a blank page is if the windows are overlapped in the page layout. Please check and see if any window is overlapping.
    Else, check for "page break" . This is a check box . Once this is activated for a text or window or page, it directs you to a new page. Probably this might be the problem.
    Hope this helps.
    Thanks,
    Prisford Pereira.

  • Why does my computer keep reloading blank pages while reading email ?

    My computer constantly reloads a blank page while I am in my email account (Outlook.com- an old hotmail account). I have deleted cookies, deleted history and the cache files according to what one search result told me to do. I have mal-ware and anti-virus which are all up to date along with current windows versions. I reloaded Firefox also, all to no avail. Unless I take my computer to a repair shop, it is difficult to read any email.

    That's a good sign! It suggests that one of your extensions does something that isn't fully compatible with Outlook webmail. This might include blocking information that Microsoft's site expects, whether cookies, or something else. Could you review your extensions and see whether any of them might filter/block information from the site, to enhance privacy or reduce annoyances or other reasons?
    You can do that on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then on the right side, if you see something that might be relevant, you can click its Options dialog to see whether you can make an exception for the live.com site (server that hosts Outlook mail).

  • Journ.E touch - blank page while trying to access the virtual store

    After resetting the account and update the virtual store,
    I get a blank page while trying to access the virtual store.
    I proceeded to update firmaware. always blank page.

    after the reset, the page is still blank. no access to the virtual store. can you check the serial number of my JournE Touch?
    S / N: 5A015441DH, are this a zero? or the letter O? I write the number 0 for account creation.
    I note that this error occurred after resetting the personal account
    Personal Account - 12763
    cordially

  • Firefox 17 on Windows 7 prints blank pages after printing selection

    I need to be able to highlight text on a webpage and print only that text using the print selection inside the file/print tab. However, instead, I am getting only that highlighted text AND then blank pages (with headers and footers) keep printing (how many pages that print depends on the actual size of the webpage).
    I have Windows 7, 32bit and Firefox 17. I updated Firefox this morning and restarted but the problem still exists. I did not have this problem when I had Windows XP.
    The print selection works properly in IE9.

    Firefox's Print Selection feature has always left much to be desired...
    What I get is blank pages ''before'' the selection but not after. You get blank pages for the entire document? That's especially unhelpful.
    I am aware of two ''workarounds''. Each isolates the selection by itself so you can print it normally, i.e., without choosing Print Selection.
    '''[https://addons.mozilla.org/en-US/firefox/addon/nuke-anything-enhanced/ Nuke Anything Enhanced]'''
    After installing this add-on, when you have a selection and right-click it, you can choose "Remove everything else" to isolate the text for printing. Note that you need to reload the page to see the rest of the content again.
    '''Bookmarklet'''
    Before learning about the above, I wrote a small script to isolate the selection for printing. I wouldn't use it if you are filling in a form, making a purchase, etc., since the script duplicates part of the page and this may break the form. On the other hand, at least there is some level of undo without reloading the page.
    If you want to try it, here are the steps:
    (1) Select and copy the following line of script (it's all one long line):
    javascript:var sel=window.getSelection(); if(!sel.isCollapsed){var rng=sel.getRangeAt(0); if(!rng.collapsed){var docfrag=rng.cloneContents(); if(!document.getElementById("divHideMe")){var rng2=document.createRange(); rng2.selectNodeContents(document.body); var myContainer=document.createElement("DIV"); rng2.surroundContents(myContainer); myContainer.setAttribute("id","divHideMe"); rng2.detach();} myContainer.style.display="none"; if(document.getElementById("printFrag")){var myFrag=document.getElementById("printFrag"); while(myFrag.firstChild) {myFrag.removeChild(myFrag.firstChild);} myFrag.style.display="block";}else{var myFrag=document.createElement("DIV"); myFrag.setAttribute("id","printFrag"); document.body.appendChild(myFrag);} myFrag.appendChild(docfrag); rng.detach(); var myP=document.createElement("P"); myFrag.appendChild(myP); myP.setAttribute("id","killBtn"); var myBtn=document.createElement("INPUT"); myP.appendChild(myBtn); myBtn.setAttribute("type","button"); myBtn.setAttribute("value","Return to Page"); myBtn.setAttribute("onclick","document.getElementById('divHideMe').style.display='block'; document.getElementById('printFrag').style.display='none';"); myStyle=document.createElement("STYLE"); myFrag.appendChild(myStyle); myStyle.setAttribute("type","text/css"); myStyle.setAttribute("media","print"); myStyle.innerHTML="#killBtn{display:none}";}} void 0;
    (2) Right-click the Bookmarks Toolbar and choose New Bookmark. (If you do not ordinarily display the Bookmarks Toolbar, you can add it to the menu instead. Whatever will be convenient.)
    (3) Click in Location and paste the script.
    (4) Click in Name and name it whatever you like (I call it Crop4Print) and then click Add.
    Now after selecting text, click the bookmarklet button to hide the rest of the page.

  • Blank page while servlet to jsp.

    Hi.
    am working in a code for login verification.
    In my login database i have different user.For each user user access will be different.
    So am verifying password for a particular user.The verification is done in servlet page .
    After verification am viewing only a blank page.
    Can u give me any suggestion.
    my code is given below.
    response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
             HttpSession session=request.getSession();
            String user="",pass="";
            //ServletContext context=null;
            ServletContext context=getServletContext();
    String userName=request.getParameter("user").trim();
    String passWord=request.getParameter("pass").trim();
            String query="select * from login where user='"+userName+"' ";
           String DbUserName="";
           String DbPassword="";
           String finalUser="";
           try {
                 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                 Connection con1=DriverManager.getConnection("jdbc:odbc:register");
                  Statement stat=con1.createStatement();
                  ResultSet rst=stat.executeQuery(query);
                    while(rst.next())
         user=rst.getString("user");
    pass=rst.getString("pass");
                  if((userName.equalsIgnoreCase(user))&&(passWord.equalsIgnoreCase(pass)))
                session.setAttribute("user",user);
            context.getRequestDispatcher("/Mainmenu.jsp").forward(request,response);
            else
                   context.getRequestDispatcher("/LoginError.jsp").forward(request,response);
    catch(Exception e){
                 e.printStackTrace();
          }Thanks in advance,
    regards,
    satheeshkannan

    Indeed, you are just printing and ignoring the exception instead of throwing it or change the flow.
    Apart from this problem: why are you comparing the username once again after the query while the query should only return rows matching the username? Anyway, if your DB is well-designed (i.e. username is unique), then you can also just query for rows matching the username and the password so that you just need to check if ResultSet#next() returns true or not.
    Oh, don't forget to use PreparedStatement instead. It will save you from SQL injections.

  • Cannot print -- random text & blank pages when printing -- HP Color Laserjet 3600N

    Apple Support Community,
    I'm having some trouble connecting my computer and printer via a network connection. The printer functions fine among other computers (Mac, PC) connected via a network connection, but one particular MacBook is giving me trouble.
    I can get the printer and laptop to connect, however when I try to print, it gets buggy on me. Usually it will print a page with some random text, followed by an excess amount of blank pages, then another page with text similar to the first. The text usually has information including font types and other formatting data, but not what was "printed."
    I have tried to update the printer drivers, but I cannot get the printer utility to utalize them. After installing the most recent drivers, it will continue to suggest the generic laser printer drivers (1.0 verison), or I can choose other printer drivers (including "base" 3000 model drivers), but the 3600N drivers are not avalible on the list. Both the generic drivers and the HP drivers give me the random text upon printouts.
    The laptop is a MacBook Pro with 10.6.
    What is the best course of action to remedy the printer problem?
    Thanks!
    Jel.

    Over the holidays, I spent a couple of hours on the phone with HP, a couple with Microsoft, and previously with Apple. Microsoft said they are working on updates, should be fixed by the release of Office 2008. Apple says there's a compatibility issue among the HP printer and Leopard and "some" programs. HP tells me it's an "old" printer (which they were happy to sell me in April 2007) and they may not release new drivers. HP also says Apple knows there are printing issues.
    In the meantime, I'm using Pages and shopping for a new non-HP printer.

  • AR Invoice Printing Blank page when printed through printer

    Hi,
    I customized AR invoice to give PDF output through BI Publisher.There is no issue when tried to view the output.
    When tried to print the output through printer, It's given blank page.
    All other BI publisher reports which will give PDF output in Straight single request are printing through printer correctly.
    But AR invoice By standard program itself when fired, First a Multi Language Function will fire which will have output of 0 bytes and after that as a child request Original program with Required output will fire.
    It seems that printer is printing Parent request output.
    Can anyone please help me regarding this.
    Thanks in advance,
    Best Regards,
    Mahesh

    Hi,
    I'm guessing the concurrent program is outputting text (character mode) as opposed to PDF?
    This could be a number of reasons:
    1. Printer driver issue, e.g. the number of lines printed on the page is more than is defined for the printer driver: Try reducing the "Rows" on the current program definition
    2. Printer PRT issue, extra page break could be being inserted.
    3. The "box" in the report definition containing the address could be being expanding due to the extra address line, but not enough space so it forces a new page to be printed.
    Gareth
    Blog: http://garethroberts.blogspot.com
    Web: http://www.virtuate.com

  • Blank page between printed page

    Does anyone know why a blank page comes out between my printed pages? i AM USING vISTA WITH A HP Photosmart C7250 all-in-one
    Diane

    Check this page out:
    Blank sheets
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Pressing Enter Button Gives a Blank Page while Cursor is in Text Field

    Hi,
    I have a problem on my jsp page that there is a text filed (input type="text") and a button (input type="button") to submit the page.
    When page loads the cursor blinks in the text field, and at the same moment if i hit the enter button of my keyboard it gives a blank page.
    Here the button on page does not clicked by this enter button, no script calls neither the page submitted to the given url.
    Kindly suggest what is going wrong.
    Thanks in Advance
    Rajiv K.

    I'd come across this issue a while back: [http://tipsandtricks.nogoodatcoding.com/2007/07/html-single-text-field-submit-caveat.html]; when there is only a single text field in a form, then pressing enter causes a submit with the text-field as the initiator. The submit button isn't invoked. This means any onsubmit actions will not be called. A simple way out is to put in a dummy text field in the form and set it's display to none (using CSS/styling)

  • HT4356 Blank page when printing from email

    I just got and set up Epson NX 430. It is AirPrint printer and is printing from both iPhone and iPad.
    Seems to be fine except when printing except from email. Then it always feeds a blank page first then prints the email. I can't figure out how to stop it from feeding blank page.
    I contacted Epson and they say it is an AirPrint issue and I have to contact Apple for that.
    Anyone else having same issue and any ideas of how to fix or stop the blank page?

    In the Print dialog, select Open PDF in Preview from the PDF menu in the lower left corner. Is the print preview blank?

  • Imported older PDFs view as blank pages but print ok

    When I open older pdfs or scanned docs and images they view a blank grey pages, but print ok

    Something to try.
    Open Acrobat. Go into the application's Preferences (Edit-Preferences).
    In the "Page Display" Category -- tick the "Show large images" entry.
    Be well...

  • Urgent: Oracle Reports : Blank Page Should print after each Group of record

    Hi all,
    I have a different kind of requirement, in my report I have 1 block and I want to generate a blank page after every group of records. This is because the printer is printing both side of the paper and we are giving multiple group at same time.
    Cannot touch the printer setup since it is a common one. Anybody can help me in this for a fast and simple way ? "Maximum records per page" property for the repeating frame give the next group to a fresh page but there will not be a blank page in between.
    Please help ..
    Thanks,
    Ani.

    Thank you for your attention.
    Empty frame with page break is not helping me since it will not hide the rest of the items which are outside the repeating frame. Like Report caption, Group Name, Page footer etc...
    If I am using the empty frame, is there any way to hide all other items ?
    Thanks,
    Anish

  • Need to resequence the pages while Printing

    Hi,
    I have a PDF with 4 pages but while printing, I want to print them in the order of pages as 3, 4, 1 and 2. This is just an example. I even have a PDFs with 100 pages which has to print in the order of pages as 99, 100, 97, 98 and so on.
    Can anyone guide me on, how to implement and automate this sequencing during printing?

    This question really has nothing to do with the PDF specification. You
    might get better results asking in the Acrobat forum. However, have
    you looked at imposition software, such as QuiteImposing, as a
    possible solution?

Maybe you are looking for

  • Error While playing recorded process - Workbench 8.2 with SP2

    Using Adobe LiveCycle Workbench 8.2 With SP2 I tried to start the recording for sample service having simple process flow. I invoke the same and service return the result as per expected result. Now when I tried to play the recording Getting error as

  • Why cant i seem to get the latest version of itunes to download to my pc

    why cant iget the latest version of itunes. every time i try to download it gets to 8% or 10% and freezes or times out

  • Submitting forms by email

    I'm new to designing forms, but have a request from a client to make a simple PDF form that can be filled out and returned by email.  The client would like to have the person click a submit button in the form and have it emailed (the straight PDF) ba

  • Report Designer problem

    Hi Experts, I am trying to open a query in report designer tool in new GUI. but it showing following error.   "Query(view)definition cannot be retrieved from portal.    please try again or check query and portal setup" "Exception in method process fu

  • How to avoid client opening for maintainig char value for POreleasestrategy

    Hello Experts I have configured Purchase Order release strategy in our development client. I have released all transport requests for PO release in our quality client. But after releasing transport requests , value in characteristics like PO value wa