Need to view concurrent request output(pdf file of XML report)from OAFpage

Hi,
I am submitting a concurrent request from OA page (on click of submit button).
As of now, to view output of the request user has to open SRS form.
Now the rquirement is to submit the request as well as to open the output file of the request in one action(i.e. on click of submitbutton) instead of going to SRS form to view output.
From the forum, I found out the way to go to request monitoring page and view all the current requests. But this is something different from what I am looking for.
Can somebody help m in this case?
Thanks & Regards
Nitin

refer this link
http://apps2fusion.com/at/ps/286-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page
--prasanna                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • APEX integration with EBS 11i10: view concurrent request output

    Hi All:
    ENV: APEX 4.0
    EBS: 11i10
    DB: 10r2
    APEX is installed in the same database as EBS 11i10
    1. I have developed a APEX application that is can be launched from EBS as a form function. Also, the APEX will not ask any credential when user launch it from EBS, since user is already authenticated. Also, APEX will also display FND username, responsibility for user who has login - <<This is already implemented>>
    2. by Default, APEX will display a page, where user can browser and import a csv file into a predefined custom table <<This is already implemented>>
    3. After csv file is imported into cusotm table, user will click "Submit" button to process the data. APEX will submit a concurrent request (eventually, the concurrent program will call Oracle API to process data). A concurrent request is will display on the apex page. << This is WIP and I don't forsee any issue to implement this, since many have done this before>>
    4. User will write down the request id from step 3 and go to another apex page. In this page, user will enter request id and click "View Output", which should retrieve the concurrent output for that request id and display the output in a new browser. I don't want user go back to EBS to view the concurrent output. << This is my question for this thread>>
    My question for step 4: is there a seeded EBS API (FND_???) that I can call by passing a request id and API should display the concurrent request output in a browser automatically? Assuming, I will use fnd_global.apps_initialize() API in this page to set EBS env properly.
    My question may not be a direct APEX question; however, I hope someone can offer some help to me. I have done numerous research on this and still haven't find this API.
    Thanks!
    Kevin

    Hi Kevin,
    I am having an issue implementing the Call from an EBS menu entry to the APEX Page.
    I created the menu entry as a SSWA Function that use the apex_launch procedure to call the APEX page but when the user clicks on the option menu, the EBS login page appears.
    Can you share with me how can I fix this?
    Thanks
    AEstrada.

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • To view the concurrent request output in a custom form

    Hi,
    I have a requirement to view the concurrent request output from a custom form.
    I can use the function "fnd_webfile.get_url " in a PL/SQL procedure and get the value for URL for the request output.
    I am not sure how I can call this function from the form directly , ie not sure which library needs to be attached.
    and also how to display the URL which has been obtained.
    regards

    Hi,
    I used the below code in my form
    l_url := fnd_webfile.get_url
    file_type =>'request_xml_output' , --fnd_webfile.request_out,
    id => req_id,
    gwyuid => l_gwyuid,
    two_task => l_two_task,
    expire_time => 10 -- minutes, security!.
    when I used fnd_webfile.request_out the form was not compiling and hence I passed the value 'request_xml_output'
    Now no compilation error exists however how do I display the concurrent request in the screen.
    I am not clear here, is there any function I need to use. I checked the FNDRSRUN form and there they have used
    editor_pkg.report(req_id, 'Y');, I tried using it but no use.
    regards
    Maya

  • Concurrent request output files removed - now concurrent requests failing

    Hi.
    I recently removed all *.out files from the concurrent request out directory that were older than 5 days.
    I didnt think these were needed, only recorded output from earlier concurrent requests. But now we have a request complaining that
    The Applications File Server could not open the file /apps/prod/prodcomn/admin/out/PROD/o16499119.out for read.
    Any ideas?
    Thanks.
    Oracle 10.2.0.4
    EBS 11.5.0.2
    DA

    Dan,
    It is expected to get this error as the concurrent request output file is missing. The only way to fix this error is to restore the out files from a recent backup you have taken. Or, ask the user to submit the same concurrent program again and a new out file will be created then.
    Thanks,
    Hussein

  • In which folder oracle print quote concurrent program save pdf files

    Hi,
    IN oracle print quote functionality, where is the path of the directory where are files are saved.I have checked with so many documents but not found the solution
    I have checked the aso profile option for setting directory path also but the profile option is not available in our EBS

    plz re-check $APPLCSF/$APPLOUT
    what is
    cd $APPLCSF/$APPLOUT
    pwdis it blank for you?
    did you set env before check $APPLCSF/$APPLOUT ?
    also check $APPLPTMP
    concurrent request output $APPLCSF/$APPLOUT and log $APPLCSF/$APPLLOG
    How To Change The Log And Output Location For Concurrent Managers? [ID 872766.1]
    Concurrent Processing - Concurrent Manager Generic Platform Questions and Answers [ID 105133.1]
    On A Multi-node / RAC Installation Is $APPLCSF And $APPLPTMP An NFS Mount Point [ID 371896.1]
    Concurrent Processing - Concurrent Requests Fail with FDPSTP failed due to ORA-20100: File o0002712.tmp creation for FND_FILE [ID 148262.1]
    Reports Cache Directory in Oracle E-Business R12 is Growing Rapidly [ID 859255.1]
    Knowledge Management: How To Find Output File For Knowledge Management Solution Export Program [ID 292922.1]

  • Invoking a call to a window executable fails when request output to file

    Hi,
    When invoking a call to a window executable it fails(returns 1 instead of 0) when requesting output to file by using "> filename.txt". This nornally works when run directly within a
    windows command prompt, and it also works if I don't add the "> filename.txt" at the end. Also instead of outputting to a file I would like the same called executable to output to a memory variable that I can extract data without going to a external text file.
    Below is the .java file
    package com.insequence.gv;
    public class Jinvoker {
              public static int invoke(String program) throws java.io.IOException, java.lang.InterruptedException
                   System.out.println("invoking program: " + program);
                   Process p = Runtime.getRuntime().exec(program);
                   int exitValue = p.waitFor();
                   return exitValue;
              public static void main(String[] argv)
                   try
                   System.out.println("invoker start");
    //               int retval = invoke("c:\\tvalesky\\java\\invoker\\targetexe arg1 arg2 arg3");
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe C:\\data\\EarthData2005\\Ortho\\no_collaged.tif");
                   String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif > c:\\testing.txt";
    //               String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif";
                   int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe " + arg1);
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe");
    //               String arg1 = "-s_srs epsg:26915 -t_srs epsg:4326 C:\\data\\EarthData2005\\Ortho\\no_collaged.tif C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif";
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalwarp.exe " + arg1);
    //               int retval = invoke("C:\\testing.bat C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif");
                   System.out.println("invoker end: returned " + retval);
                   catch(java.io.IOException e)
                        System.out.println("IOException caught: " + e);
                   catch(java.lang.InterruptedException e)
                        System.out.println("InterruptedException caught: " + e);
    Thanks,
    John Mitchell

    Well, if you ultimately want the output from the process, you don't need to redirect it to a file first. Just read from the standard output of the process. See [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getInputStream()]Process.getInputStream and Process.getErrorStream. You'll need to read from both simultaneously so you'll need to create two threads. You could also use [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html]ProcessBuilder if you're using Java 1.5

  • Thumbnail view of local network .pdf files on iPad?

    Problem: I have about 250+ Lego Building Instructions saved on my MacPro.  My kids like to rebuild the sets and I'm looking for a way to view these form our iPads WITHOUT me having to sync them. 
    Is there any app that offers a visual/thumbnail view of local network pdf files?
    I'm aware that I could upload them all to Dropbox, but even then I was not able to find a visual view in the Dropbox app.  And, since there is no need to go up to a cloud I'd like to avoid that step.
    I would rather not have them even kept on the iPads but rather just have the iPads view the copy from my hard drive and then trash it on close off said magical app.
    Any suggestions?

    no one?  nothing?  anyone?  anything?

  • How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    How to make Adobe as your default viewer for all your PDF file instead of the Preview given? Thanks

    you need to "Get Info" on the file first. Select it, right click and select 'Get Info' in the menu.
    In the window that pops up, near the bottom, the "Open With" drop down menu needs changed. If the drop down menu does not present the one you want, select "Other" and find it.

  • How to view concurrent request of other users

    We have upgraded recently to R 12.
    Would really appreciate if some one can guide me how i can allow the super user "A" to be able to view all the concurrent requests that were submitted by various key users of HRMS.
    I know in 11i there is a profile option: "Concurrent: Report Access Level" that defines who can access the output of concurrent requests.
    I want to assign the same to one user (super user) only in R12 instance.
    how to do this???

    594647 wrote:
    We have upgraded recently to R 12.
    Would really appreciate if some one can guide me how i can allow the super user "A" to be able to view all the concurrent requests that were submitted by various key users of HRMS.
    I know in 11i there is a profile option: "Concurrent: Report Access Level" that defines who can access the output of concurrent requests.
    I want to assign the same to one user (super user) only in R12 instance.
    how to do this???Please see these docs/links.
    R12 View Concurrent Requests FAQ [ID 1261985.1]
    Unable To View Concurent Output Executed By A User Of The Same Responsibility [ID 1468231.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=View+AND+Concurrent+AND+Other+AND+User+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • How to remove the extra space in the output pdf file?

    Hi All
    In our RTF layout template we have both static content and dynamic content.
    In RTF template we have used many if-else,choose,For each loops.
    On the account of that,In the output pdf file, we are getting lot of empty space in the place of that coding(if-else,choose,For each loops).
    Is there anyway to reduce the space in the output pdf file?
    Please suggest some ideas.
    Thanks in Advance.

    White space is NOT your friend!
    Make sure you don't have any unwanted whitespace between commands and especially tagged on the end of lines. Chain your commands together with no whitespace and let them wrap, do not enter carriage returns.
    Cheers,
    Dave

  • How to output PDF file through XI from PDF form generated in SAP

    Hi, All,
    I need to generate and send out PDF file to other system through XI. The PDF file source come from SAP PDF form which type is XSTRING. I see there is a similar thread posted here /message/527877#527877 [original link is broken]
    but it seems does not have good solution there. Can anybody give a hand?
    Useful information will be surely awarded.
    Yang

    Hi,
    Please check the links below to know about conversion agent tool,it is a third party tool which helps to convert the PDF,word doc,HL7 doc......etc into xml format.
    This s/w u have to buy from SAP and do the convertion in the convertion agent tool and deploy it in the xi server.
    Check the links
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    More on the SAP Conversion Agent by Itemfield
    Integrate SAP Conversion Agent by Itemfield with SAP XI
    Conversion Agent a Free Lunch?
    How to get started using Conversion Agent from Itemfield
    Conversion Agent - Handling EDI termination characters
    https://websmp102.sap-ag.de/~sapdownload/011000358700001090982006E/ConvAgentDocSP16.zip
    https://websmp102.sap-ag.de/~sapdownload/011000358700004921152005E/ConversionAgent.pdf
    Regards,
    Phani

  • Integrating an Exisitng multiple page PDF file into a report and outputting as one PDF

    Post Author: sditmer
    CA Forum: Crystal Reports
    We would like to be able to  PDF files into a report based on a file name contained in the detail of the report. For Example, I have some data in our database relating to a specifc PDF file  including the name of the PDF that I would like to print in the header of the report and then print the actual PDF as the detail of the report. The PDF may be multiple pages so I would like the remaining pages of the report to follow on each page of my crystal report. Essentially I am trying to merge a  report header onto a mulitple page PDF file as a single report. Is this possible to do out of the BOX with Crystal? Do I need some other tools to do this?

    Post Author: IdoMillet
    CA Forum: Crystal Reports
    Consider a 3rd-party tool as a solution (for a list of such tools, see http://www.kenhamady.com/bookmarks.html).My Visual CUT software allows you to automate the process of merging the pdf export of your reportwith a pdf file named based on a formula in the report.  The resulting merged pdf file can automatically be printed or emailed.

  • Get/Save PDF file generated by Reports.

    How can I get the temporary .pdf file stored in the cache by Reports Server when, there is a request for a report?
    When the a request to view output as PDF file? Reports server stores the output PDF file in the server cache but generates bogus alphanumeric files. Is there a way I can save it myself so that I can capture that file for future use. or maybe a Reports API?

    When it appears in the browser you could use "Save As" to save it locally.

Maybe you are looking for

  • Splitting video over two displays - can it be done?

    i am doing some video work for a musical at our high school. i will have video projected on a back canvas, but to get better quality of the image (since its so big) is there any way to hook up two projectors so they combine and act as one giant wides

  • Problem calling COM Object on Windows Server 2008 x64

    Hi, We are using 32 bits COM object called in Coldfusion page on 32 bits OS. It works fine since few years. Now we need to use it on x64 Windows Server 2008 and 64bits IIS. As I 've seen (http://www.coldfusionjedi.com/forums/messages.cfm?threadid=878

  • Moving Certain Album Folders in Windows

    I have a large number of Compliation Albums that are all stored in a single Complilations Folder. How can I move these to discrete Folders for each Album such that iTunes recognises that they have been moved without having to change the location manu

  • WEB client version too new

    Hi, We have installed forms 6.0.8.11.3 with jinitiator 1.1.8.16. In the formsweb.cfg we have indicated the right jinitiator version and clsid. Forms server and apache are configurated and running. When trying to thru an URL we get the message: FRM-92

  • Security logs not overwrite

    Hi I have windows server 2012 I configure the security log with size 4 GB and override but I find that after the log file reach 4 GB they archive it and create another one although I configured to overwrite not archive  . what shall the reason ? I re