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

Similar Messages

  • 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 schedule webi report in bulk (multiple report in one request)

    hi,
    I am little bit new to BOXI. I have little bit work experience in Crystal X on scheduling which was used in one of our enterprise java application. We are exploring options in BOXI.
    Currently i am scheduling a report with following api
    infoStore.schedule (webiDocs);
    This will schedule one report instance.
    My question is
    Is there any way to schedule multiple instances of a same report in one request.
    Is there any way to schedule multiple instances of a different report in one request.
    If above things are possible please provide the apis for the same.
    thanks in advance
    Shreenidhi

    Scheduling multiple Webi reports in one command:
    infoStore.schedule takes 1 arhgument of type IInfoObjects which is a collection of InfoObject. IInfoObjects is retrieved by the query. So if you to retrieve all the Webi Docs you want to schedule , then with infoStore.schedule(WebiDocs), it will schedule them all in 1 shot. Scheduling Info properties for each Webi Docs should also be set. Please refer to the samples on scheduling at link below.
    https://boc.sdn.sap.com/node/3211
    Scheduling one Webi Doc multiple times in one command:
    I donu2019t think it can be done in one command. Do you want to schedule the object multiple times each time running it with different prompts? Or do you want it to be sent to different destination in each schedule? Otherwise you can schedule it once and then access the scheduled instance multiple times.
    I hope this helps.
    Regards
    Aasavari

  • How come (we could not complete your iTunes Store Request)

    How to settle this problem (we could complete your iTunes Store Request)

    Yes. Sorry, I can't add any more details than that. Went to purchase a book from iBooks and got the same error message that you got, then I came here and saw that this place is PACKED with complaints about iTunes being down, including one from a user in France.

  • Can we schedule a concurrent program with in a request set

    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRK

    Ripendra durgam wrote:
    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRKI believe it is not possible.
    Thanks,
    Hussein

  • How to schedule a request ?

    Hi
    There are 3 concurrent requests are run from stored procedure using FND_REQUEST.SUBMIT_REQUEST .
    Now, after completing these 3 requests, I have to schedule one more request after 5 minutes.
    So, how can I accomplish this task ?
    Thanks in advance .....
    regards
    Sanjay

    Hi,
    Please see this thread.
    How to Schedule Concurrent Program From PL/SQL
    How to Schedule Concurrent Program From PL/SQL
    Regards,
    Hussein

  • 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 job to run twice within a request set?

    How to schedule a job to run twice within a request set?

    Create one more stage for the same concurrent program.
    Thanks
    Nagamohan

  • 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 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 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 rid of the error message we could not complete your iTunes store request?

    How to get rid of the error message we could not complete your iTunes store request?
    having this problem when trying to authorise an newly downloaded app in iTunes

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Although Apple has not provided any indication on the cloud status page.
    Do not change your settings.
    Edit

  • When trying to sign in to the iTunes store I get the following message, "We could not complete your iTunes Store request. An unknown error occurred (5002). There was an error in the iTunes store. Please try again later."  How do you resolve this?

    When trying to sign in to the iTunes store I get the following message, "We could not complete your iTunes Store request. An unknown error occurred (5002). There was an error in the iTunes store. Please try again later."  How do you resolve this?  Has been going on for days now.

    I started getting this message a couple of days ago.
    Started a thread of my own before I saw your post. https://discussions.apple.com/thread/4660828

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

Maybe you are looking for