Intermittent Blank Rows coming in BI Publisher Report output

Hi,
We are working on a BI Publisher report output.
Issue
The report sometimes creates a blank row along with the headings of the report columns. Table has multiple records and between 2 records we have a data being displayed which is optional. When this record is null, it is creating an extra space and hence creating a new page with the headers and a blank row.
Reducing the space is one issue we have thought of. Are there any other pointers to this.
Thanks
Ishani

Hi,
I did not got the complete thing but as you told you need to remove the blank space in the report and at the same you told when a column returns null the row get displayed as blank row.
Then can you try using the Conditional region so that when ever you find the column value as null so you can hide that row.
Just try it i donot no if your requirement is exactly like this or what.
Thanks.

Similar Messages

  • How to get blank records at the start of report output for label sheet?

    Hello -
    What is the best way to get an arbitrary # of blank records at the start of report output?
    I am writing a report that will be printed out on label sheets -- some of which might already be used. For example, there might be 3 labels per page but the first 2 have been used the last time the report was run.. so the report needs to display 2 blank records first so that the first record that gets printed on a label is in the 3rd position on the page. (the user would indicate - through a parameter - what the starting postion would be)

    Hi Scott
    Create a user parameter that reads in the number of blanks you need to 'print' before starting the actual printing.
    In the Format trigger of the outermost frame of your report write code using SRW.SET_BEFORE_PRINTING_CODE.
    Loop this method based on the user parameter and call this method with skip-line-command of your printer as its argument.
    Regards
    Sripathy

  • XML Publisher Report Output from OAF Page

    Hi,
    I created a button in a OAF page, and called the XML publisher Report program on click of this button. The concurrent request was ran when check from View Requests. When I click on viewout, the pdf document was open with the option, open, save, cancel. But this is not coming up in the OAF page. when debugged the code, the url is null.
    Please see the below code.
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)paramOAPageContext.getRootApplicationModule().getOADBTransaction();
    String s1 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("TWO_TASK");
    System.out.println("s1 = " + s1);
    String s2 = oadbtransactionimpl.getAppsContext().getEnvStore().getEnv("GWYUID");
    System.out.println("s2 = " + s2);
    String s3 = "BEGIN :1 := fnd_webfile.get_url(fnd_webfile.request_out, :2, :3, :4, 2); end;";
    CallableStatement callablestatement = paramOAPageContext.getApplicationModule(paramOAWebBean).getOADBTransaction().createCallableStatement(s3, 1);
    System.out.println("s3 = " + s3);
    if(requestId != 0)
    try
    Number number = new Number(requestId);
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, number.intValue());
    callablestatement.setString(3, s2);
    callablestatement.setString(4, s1);
    callablestatement.execute();
    String s4 = callablestatement.getString(1);
    System.out.println("Before S4 if statement");
    if(s4 == null || s4.equals(""))
    // throw new RuntimeException();
    System.out.println("URL is null");
    System.out.println(" print ouput url - " + s4 );
    // throw OAException.wrapperException(exception);
    oadbtransactionimpl.putValue("OutputURL", s4);
    System.out.println(" print ouput url - " + s4 );
    }

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • Enable to get the aligned XML Publisher Report output

    Hi All,
    In BI Publisher report there is a column called short_text which have data like
    i) Price Basis : Free Delivery to Tata Power SED
    (ii) Delivery time : Within 6 weeks from the date of PO
    (iii) Payment : After acceptance within 7 Days
    (iv) Freight : Nil
    (v) Insurance : Nil
    (vi) Packing & Forwarding :Nil
    (vii) CST/VAT : @ 5% VAT
    (viii) Excise Duty : @ 10.3%
    (ix) Service Tax : Nil
    (x) Entry Tax : Nil
    (xi) Warranty : Nil
    But the data in the output is not coming in the aligned manner like above.
    Could anyone please help on this??
    Regards,
    Swapna.

    Hello Bala,
    I wouldn't SUBMIT the same program to get the Spool number. You can achieve the same by [NEW-PAGE PRINT ON|http://help.sap.com/abapdocu_702/en/abapnew-page_print.htm#!ABAP_ADDITION_1@1@] command.
    Check the code snippet i've provided below:
    DATA: spfli_wa         TYPE spfli,
          print_parameters TYPE pri_params,
          valid_flag       TYPE c LENGTH 1.
    START-OF-SELECTION.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog            = 'X'
        IMPORTING
          out_parameters       = print_parameters
          valid                = valid_flag
        EXCEPTIONS
          invalid_print_params = 2
          OTHERS               = 4.
      IF valid_flag = 'X' AND sy-subrc = 0.
    *   1. Write the output to the output list(no spool is generated)
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
    *   2. Write the output to SAP spool(no list is displayed)
        NEW-PAGE PRINT ON PARAMETERS print_parameters NO DIALOG.
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
        NEW-PAGE PRINT OFF.
        MESSAGE i000(zibi027) WITH 'Spool' sy-spono 'is generated!!!'.
        "You can use the spool number (SY-SPONO) to email the list output
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • XML Publisher Report Output

    Hi,
    For one of our XML Publisher report, the output is varying from one instance to another. The data output is same.
    There are nine records that need to be displayed.
    In the first instance, all the nine records are being displayed in the first page.
    In the second instance, eight records are being displayed in the first page and the last record is being displayed in the next page.
    Please let me know what could be the cause/resolution for this issue.
    Thanks,
    Krishna

    before all you need to check version of publisher with patches
    Liviu Iliescu-Oracle how data source can impact to output in this case ?
    OP said
    The data output is same.

  • XML Publisher report output in RTF format does not display full page

    Hi,
    We have one XML Publisher report, the output of report in RTF format is not getting displayed in Full Page in normal way (MS Word -->View menu --> Print layout) but we can see full page display when we do MS Word -->View menu --> Outline.
    Appreciate your valuable inputs on this.
    Is this a template issue or any profiles needs to be set.
    Thanks
    Vijay

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi ,
    I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax group have 3 rows in report output then XML tag is not working.
    Below is the XML tag i am using -
    First i have declare the variable to restrict the rows -
    <xsl:variable name="lpp" select="number(7)"/>
    <xsl:variable name="lpp1" select="number(5)"/>
    <xsl:variable name="lpp2" select="number(3)"/>
    For Each -
    <?for-each:PAYSLIP?>
    <xsl:variable xdofo:ctx="incontext" name="DedLines" select=".//AC_DEDUCTIONS"/>
    <xsl:variable xdofo:ctx="incontext" name="EarLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION!='Taxable Benefits']"/>
    <xsl:variable xdofo:ctx="incontext" name="EarTaxLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION='Taxable Benefits']>
    <?for-each:$DedLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <?if:(position()-1) mod $lpp1=0?><xsl:variable name="start1" xdofo:ctx="incontext" select="position()"/
    <?if:(position()-1) mod $lpp2=0?><xsl:variable name="start2" xdofo:ctx="incontext" select="position()"/>
    Report output is tabular form (one page has two column - Earning and Deduction ) . Tax group comes below earning group.
    Deduction Group -
    <?for-each-group:$DedLines;./REPORTING_NAME?><?if:position()>=$start and position()<$start+$lpp?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Earning Group -
    <?for-each-group:$EarLines;./REPORTING_NAME?><?if:position()>=$start1 and position()<$start1+$lpp1?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Tax Group -
    <?for-each-group:$EarTaxLines;./REPORTING_NAME?><?if:position()>=$start2 and position()<$start2+$lpp2?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Please let me know in case additional detail is require.
    Thanks in Advance.
    Thanks,
    Harsh
    Edited by: Harsh.rkg on Jan 14, 2013 9:43 PM

    variable lpp2 is declare to restrict EarTaxLines -
    <xsl:variable name="lpp2" select="number(2)"/>
    This will help to restrict the no of rows on one page , if we have more then two tax benefits line then layout will roll over to continuation page.
    As part of report output my expectation is if i restrict Earning , Deduction and Tax benefits to same no of line for example - variable lpp ,lpp1 and lpp2 have same value "number(2)" , we can see the layout is continue on next page (restrict every group can have max two lines) .This is the reason we have 4 header grid , deduction and Tax Benefit lines are rolled over to continuation page .But if we restrict different value for each variable then continuation page layout is missing .
    When we tried for <xsl:variable name="lpp2" select="number(3)"/> value continuation page layout is not getting generate for both employee number .

  • Printing the XML Publisher report output  from different trays of printer.

    I am generating the XML Publisher report and the output is in 5 pages and that is sent to the printer
    In the printer there are two trays one tray(tray 1) consists of company watermarked papers and the other tray(tray 2) will be consisting of ordinary papers
    I want to print the first two pages of the report on the papers of first tray and the remaining pages to be printed from another tray consisting of ordinary papers.
    How can i do this in XML Publisher.
    Any response will be appreciated
    Thanks
    Saurav

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • BI Publisher report output is inconsistent for a given parameter?

    Hi All,
    Thanks in Advance
    I have developed a BI publisher report with P_LOCATION, P_ZONE and etc columns.
    However data in P_ZONE column is inconsistent.
    The report output should be based on the parameter provided for P_ZONE say “3rd North Zone”
    The output of the report should be for that particular zone only, however report output is showing all other zones as well, when i give filter condition like “3rd North%Zone” or “3rd North% Zone” which means if I include ‘%’ with or without space in my filter condition then the report output is correct, why search criteria is correct when I give ‘%’ in the parameter value.
    I have checked running the query, but it works fine when I run in the backend.
    However P_LOCATION parameter is working fine which is quite similar to P_ZONE!
    Please let me know what went wrong!
    Regards,
    Arjun SM

    Hi,
    based on the prompt value the report column header should also change. You want to change the value of the column heading dynamically based on prompt.You will get this by using the Presentation variable.So,you have to integrate both the bi publisher+rpd.
    Link to use the Prompts in bi publisher
    http://oraclebizint.wordpress.com/2007/10/19/oracle-bi-ee-101332-dashboard-prompts-and-bi-publisher/
    Link to get dynamic column headings
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    Thanks,
    saichand

  • Error while previewing BI Publisher Report Output form Desktop

    Hi,
    i am getting below error while previewing Report Output form Desktop:
    javaw -Xmx256M -jar "C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\jlib\RTF2PDFv2.jar" "C:\Users\mahlawat\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tb_param.xml"
    File not found.
    Please suggest
    Regards,
    Meetu

    Hi ,
    are u able to login into the bipublisher...check once..
    http://10.81.200.102:7777/xmlpserver
    generaly while connection to the desktop we will give the url at the bottom.
    the vpn is connected or not..
    Thanks,
    Ananth

  • Blank page coming in the Webi Report in a particular tab

    Hi,
    i have a webi report which uses a two Cross tabs.and it is sectioned by 'Business Segment' object. and 'Group name' object has been used to group the data in each cross tab.it has multiple tabs in the report each named same as the group name used in the cross tab.
    so now when i export the report into the PDF document one of the tabs is having a blank page (i.e 2nd page is a blank page off the 4 pages it has). i am using XI R 3 version.
    so please suggest me what formatting changes to be done for that particular tab(s) to remove the blank page off the 4 pages.
    Immediate suggestion is very helpful.
    Thanks & Regards,
    Kishore.

    Hi,
    Thanks for your suggestion.however i checked all the cells. everything is well fitted.one more thing is that similar kind of data is visible in other tabs without any issues. so it is happening only in a particular tab.
    Any other advanced settings to do to avoid the blank pages in between  the PDF document?
    Regards,
    Kishore.

  • How to publish report output (pdf via XML publisher) on public OAF page

    hi,
    I need publish pdf file (report created with XML Publisher) over link on OA page on external web, but without accessing people from public web into my output directory for concurent requests (only this one to be allowed to access from external web) ....

    sorry, i am late, i couldn't reply on forum ...
    first i submit concurent request to create xml output from report (rdf):
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    requestId = cr.submitRequest(applnName, Sablona, Description, null, false, cpArgs);
    i am wait for end:
    while (FileName == "") {
    FileName = getOutputFileName(pageContext,requestId);
    getOutputFileName make select to get status of request from database,
    and on finish i delive pdf document to customer with oracle.apps.xdo.oa.common.DocumentHelper:
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    "XXCS", //appShortName,
    Sablona, //templateCode,
    (InputStream)dis,
    "PDF", //outputType,
    properties,
    "CS", //language,
    "CS" //territory );
    pageContext.forwardImmediately(redirectURL, null, (byte)0, null, null, true, "N");
    i hope it help you ;o)

  • Remove blank rows in Report painter

    Good morning,
    When running a report in GR55, I show ten blank rows on top of the report and I would like to get rid of them to save space. I have not found yet a way to do this in GRR2.

    Hi,
    Are you working with SAP B1?
    Thanks.

  • XML Publisher report default output in Excel format.

    Hi,
    We have defined one concurrent program whose output format is text, this concurrent program executable is PL/SQL and in this PL/SQL program we are generating XML data and displaying XML using below fnd_request.
    l_conc_id := FND_REQUEST.SUBMIT_REQUEST('GMP','GMPPDROP','', '',FALSE,
         p_sequence_num,chr(0),'','','','','','','','','','','',
    We have also defined template for this.
    Using below fnd_request we are choosing template and data is getting generated in PDF format. Now our requirement is to display the output by default in Excel format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','',scale_report,'','','','','',
    When i saw XML Report Publisher concurrent program, there is one parameter for Output Format and i tried passing 'Excel'/EXCEL/excel to this parameter but output is still coming in PDF format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','Excel',scale_report,'','','','','',
    I have also tried giving Default Output to EXCEL in template definition but this is also not working.
    Your valuable suggestions highly appreciated.
    Thanks
    Vijay

    Hi;
    What is EBS version? Please see below which could be helpful for your issue:
    Changing Output Format to RTF or Excel in XML Publisher Request Does Not Display Output Correctly [ID 404512.1]
    Cannot View BI Publisher (formerly XML Publisher) Report Output In Excel Format or XHTML [ID 359875.1
    How is Default Output Type Determined for Reports Submitted Using XML [ID 888972.1]
    Also see:
    XML PUBLISHER report in Excel out put problem
    XML PUBLISHER report in Excel out put problem
    Regard
    Helios

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

Maybe you are looking for