How to Submit a Concurrent Request Set Using a Self-Service Page

Hi all,
I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
Thanks.
Bench

Hi all,
I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
Thanks.
Bench

Similar Messages

  • How to submit a Concurrent Request Set from OAF

    All,
    I understand we can submit a concurrent program from OAF using
    oracle.apps.fnd.cp.request.ConcurrentRequest.submitRequest( String pApplication,
                        String pProgram,
                        String pDescription,
                        String pStartTime,
                        boolean pSubRequest,
                        Vector pArgArray) method,
    But the class ConcurrentRequest don't have any method to submit a concurrent request set. The workaround is directly call the pl/sql package FND_SUBMIT.submit_program.
    Is there any other oracle.apps.fnd.cp.request.* class have method to call a concurrent request set?
    Thanks.
    With Regards,
    Kali.
    OSSI.

    Sorry for my typo.....! I meant use the pl/sql way, there is no standard solution for this in OAF.
    didn't get what you mean by,
    You mean i need to use FND_SUBMIT.submit_program? or you want me to check in OAF itself?
    >>Kali, You can use [b]fnd_submit.submit_set , this is explained "Application Developer User Guide"!
    Even i tried to use that PL/SQL FND_SUBMIT.submit_program, that is returning BOOLEAN so i am facing the problem which you have discussed in the forum
    >>Use the work around i suggested in the thread u mentioned in ur reply.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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 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 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 do i Restrict the users up to the self service pag only in IDM 11g

    Hi all,
    can any one please help me out to restrict the users to self service page only in 11g.
    thanks for your time and support
    Regards
    Siva

    Your user will have the Administration page if they have an Authorization Policy configured to allow the user any of the User Management or Role Management Functions. Also, if you login as a user that has those tabs, and logout while on the Administration tab, sometimes i've noticed the new user logging in with the same browser session will be in the Administration tab but with no items available.
    -Kevin

  • How do I submit a concurrent request (for PL/SQL program)   from RDF

    Hi,
    I have a requirement i need to call a PL/SQL program using concurrent request from Oracle RDF, I am using below code.
    -> PL/SQL program has two input parameters
    Case:- 1
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' , '', '' ,
    If i ran the above rdf i am getting below errors from concurrent request log
    ORACLE error 6550 in FDPSTP
    Cause:  FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'GEN_ACH'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Case :- 2
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' );
    -> Able to compile the report without any errors.
    -> Upon running the rdf getting below error messages
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    => Case:1 very well worked for Host file .
    --- Please help me how to submit a concurrent program( PL/SQL with 2 paramerers) in RDF ...
    Thanks
    Edited by: Apps Beginer on Dec 2, 2009 1:40 PM

    Looking at the 11.5.10 version of the [Oracle Applications Developer's Guide|http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html] on page 21-32 - it states that the FND_REQUEST function must know information about the user and responsibility that is submitting the request. Therefore, the function only works from concurrent programs or forms within Oracle Applications. There are ways around this by initializing this information in your session before your call to SUBMIT_REQUEST. I've never tried this from a Report, but I've done it from PL/SQL that executes outside of Apps. You could try the following to see if it works.
    DECLARE
         n_RESP_APPL_ID          NUMBER;
         n_RESP_ID          NUMBER;
         n_USER_ID          NUMBER;
         n_REQUEST_ID          NUMBER;
    BEGIN
         n_RESP_APPL_ID := apps.FND_PROFILE.VALUE('RESP_APPL_ID');
         n_RESP_ID := apps.FND_PROFILE.VALUE('RESP_ID');
         n_USER_ID := apps.FND_PROFILE.VALUE('USER_ID');
         apps.FND_GLOBAL.Apps_Initialize(n_USER_ID, n_RESP_ID, n_RESP_APPL_ID);
         /* I prefer to use Named Notation for this call rather than enter placeholders for all 100+ parameters to SUBMMIT_REQUEST */
         n_REQUEST_ID := apps.fnd_request.submit_request(
                                       application => 'SQLAP',
                                       program => 'IPCS_ACH_VENDOR_PAYMENT1',
                                       start_time => To_Char(sysdate,'DD-MON-YYYY',
                                       argument1 => :P_PAYMENT_BATCH
                                       );Obviously, I don't know all of the parameters you need for your request, so I made a "BEST GUESS" based on your code sample so I doubt my example call to Submit_Request will work if you Copy-N-Paste. Make sure you use the correct parameters when you try this in your report.
    Hope this helps.
    Craig...
    If a response is helpful or correct, please mark it accordingly

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

  • What is the best way to submit a Concurrent Request over a DB Link?

    Hi,
    We have a requirement to submit a Concurrent Request over a DB Link. What is the best way to do this?
    What I've done so far is I've created a function in the EBS instance that executes FND_GLOBAl.APPS_INITIALIZE and submits the Concurrent Request. I then call this function remotely from our NON-EBS database. It seems to work fine but I found out from metalink article id 466800.1 that this is not recommended.
    Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=11129815723825&type=DOCUMENT&id=466800.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=17dodl8lyp_108
    Can anyone suggest a better approach?
    Thanks,
    Allen

    What I've done so far is I've created a function in the EBS instance that executes FND_GLOBAl.APPS_INITIALIZE and submits the Concurrent Request. I then call this function remotely from our NON-EBS database. It seems to work fine but I found out from metalink article id 466800.1 that this is not recommended.
    Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=11129815723825&type=DOCUMENT&id=466800.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=17dodl8lyp_108
    Can anyone suggest a better approach?Please log a SR and ask Oracle support for any better (alternative) approach. You can mention in the SR that your approach works properly and ask what would be the implications of using it (even though it is not recommended).
    Thanks,
    Hussein

  • How to submit a Feature Request

    Anyone know how ot submit a feature request to the Mail team?  I'm so tired of inline attachments.  I feel like I'm using a mail client from the mid 90's.

    See > http://www.apple.com/feedback

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

Maybe you are looking for

  • Preparing Overhead Presentation

    I'm preparing an overhead presentation for this afternoon, using my 2.33 GHz MacBook Pro and the Apple-spec DVI-to-VGA video adaptor. Another organization is hosting the presentation, and a local government is supplying an ordinary VGA-style projecto

  • How to update a particular field in a form.

    Hi Guys, I just want to know how to update a paricular field in a form. I want to upadate a field in a view BOM_RESOURCES_V for that i've a procedure called process_rtg. now i want to know how to use that procedure.

  • OS Programs not working after Restore

    I had Geek Squad restore the OX on my emac. Everything seems to still be on the hard drive except my email. But I can't get Safari to open and ICal crashes anytime I try to open it. Does anyone know what's going on? Safari bounces once on the dock an

  • Why the shape of submit buttons differ ?

    Hi , We have developed a page which contains certain fields and 2 submit buttons. The shape of one button is round edged and that of the other is rectangle.Does the shape of button change with the change in version of JDK.? We have to instances on wh

  • Delivering to Email Folders

    does BB have the ability to deliver email messages into specific folders, like in my Outlook?  I use my BB for personal email only NOT work.