Srw.run_report desformat=pdf, output is missing

Hi,
Could someone please help me with the following:
I have 2 reports, rep1.rdf and rep2.rdf.
rep1.rdf has a formula column in which I invoke rep2.rdf with the following syntax:
srw.run_report('report=rep2.rdf '||
' destype=file'||
' desname=test.pdf'||
' desformat=pdf'||
' background=Yes');
On the client (windows2000), it works fine. After completion there is a test.pdf file in my directory.
When I run the report from the concurrent manager from Oracle Applications 11i, I don't get an error message, but there isn't a pdf file created.
Has someone any suggestions? I'm allready searching for 2 days and I'm not finding the solution...
Thanks,
Martine Vanderveken.

It may be that rep2.rdf is not in REPORTS60_PATH. You can turn on tracing (tracefile=youTraceFile.txt traceopts=trace_all) and error file (errfile=yourErrorFile.txt) to see if there are any errors being detected which aren't being report through the concurrent manager log files. You can also use srw.message() functions to add to these tracefiles or the PL/SQL file IO functions to trace yourself.

Similar Messages

  • Does report2.5 works with srw.run_report and Oracle Apps11.0.3

    Hi,
    I have reports2.5 and using srw,run_report I want to call another report. NOw I have registered this in oracle apps 11.0.3 . Now through oracle apps if I run the main report it has to call the child report (calling via srw.run_report) and the output should be put in the Unix server directory /tmp/
    Please help Ratheesh.
    Iam not sure whether report2.5 works fine with srw.run_report and oracle apps11.0.3

    Try this isntead.
    java -classpath d:\jdbc\classes12.zip;. jdbccheckup
    an error occured:
    Exception in thread "main" java.lang.NoClassDefFoundError:jdbccheckup
    Why??????

  • Some text goes missing in the PDF output after I convert FM8 book

    Hi,
    I am using Framemaker 8.0, Acrobat 8.0 Professional, Acrobat Distiller 8.0.
    When I convert my Framemaker books to PDFs, some text (especially Table Heading tags) go missing in the PDF output. I have tried to change the font colour, change the cell shading, and many other options. But, the problem persists.
    I saw some similar links on the forums with this kind of problems. For example,
    http://support.microsoft.com/?id=952909
    http://forums.adobe.com/message/3285145
    http://forums.adobe.com/message/4167112
    http://helpx.adobe.com/framemaker/kb/troubleshoot-pdf-creation-problems-framemaker.html
    After going through these links from the forums, I realized that this is a known issue. But, the above links direct me to Microsoft patches and these patches are available only for Windows XP, Windows 2003 Server, and Windwos Vista operating systems. My operating system is Windows 7 Professional, 32-bit version.
    One more thing I want to say is we have never faced this problem earlier. It started appearing now.
    While I know that the world (many of us) moved on to Framemaker 9 and 10, I also know that there is someone out there to help me to overcome this issue.
    Thanks and regards,
    Raghavacharyulu NCB

    Hi Harpreet,
    Thanks for your response.
    We tried this option also. In fact, the Distiller shows this option by default. Secondly, we have recently updated our old template to reflect the new corporate styles and we suspect something went wrong there. We once again took the old template and updated with the new colour definitions and fonts, this time very carefully and it started working. Now, the text is not missing.
    So, the result is something is wrong with our template. Quite surprising is it is inconsistent and some places the text appears and some places it does not.
    Where do you work? Are you in India?
    Cheers,
    NCB Raghavacharyulu
    Mobile No. : 9845192336
    E-mail : [email protected]

  • Data missing in PDF output generated by RDF locally only for one time.

    Hi All,
    Could any one please help me in finding the reason of the below mentioned issue.
    I have downloaded an RDF onto local machine and changed only sorting of few columns required.
    After that I had generated PDf output on local machine for first few times PDF is generated with correct output.
    Unfortunately when I again generated PDF output as final version, a few columns are missed in displaying in the PDF output. again I ran the RDF for next time and the PDF is generated correctly.
    Now I want to know what may be the reason that for that time only PDF generated with missing data.
    FYI, Problem occured in Report Builder *9.0.4.0.33*
    This reason is really urgent and needfull for me.
    Your help is very much appreciated.
    Many Thanks in Advance.
    Regards,
    RRM

    Hello,
    What is the report orientation PORTRAIT/LANDSCAPE? What happens if you set the SYSTEM PARAMETER ORIENTATION to PORTRAIT/LANDSCAPE upon your report output and then generate again. While saving as PDF also see the page orientation.
    -Ammad

  • Using srw.run_report in report server

    Dear all,
    I'm running a report (report A) on the report server and after it is running (printing output on screen), I need to run report B at the background and save the output of report B to the file system. In the report A's After Report Trigger, I have a srw.run_report function, the syntax is: srw.run_report('server='||v_serverName||' report='||v_reportName||' batch=yes destype=file desname=/tmp/output.pdf desformat=pdf p_startdate=''12-JUN-2003'' p_enddate=''14-JUN-2003'''). When I run the above syntax (without the server name part) in report builder, it works fine. But I couldn't get it working on the report server. Each time report A runs, report B couldn't be run at all (no job id was given or scheduled). Could anyone give me an idea on whether srw.run_report could be used in the report server?
    Many thanks for your urgent help.
    Rose

    Can I use this build it to run itself? I mean in your case run report A?
    our report is launched from servelet. because of some security issues, I would like to use this built in to change it to command line after user enter all the parameters through the parameter form.
    thanks.

  • Problems with SRW.RUN_REPORT on 10gReport Server (9.0.4)

    I have recently upgraded to 10gReport Server (9.0.4) and for the most part have no problems running reports. However, when running reports that call other reports, the srw.run_report server call hangs. Found that this is a bug in 9.0.4. Work around is to not include the server parameter in the run_report string.
    Current string appears this way in the Before Report Trigger:
    srw.run_report('batch=yes report=(reportpath)\comptype.rdf destype=cache desformat=pdf');
    srw.run_report('batch=yes report=(reportpath)\stdomicile.rdf destype=file desformat=pdf');
    However, when running from the calling report, it will render in pdf for the user, but the comptype.rdf and stdomicile.rdf reports error with the following message:
    REP-52251: Cannot get output of job ID 966 you requested on Wed Dec 14 10:17:30 CST 2005.<P>REP-56033: Job 966 does not exist
    REP-52251: Cannot get output of job ID 965you requested on Wed Dec 14 10:17:30 CST 2005.<P>REP-56033: Job 965does not exist
    respectively.
    When checking OH\reports\cache..all reports are available and printable, but for some reason they are not rendering in pdf to the screen. I did not have this problem prior to moving to 9.0.4 report server.
    Does anyone have any ideas as to why the reports will not render correctly? Users cannot get to the cache file to manually print themselves.
    any help will be appreciated.

    We're having the same problem with our upgrade to 10g (9.0.4). I'm getting the REP-52251 error and no report output in Adobe.
    Were you able to resolve your problem?
    Bill Hartenberger
    [email protected]

  • SRW,Run_Report not working on Report Server

    1 The plan is to do a select in the mother report. Get a number of rows, among them a company name, which the SQL is sorted on.
    2 In the data model I have a function that checks if a global variable is the same as the company name. If not, it will set the global variable equal to the company name, and then it will run a global defined function that starts the SRW.Runreport call that generates a PDF for this company.
    3 Next row the same thing will happen, and maybe the function is run again, or maybe it is the same company, in which case the SRW function will be skipped.
    The report runs nicely from reports builder, but when I try running it on the server it fails with error: REP-1401: 'cf_doc_trans_letterformula': Fatal PL/SQL error occurred. ORA-06508: PL/SQL: could not find program unit being called.
    I use following web link to start the “mother” report: http://Rep_server/reports/rwservlet?SERVER=origo_report&USERID=user%2Fpassw%40tns_name&AUTHID=user2%2Fpassw2&DESTYPE=cache&DESFORMAT=rtf&Report=temp.rdf
    In the temp.rdf the following statement is executed: SRW.Run_Report('BATCH=YES DESTYPE=FILE DESFORMAT=pdf DESNAME='||P_Desname||'.pdf REPORT='||P_REPORT||'');
    Are there any special settings I must make, when running on a Reports Server as opposed to the Reports Ruilder? Do I need a SERVER=REP_SERVER in the SRW.Run_Report parameter list?
    Any suggestions at all will be immensely appreciated.

    Hi,
    Top right cornor has a text box. Type "bobj is undefined" & you would find many KBs, forums & blogs.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=bobjisundefined
    Thanks,
    Saurabh

  • How to use srw.run_report without userid parameter in 10g

    I have the following function which works fine when I supply the userid parameter.
    Is it possible to run srw.run_report without the userid? If not is there another way to run a batch report to create a file?
    create or replace
    FUNCTION SUNRESDS(vopersorjudicial varchar2)
    RETURN VARCHAR2 as
    myPlist SRW_PARAMLIST;
    myIdent SRW.Job_Ident;
    BEGIN
    myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
    srw.add_parameter(myPlist,'GATEWAY','http://xxx.xx.xxx.xx/reports/rwservlet');
    srw.add_parameter(myPlist,'SERVER','rep_172_FRHome1');
    srw.add_parameter(myPlist,'REPORT','d:\oracle\FRHome_1\forms\sunresds.jsp');
    srw.add_parameter(myPlist,'USERID','username/password@databasename');
    srw.add_parameter(myPlist,'DESTYPE','file');
    srw.add_parameter(myPlist,'DESFORMAT','PDF');
    srw.add_parameter(myPlist,'popersorjudicial',vopersorjudicial);
    srw.add_parameter(myPlist,'DESNAME','d:\Reports\unresolved_discrepancies.pdf');
    myIdent := srw.run_report(myPlist);
    return 'Y';
    EXCEPTION
    when others then
    return ('sunresds ' || sqlerrm);
    END;

    Did you solve your problem? How did you do?

  • Font subsetting issue with srw.run_report

    I have PDF subsetting as
    "Courier" = "MSGOTHIC.TTC"
    I have a report emp.rdf. This emp report just displays the data from emp table.
    I have a report dept.rdf. This dept report just displays the data from dept table.
    In the after report trigger of the dept, I added
    srw.run_report(report=emp destype=file desname=emp.pdf desformat=pdf);
    I am running the dept report from command line as
    rwclient server=<servername> userid=<user/pwd@db> report=dept destype=file desname=dept.pdf desformat=pdf
    The report hangs. I tried moving the after report trigger to before report trigger and it fails too.
    Any ideas?

    Hi,
    Can you try running this report from the Reports Builder, ie, use File > Generate to file > pdf, and see if both the master and child files are generated.
    If yes, can you post both server and engine trace file contents (last few lines) of the instance when you run it from the server, and not from Builder.
    Navneet.

  • Adding Hyperlinks in Report shuould take action in PDF Output

    Hi All,
    I had a requirement with reports
    Explanation of the requirement.
    I had a report aaa.rdf which gives a (one)employee monthly details.
    which need to be output in PDF.
    now the requuirement is
    I had added labels "next-month" and "previous-month" labels at either side of report title.
    I need the code to kept in these labels such that when this report is executed and taken into PDF file, when user
    user clicks on the "next-month" or "previous-month" in that PDF file, the action to take is it should re-ran the same report(aaa.rdf) and should display the output in PDF in the same window but now the output should show the
    coressponding next-month or previous-month results respectively of that employee.
    please let me know if this make sense.
    please guide for the above requirement.
    this is very very urgent your help will be appreciated.
    Thanks in advance
    RRM

    Hi,
    it is not too late ....
    It's possible to add such Hyperlinks to the pdf-Output of a report.
    With use of the built-in rw.set_hyperlink('hyperlink') in a format trigge you can realize that. "hyperlink" is for example then something like:
    '/reports/rwservlet?destype=cache&desformat=pdf&report=drilldetail.jsp&userid=scott/tiger@josi&p_deptno='||:deptno
    In your case it's a call to the same report you run before and you had to set your month-parameter in the call depending your current month (next or previous).
    With srw.set_hyperlink_attrs('string') it's possible to add additional attributes like for example
         srw.set_hyperlink_attrs('target=_new')
    which opens a new browser window.
    This works for HTML & PDF.
    Regards
    Rainer

  • Diff bet. run_product and srw.run_report

    In reports 6i is there any difference in architecture between using run_product and srw.run_report(which according to 6i doc calls rwrun60.exe)? The reason is I that have the same report submitted by the above two processes produce font difference in the output pdf file. One gives courier and the other gives courier new where as my actual report font is courier.
    Is ther any difference in the architecture?(run_product uses any in-process report server where as rwrun submits to the report server??)?
    Any advice or suggestion or pointers will be highly appreciated!!

    Hi Venkat
    Ensure that your uifont.ali does not have aliases for Courier font under the [Global] or [Printer] section.
    Regards
    Sripathy

  • Doubt in srw.run_report

    hi all,
    i tried to call one report from other using srw.run_report,the below code is working fine
    but i give destype=screen or preview then its getting error.im using report 10g.
    how to use this?
    function BeforeReport return boolean is
    begin
    srw.run_report('batch=yes report=e:\REP\CALL_REPORT\emp.rdf
    destype=file desformat=PDF desname=e:\REP\CALL_REPORT\emp2.PDF');
    return (TRUE);
    end;

    srw.run_report package may not be used in webservice. It does fit to server/client application.

  • Srw.run_report problem

    Hi all,
    i'm trying to run a report inside another report using srw.run_report routine, but i get the following error:
    REP-0110: Impossible to open file 'app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf'
    the full command that i use is: srw.run_report('report=app/OA11i/NOCE/software.ds/noceappl/xxene/11.5.0/reports/I/XXENE_PROPACCPDRNOINT.rdf desname=DL006345.pdf destype=file desformat=pdf batch=yes P_PDR_ID=10015 P_DATA_ATTIVAZIONE=20-FEB-07 P_USE_SITE=LEGAL');
    Thanks for the help,
    bye
    Simona

    Hello Simona,
    Below is the definition of the error you are getting:
    Cause:     Report Builder tried to open the file shown and could not.  The possible causes of this error include the following:       
            Case 1:     The file was not found under the specified name in the specified location. 
            Case 2:     You lacked the necessary privileges to open the file. 
            Case 3:     A system error made it impossible to open the file. 
    Action:     You can take the following actions to correct this error:       
            If Case 1:     Make sure the file is stored in the specified directory under the specified name.  If it is not, change the directory and/or filename as appropriate. 
            If Case 2:     Make sure that you have the privileges necessary to open the file.  If you do not, change your privileges accordingly. 
            If Case 3:     Consult your operating system documentation or contact your system administrator.Hope this helps.
    -Marilyn

  • Reports 6 using SRW.RUN_REPORT - problem with transferring variable to new report.

    I have one report "analyse" that calls another report "pdf".
    In "analyse" i have a function pdf_rep:
    FUNCTION PDF_Rep(c_proevenummer varchar2) RETURN boolean IS
    msg char(150);
    BEGIN
    SRW.Run_Report
    ('BATCH=YES
    REPORT=PDF
    DESTYPE=file
    DESFORMAT=PDF
    desname=test1.pdf
    p_proevenummer='||(c_proevenummer) );
    return(true);
    exception
         when srw.run_report_failure then
         msg := srw.geterr_run;
         srw.message(1,'err msg: '||msg);
         return(false);
    END;
    This function is called from BeforeReport-trigger. (or AfterParameterForm-trigger)
    The "pdf" query:
    select proevenummer
    from View_Analyse
    where proevenummer= :p_proevenummer;
    The "pdf" report is run and a test1.pdf file is made BUT the where-clause is NOT performed.
    What do i do wrong ?

    Hello,
    If you copy the parameters displayed by srw.message and create a BAT file with these parameters
    and rwrun60 :
    rwrun60 <the paremeters displayed by srw.message>
    Does the report run correctly ?
    Regards

  • SRW.Run_Report is not working in Reports from 6i to 10g

    Hi,
    I have a report .rdf file that submits another .rdf report using the SRW.Run_Report. This code was working fine in Reports 6i version. We are upgrading the Reports 6i to Reports 10g, and did a small change in the call i.e., Removed the server parameter, and it is not working. This is in Oracle E-Business Suite environment. The first report is called as a Concurrent Program. Here is the call that was working fine in Reports 6i (i.e., Oracle Apps 11i environment)
    srw.run_report('report='||l_source_dir||l_parent_shortname||'.rdf'||
    ' p_user_id='||l_user_id||
    ' p_resp_id='||l_resp_id||
    ' p_appl_id='||l_appl_id||
    ' p_conc_request_id='||
    ' batch=yes mode=character destype=file desname='||l_destination_dir||l_filename||
    ' desformat=verp_i012 p_vendor_id='||dealer_list_rec.vendor_id||
    ' p_trx_date_from='||to_char(l_date_from, 'DD-MON-RRRR') ||
    ' p_trx_date_to='||to_char(l_date_to,'DD-MON-RRRR') ||
    ' p_period_name='||l_period_name ||                                                                      
    ' server='||l_server
    It has been modified to the following for Reports 10g (i.e., Oracle Apps R12 environment)
    srw.run_report('report='||l_source_dir||l_parent_shortname||'.rdf'||
    ' p_user_id='||l_user_id||
    ' p_resp_id='||l_resp_id||
    ' p_appl_id='||l_appl_id||
    ' p_conc_request_id='||
    ' batch=yes mode=character destype=file desname='||l_destination_dir||l_filename||
    ' desformat=verp_i012 p_vendor_id='||dealer_list_rec.vendor_id||
    ' p_trx_date_from='||to_char(l_date_from, 'DD-MON-RRRR') ||
    ' p_trx_date_to='||to_char(l_date_to,'DD-MON-RRRR') ||
    ' p_period_name='||l_period_name
    );

    Thank you for your reply.
    Yes, it's done using MOD-PLSQL version 10.1.2.0.2.
    I did as you said: compared the 2 generated HTML files. It's not that it doesn't generate all tags. It generates all tags but some of them are different, that is it screws them up.
    Here it is some example code.
    For example, in 9i I have the following code:
    div id=div_plus_GENERALE style="cursor:hand; display:none;"
    <td> width=8 </td>
    <td id=butt align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';
    "onClick="if (butt_clicked) butt_clicked.style.cssText=restore_butt_style;
    butt_clicked=this; restore_butt_style=butt_off_lit;
    this.style.cssText=butt_on_lit;
    var x = document.getElementById('Freccia_' + freccia_old);
    x.style.display = 'none';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.style.display='block';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    In 10g the HTML code looks like this:
    div id=div_plus_GENERALE style="cursor:hand;"
    <td width=8> </td>
    <td align=left style="font-family:Verdana,Tahoma;
    font-size: 10px; font-weight: 400; color: '#ffffff';
    background-color: '';">
    <a href="sitointer.anagrafica.anagrafica_cliente_punto target="frameCenter"
    onClick="var x = document.getElementById('Freccia_' + freccia_old);
    x.Style.visibility='hidden';
    Freccia_sitointer_anagrafica_anagrafica_cliente_punto.Style.visibility='visible';
    freccia_old='sitointer_anagrafica_anagrafica_cliente_punto';"
    onMouseOver="this.style.cssText=butt_on_lit;"
    onMouseOut="if (butt_clicked != this) this.style.cssText=butt_off_lit;">Anagrafica Fornitura</a></td></tr>
    <tr>
    <td height=2></td>
    </tr>
    </table>
    At this point I don't know what should I investigate next.
    Thank you very much.
    Daniela

Maybe you are looking for

  • How to define the PLD of a Query generator report

    Hi All, I want to define the PLD of a Query Report. Currently I am Convertning it to Excel format. But my client wants it in PLD format.  so please tell me the process of defining the PLD for a Query generator Report. Thanks & Regards Pankaj Sharma.

  • Not a valid photoshop document after time machine recovery and reinstall of photoshop

    After a time machine recovery most of my photoshop documents recovered fine, however there are a select few (and my most recent work unfortuantely) that seem corrupt. It isn't all of my documents. Trying to recover them again from back-up doesn't see

  • Adobe Reader Patches - lack of cumulative patches!

    Dear Adobe, Could you *please* think about us poor sods who have to actually maintain your products in enterprise setups? I dont want to have to install V9.1.1. and then patch with 9.1.2 and then patch with 9.1.3. This is a nightmare. How about eithe

  • How to pass dynamic parameter to a database function in OBIEE

    Hi, I have a requirement like this. I have to create one report in OBIEE which was in Discoverer. Now in discoverer report there are some calculated item in the worksheet based on database pkg.functions. The parameter which user gives at run time tha

  • Desktop files etc. won't open after botched software install

    Dear New Best Friends: (a) My new mac mini is just up and running since yesterday. I'm not new to Mac but AM new to setting up, installing, etc., and to being the one responsible. (My brother-in-law used to do everything for me, but he moved, the hea