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

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.

  • 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

  • Script to find the Concurrent Request ID from its associated SID

    Hi,
    In one of my production system, my server load is going very high. From the top used process ID of server, I found the SID and found out that the program running is "ora_rw20_run@acgerp (which is a concurrent program)
    How do I find out the Request ID using the SID/PID? Can someone please provide me the script to find the Concurrent Request ID from its associated SID?
    Thanks!

    There has been no new changes in the report server or in the database. Suddenly of late, we have been observing this program running and it never ends, consuming major part of the cpu load. Not sure what this program is -> ora_rw20_run. There is no mention about it in metalink or in google.
    I followed MOS Doc 1058210.6 and tried to debug more. But the formatted output doesnt give any info either.
    TKPROF: Release 10.2.0.2.0 - Production on Tue Oct 20 09:44:21 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Trace file: prod_ora_15721.trc
    Sort options: default
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    0 statements EXPLAINed in this session.
    Trace file: prod_ora_15721.trc
    Trace file compatibility: 10.01.00
    Sort options: default
    1 session in tracefile.
    0 user SQL statements in trace file.
    0 internal SQL statements in trace file.
    0 SQL statements in trace file.
    0 unique SQL statements in trace file.
    96507 lines in trace file.
    0 elapsed seconds in trace file.
    When I use the below query, I can find that the session is running a module named "PAXMGSLS" and the action is Concurrent Request.
    But I am not sure how to find out the Concurrent Request ID using this info to dig more (look into the concurrent request log files etc)
    select s.sid,s.serial#,p.spid os_pid,s.status,
    s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE, s.SCHEMANAME,
    s.LOCKWAIT,s.action
    from v$session s, v$process p
    WHERE s.paddr = p.addr
    and s.sid = 823
    SID     SERIAL#     OS_PID     STATUS     OSUSER     USERNAME     COMMAND     MACHINE     MODULE     SCHEMANAME     LOCKWAIT     ACTION
    823     47     4559     ACTIVE     applprod     APPS     3     acgerp     PAXMGSLS     APPS          Concurrent Request

  • How to find Concurrent Request output file Document ID if exists

    Hi,
    My Concurrent Request when runs, it produces an output file.
    This output file is located on the server.
    Could any one let me know from which tables i could get the document id and the node id of the node where this document resides if it does in the Oracle Document Management System.
    I want to do is use this in the workflows to set the attribute value using procedure
    SetItemAttributeDocument
    Thanks in advance,
    P

    On the Concurrent Requests table (FND_CONCURRENT_REQUESTS), the OUTFILE_NODE_NAME and OUTFILE_NAME indicate where the output file is stored. As far as I know, this is only on the server running the concurrent manager and not in the Oracle Document Manager System.
    What are you trying to do with your output? If you are simply trying to provide access to it, you might be able to construct a URL similar to the standard concurrent request completed notification (basic email which provides a link to the output of the completed request).

  • How to get the concurrent request id while running a concurrent program

    Hi All,
    I am working with oracle apps r12.
    I have created a custom report with some parameter. And i have created a parameter P_CONC_REQUEST_ID.
    And in the report i have used SRW.USER_EXIT('FND SRWEXIT'); in after report and SRW.USER_EXIT ('FND SRWINIT'); in before report trigger.
    when i ran the report from the application, I didnt get the conc request id in the parameter. It not passing the concurrent request id.
    Can any one tell me how to bring the concurrent request id.
    Thanks & regards
    Srikkanth
    Edited by: Srikkanth.M on Mar 14, 2012 1:56 PM

    Hi;
    FND_CONCURRENT_REQUESTS
    This table contains a complete history of all concurrent requests.
    FND_RUN_REQUESTS
    When a user submits a report set, this table stores information about
    the reports in the report set and the parameter values for each report.
    FND_CONC_REQUEST_ARGUMENTS
    This table records arguments passed by the concurrent manager to each program it starts running.
    FND_DUAL
    This table records when requests do not update database tables.
    FND_CONCURRENT_PROCESSES
    This table records information about Oracle Applications and operating system processes.
    FND_CONC_STAT_LIST
    This table collects runtime performance statistics for concurrent requests.
    FND_CONC_STAT_SUMMARY
    This table contains the concurrent program performance statistics generated by the Purge Concurrent Request and/or Manager Data program. The Purge concurrent Request and/or Manager Data program uses the data in FND_CONC_STAT_LIST to compute these
    Also see:
    concurrent request details
    Find history of concurrent request details
    How to determine the user who placed a certain concurrent request?
    Regard
    Helios

  • How to view the purchase order output

    Hi all,
    how to view the purchase order output in the transaction me23n?
    How to obtain the purchase order output form?
    Please help..

    HI,
    goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
    then in ME23n click on messages there create ur message type NEU and save it
    then print the purchase order...
    hope u get solved with this
    Regards
    Syed A

  • How to acquire the concurrent request id in data template?

    Hi all,
    I want to know how to acquire the concurrent request from my report data template. I've created a placeholder for my parameter +<parameter name="p_conc_request_id" dataType = "number" defaultValue="0"></parameter>+ and for nothing ... i've got the 0 value.
    I need the concurrent request id in order to detect the user who launched the report. Is there other way on getting the user ??
    Thank you!
    All the best,
    Laurentiu
    Edited by: laurentiu on Jul 8, 2009 5:29 PM

    Hi,
    I read your previous post about this solution but i was not able to retrieve it. Here is step by step what i've done:
    - added the parameter to my data template
    - added the parameter to my concurrent program
    - added the parameter in my pl/sql package
    - i've run my concurrent request and the value returned in my xml is 0 for the concurrent request id parameter
    I don't know where i'am getting wrong ?!?
    Thank you!
    All the best,
    Laurentiu
    Edited by: laurentiu on Jul 8, 2009 6:47 PM

  • How to view the input and output layouts created in the planning folder?

    Hi all,
    How to view the input and output layouts created in the planning folder in the bw 3.5?
    Thanks
    Pooja

    Hi,
    You can refer to this link. How to create planning folder and executing the planning folder.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
    Hope this helps

  • Clearing the Concurrent Requests

    Hi All
    When we submit the concurrent requests, these are displayed in the submit request window. Suppose I want to delete the list of completed requests from the screen, how can I do it?
    Regards
    Rahman

    Run the concurrent request Purge Concurrent Request/And or Manager Data. Start with purging anything older than 30 days, then verify fnd_concurrent_requests has less than 50,000 rows. If not, purge the most frequent requests.

  • SBL-ODU-01008 The HTTP request did not contain well-formed XML.

    I am trying to invoke the activity webservice using Msxml2.XMLHTTP.4.0 through PowerBuilder...
    I receive the following error when executing the code below: SBL-ODU-01008 The HTTP request did not contain well-formed XML.
    ls_post_url = "https://secure-ausomxxxx.crmondemand.com/Services/Integration/Activity;"
    ls_response_text = "jsessionid=" + sesId + ";"
    ls_post_url = ls_post_url + ls_response_text
         loo_xmlhttp.open ("POST",ls_post_url, false)
    // loo_xmlhttp.setRequestHeader("Content-Length", 200 )      
    // loo_xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8" )      
    // loo_xmlhttp.setRequestHeader("Accept", "text/xml" )           
    // loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
    //     loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         ls_post_url2 = "document/urn:crmondemand/ws/ecbs/activity/10/2004:ActivityQueryPage"
         loo_xmlhttp.setRequestHeader("SOAPAction", ls_post_url2)     
         loo_xmlhttp.send()
    If I uncomment the setRequestHeader info, then I get a different error:
    ls_post_url = "https://secure-ausomxxxx.crmondemand.com/Services/Integration/Activity;"
    ls_response_text = "jsessionid=" + sesId + ";"
    ls_post_url = ls_post_url + ls_response_text
         loo_xmlhttp.open ("POST",ls_post_url, false)
    loo_xmlhttp.setRequestHeader("Content-Length", 200 )      
    loo_xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8" )      
    loo_xmlhttp.setRequestHeader("Accept", "text/xml" )           
    loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         ls_post_url2 = "document/urn:crmondemand/ws/ecbs/activity/10/2004:ActivityQueryPage"
         loo_xmlhttp.setRequestHeader("SOAPAction", ls_post_url2)     
         loo_xmlhttp.send()
    SBL-ODU-01007 The HTTP request did not contain a valid SOAPAction header. The value of the header was
    I am unsure what I am missing in order to invoke the web service. If anyone can help I would truly appreciate it.
    Thanks

    Hi,
    I tried the SOAP request you provided and got a different error response:
    <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Client</faultstring><detail><ErrorCode>SBL-ODU-01008</ErrorCode><ErrorMessage>The HTTP request did not contain well-formed XML. An attempt to parse it produced the following error: Unsupported wsse:Password Type. Valid Value: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText</ErrorMessage></detail></soap:Fault></soap:Body></soap:Envelope>
    After changing the Password Type from:
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    to:
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    The request was successful.
    Please let me know if this resolves your issue.
    Thanks,
    Sean
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    soapenv:mustUnderstand="1">
    <wsse:UsernameToken>
    <wsse:Username>abcdefg</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <q0:ContactWS_ContactQueryPage_Input
    xmlns:q0="urn:crmondemand/ws/contact/">
    <q1:ListOfContact xmlns:q1="urn:crmondemand/xml/Contact/Query">
    <Contact>
    <ContactType>='Customer'</ContactType>
    <ContactFirstName>='Fred'</ContactFirstName>
    <IntegrationId />
    </Contact>
    </q1:ListOfContact>
    </q0:ContactWS_ContactQueryPage_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Edited by: Sean Duffy on Jun 4, 2010 9:38 AM

  • 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                                                                                                                                                                                                                                                                                                                   

  • How to set a different output format as part of the Concurrent request

    We are on EBS 11.5.10.2 and we are also using XML Publisher 5.6.2. We have few Excel output reports. The issue we are having is that when we defien these reports as a concurrent program, the options for output always defaults to PDF. The end user has to alter this every time to Excel as part of the options, even though we know, the output is always going to be an excel output.
    Is there a way to default other than PDF. If not, is there any enhnacement request to default it from the template.
    Thanks,
    - Vasu -

    HI,
    thats right that default format is pdf but u can change this ... if u want the out put format as excel go to Oracle xml administrator responsibility -->administrator tab
    and change the default format as you required.
    otherwise .... if u want to change it while submiting the request .... go to submit request ... u find one options tab there click on it and change the format as well as template ..... or language if u want to change.
    also once u submit the request ... u can go to window menu and go for reprint and republish .... there also u can change the format and all.
    regards
    Ratnesh P

  • Cannot view the concurrent program.

    After the user schedule for the concurrent program, there is nothing appear in the concurrent program window. Actually, the concurrent program is running, but just the users cannot see it. How to solve this problem?

    I believe you can access reports run by other user if you set the profile option Concurrent:Report Access Level, and set by responsibility so that if the user has the same responsibility he/she maybe able to view all request run by user who has the same responsibility.
    HTH.

  • Concurrent Request Output from PL/SQL

    Inventory manager got the internal requisition approval workflow notification, he open the notification and
    click on the Approved button (here inventory manager want when he press the Approved button, report request is auto submit to the concurrent manager and when request is complete with "COMPLETE" and "NORMAL" status then automatically show the report output in the internet explorer, he don’t want to open the "FNDRSRUN" form), for this requirement I write the code in the workflow package "PO_REQAPPROVAL_INIT1" and submit the report request through "FND_REQUEST.SUBMIT_REQUEST" and it's working fine but problem is how report output show in the internet explorer when request is complete.

    Hi,
    Please refer to this document.
    Note: 357385.1 - How To Send Attachments Of Size Greater Than 32 KB Using UTL_SMTP Package
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357385.1
    Regards,
    Hussein

Maybe you are looking for