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

Similar Messages

  • 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 make the concurrent request set run only once

    Hi Team,
    Ijust have a requirement.
    At a time only single concurrent request set should be running and the remaining submitted request sets should be in pending status.
    I mean to say : i have a concurrent request set : "Invoice Req Set"
    If user submits the request set multiple times: Invoice Req Set once
    the second one should not be running until the first request set : "Invoice Req Set" completes.
    Any suggestions ??
    -Sridhar

    Hi;
    Please check below which could be helpful for your issue:
    how to prevent multiple request of one conc program
    Regard
    Helios

  • How to find  a concurrent request's responsibility of  the FND user

    How to find a concurrent request's responsibility of the OA user who submitted?
    For example, I have a concurrent request id: 123, I know user A submitted,
    I want to know user A's Responsibility when submitting the request id: 123.
    Thanks

    Hi,
    I'm not sure about this, but can you check whether FND_CONCURRENT_REQUESTS.RESPONSIBILITY_ID provides you with the RESPONSIBILITY_ID of the user from which the request is triggered ? If yes, joining this with FND_RESPONSIBILITY_VL.RESPONSIBILITY_NAME can give you the name of the executing responsibility.
    Regards,
    Rakesh.

  • How to submit a concurrent request from Discoverer report.

    I would like to know If any one has tried submitting a concurrent request from Discoverer Report?_
    This is no stupid question, but our team here finally decided with a solution to our long pending issues with few of the discoverer report. To Proceed further, we would like to know, how to submit a concurrent request from Discoverer report?
    We are looking for calling a package from the Disco admin by passing the parameters from the disco to the 6i report.
    All help us in this regards are much appreciated.
    Kindly help us in the same!
    Thanks
    Arun

    Thanks Rod for confirming the same.
    I will be trying the same today and will let you know if I succeed in doing it.
    If I can share the actual requirement with you, it goes like this.
    "I will be triggering the Oracle 6i standard AP Trail balance report through the Disco report. The standard report will be inserting the required data to one of my custom table. Once the concurrent program completes normal, my custom table will be having the required data to create the workbook specific to the current run of the concurrent program.
    The one problem which I think could happen is, How can I make my disco report to wait till the standard program to complete in normal so that my disco report can be generated with the data from custom table.
    Will the above requirement is possible If I follow the way you mention in the PDF or Could you suggest a better way for achieving the same.
    In short, my requirement is: The custom table(say XX_TABLE) will be populated with data when the standard 6i report is run and the disco admin will be making of the custom table (XX_TABLE) to generate the report.
    Please advice.
    Thanks
    Arun

  • How To Schedule a Concurrent Request on completion of a Spawned Request

    As soon as the concurrent request submitted through Oracle Form(Consolidation Transfer)is completed we need to schedule another Concurrent Request which had to be kicked off automatically on completion of the First concurrent request. Since, the First concurrent request of Consolidation Transfer is a Spawned Program, the request set could not be created, to kick off the second concurrent program.
    I would Appreciate if anyone can advise any solution to achieve this objective.

    Hi Harish,
    Doesn't matter what you need to do all you need is the hook!
    a) Nice. Force the request to print and use print driver to call CONCSUB to submit your new "child" request
    -- Since the Consolidation Trasnfer concurrent request could only be submitted through Consolidation Trasnfer Form only, I am not sure how we can do Force Print for this request.
    GR: Set printer and style on concurrent program definition. Set profile option "Concurrent:Report Copies" to 1 (even by Forms Personalization if you want to). Sorted. Still think this is the best option.
    c) Abstraction. Replace the C executable with a shell script that takes arguments and calls the C program and then submits new "child" request via CONCSUB
    -- Appreciate, if you can elaborate this option. I think we can try this, with the help of your detailed input.
    GR: Change the executable on the concurrent program to a host shell script under your mods application. Initially just get the shell script to capture program call and arguments. Run the program to get arguments. Next iteration, change shell script to call the C program from your shell script with correct arguments. Verify okay. Next iteration do the same plus call CONCSUB to submit request / set.
    d) Nasty. Trigger on fnd_concurrent_requests to call new "child" request via fnd_request.submit_request - NB: very unsupported! Make sure trigger doesn't raise an exception.
    -- On completion of the Consolidation Transfer concurrent request, we tried to submit the request set using the Trigger on Consolidation History table and/or fnd_concurrent_requests table. But it is entering into infinite loop.
    GR: Need to use trigger condition to capture update of status_code to C (Completed) and other codes e.g. Warning. Personally I'd avoid this option because you have others! Although once I did use this method when I wanted absolute transparency :-)
    Update: Changed "Print: Copies" to "Concurrent:Report Copies"
    Regards,
    Gareth
    Edited by: gareth.roberts on Dec 8, 2008 4:55 PM

  • How to schedule a concurrent request to run at a specified time/day?

    Hi All,
    How to schedule a concurrent request to run at a specified time/day (ex: Sunday 12pm)?
    Thanks,
    Chiru
    Message was edited by:
    Megastar_Chiru

    Is this to run periodically ?
    During the request submission, click schedule, choose the specific days, and click on S = Sunday.
    Change the start date on the date of the sunday you want to run, eg : 15-JUL-07 14:00:00, change the end date as well.

  • How to submit a concurrent request from a button in Selfservice

    Hi,
    I hope this is the forum where to start.
    I want to submit a concurrent request when a button is pushed in selfservice.
    I've implementend the event for button in java and its woring fine, but how to submit a conurrent request in java?
    Can anyone help me or tell me if this is not the correct forum?
    Thank you!
    Best regards
    Gjermund Lunder
    Developer/DBA

    hi,
    This question suppose to be in framework forum.
    you can try:
    OA Framework provides the ConcurrentRequest class to call the concurrent program from the page. The submitRequest() method in the ConcurrentRequest class takes 6 parameters and returns request id of the submitted concurrent request:
    public int submitRequest(
    String ProgramApplication ,
    String ProgramName ,
    String ProgramDescription ,
    String StartTime,
    boolean SubRequest,
    Vector Parameters ) throws RequestSubmissionException
    ProgramApplication -Application Short name of application under which the program is registered.
    ProgramName - Concurrent Program Name for which the request has to be submitted
    ProgramDescription - Concurrent Program Description
    StartTime - Time at which the request has to start running.
    SubRequest - Set to TRUE if the request is submitted from another running request and has to be treated as a sub request.
    Parameters - Parameters of the concurrent Request
    Here is the example for calling a concurrent program from a OA framework page.
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    public int submitCPRequest(Number headerId) {
    try {
    OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName = "PO"; //Application that contains the concurrent program
    String cpName = "POXXXX"; //Concurrent program name
    String cpDesc = "Concurrent Program Description"; // concurrent Program description
    // Pass the Arguments using vector
    // Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
    Vector cpArgs = new Vector();
    cpArgs.addElement(headerId.stringValue());
    // Calling the Concurrent Program
    int requestId = cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
    tx.commit();
    return requestId;
    } catch (RequestSubmissionException e) {
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;
    I got it from http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html

  • How to get EBS Concurrent Request number (and more) into BIP Report Layout

    hi,
    I have been using BIP for 9 months but have several years experience of Reports 6i development (matrix, drill-thru etc). We are beginning to use BI Publisher with EBS and would like to be able to incorporate the Concurrent Request number into the report layout (preferably in the footer area). I have looked back over previous forum posts and have found mention of how to get the report parameters into the XML datastream and template, but nothing for the Concurrent Request number. I've also looked at the DevTools/Reports forum but cannot see anything similar there.
    It would add a lot of value to generated output for end-users if this information (+ environment/instance name etc) can be put into the layout.
    Sean

    Hi
    Create a data query in data template/reports as
    select fnd_global.conc_request_id "REQUEST_ID" from dual
    and this will pick up the request id and then u can use it in the RTF layout
    Hope this helps..

  • How to run all Concurrent Requests in a single node in a multi node env

    DB;11.1.0.7
    Oracle Apps:12.1.1
    OS:Linux 86x64 Red Hat
    PCP setting is enabled.
    Load Balancer is enabled.
    APPLDCP=ON
    Could anyone please share - How to run all Concurrent Requests in a single node in a multi node env where there are 3 web tier nodes?
    Thanks for your time!
    Regards,

    PCP setting is enabled.
    Load Balancer is enabled.
    APPLDCP=ON
    Could anyone please share - How to run all Concurrent Requests in a single node in a multi node env where there are 3 web tier nodes?Concurrent requests will be processed by the CM nodes and it has nothing to do with the 3 web tier nodes you have.
    If you mean the database instance, then please see these docs.
    How to run a concurrent program against a specific RAC instance with PCP/RAC setup? [ID 1129203.1]
    In A PCP/RAC Configuration, How To Find Out On Which RAC Instance FNDSM Is Currently Running? [ID 1089396.1]
    Thanks,
    Hussein

  • How to print specific concurrent request to specific printer in R12

    Good Day,
    How to print specific concurrent request to specific printer in R12,
    when i try to make specific printer to the user it's print all requests.
    i need to do this for one request only and print this request once.
    is there any profile option for this case.
    Thanks.

    any updates

  • 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

  • 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

  • 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.

  • How to delete the duplicate requests in a cube after compression.

    Hi experts,
        1. How to delete the duplicate requests in a cube after compression.?
        2. How to show a charaterstics and a keyfigure side by side in a bex query output?
    Regards,
    Nishuv.

    Hi,
    You cannot delete the request as its compressed as all the data would have been moved to E table ..
    If you have the double records you may use the selective deletion .
    Check this thread ..
    How to delete duplicate data from compressed requests?
    Regards,
    shikha

Maybe you are looking for