Unable to run Concurrent Request from Trigger

Hi All
Lots of Forums out there on this but I can't resolve it.
Trigger as below does not run concurrent program.
CREATE OR REPLACE TRIGGER APPS.XXGL_PNL_CONTROL_snapshot
AFTER INSERT OR UPDATE
ON XXOBI.XXGL_PNL_CONTROL
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
WHEN (
NEW.STATUS ='APPROVED'
declare
l_errbuf varchar2(4000);
l_retcode varchar2(4000);
L_REQUEST_ID NUMBER;
l_phase VARCHAR2 (240);
l_status VARCHAR2 (240);
l_dev_phase VARCHAR2 (240);
l_dev_status VARCHAR2 (240);
l_message VARCHAR2 (2000);
l_call_status BOOLEAN;
L_set_mode boolean;
PRAGMA AUTONOMOUS_TRANSACTION;
begin
L_Set_mode := FND_Request.Set_Mode(TRUE);
fnd_global.APPS_INITIALIZE (fnd_global.user_id,fnd_global.resp_id,fnd_global.resp_appl_id);
l_request_id := fnd_request.submit_request(application => 'RMB GL',
program => 'XXGLBSSNAP',
argument1 => :NEW.CALENDAR_DATE,
argument2 => :NEW.PNL_ROLLUP
commit;
end;
If I remove the commit I get the following error
active autonomous transaction detected and rolled back
Cause: Before returning from an autonomous PL/SQL block, all autonomous transactions started within the block must be completed (either committed or rolled back). If not, the active autonomous transaction is implicitly rolled back and this error is raised.
Action: Ensure that before returning from an autonomous PL/SQL block, any active autonomous transactions are explicitly committed or rolled back. ----------------------------------------------------------------------- 06520 through 06529 reserved for Foreign function errors
Any help would be hugely appreciated
Nicki

after fnd_request.submit_request you must use - commit
try change you code
CREATE OR REPLACE TRIGGER APPS.XXGL_PNL_CONTROL_snapshot
AFTER INSERT OR UPDATE
begin
   cp_run(
            :NEW.CALENDAR_DATE...
end;
CREATE OR REPLACE PROCEDURE  cp_run (
       ... p_date indate ...
    IS
       PRAGMA AUTONOMOUS_TRANSACTION;
l_request_id := fnd_request.submit_request(application => 'RMB GL',
program => 'XXGLBSSNAP',
argument1 => p_date
commit;
...for example http://www.java2s.com/Tutorial/Oracle/0560__Trigger/MarktriggerwithPRAGMAAUTONOMOUSTRANSACTION.htm

Similar Messages

  • Calling a concurrent request from within the trigger

    Oracle apps r12.
    Calling a concurrent request from within the trigger.
    Does it requre apps initilization.
    Thanks,
    Lavan

    Hi,
    Whether apps initialization needed or not will depend on followings
    1. Trigger is written on which table seeded or custom. In case of seeded tables, there is no need for apps initialization (although oracle does not recommend writing trigger on seeded tables).
    2. Triggering Table Update/Insert/Delete event processing is done from apps front end or Backend. In case of front end apps initialization is not required.
    Regards,
    Saurabh

  • 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

  • Query to find the long running concurrent requests morethan 2 hours

    Can any one please provide the " Query to find the long running concurrent requests which are running more than 2 hours"

    You need to find the different between the current time/date and FND_CONCURRENT_REQUESTS.ACTUAL_START_DATE for the running requests.
    More details can be found in the following notes:
    Note: 187504.1 - bde_request.sql - Process and Session info for one Concurrent Request (11.5)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187504.1
    Note: 134035.1 - ANALYZEREQ.SQL - Detailed Analysis of One Concurrent Request (Release 11 and up)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134035.1
    Note: 751438.1 - How To Check List , Start And End Dates Of A Parent Concurrent Request And All Childs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=751438.1

  • I am unable to run several iMacros from the commnd line concurrently

    The documentation implies that you can run concurrent iMacros by starting Firefox sessions under different profiles. I have tried this, but if I run Firefox from the command line it only takes note of the -P (profile) option if I am also specifying -no-remote (start in a new process). the problem is that to run an iMacro from the command line you have to start a firefox session first, then wait briefly before making the actual firefox call to your iMacro. So I can start a number of separate Firefox sessions under different profiles OK, but when I try to call my iMacros they might go to any of the sessions, and they just end up all hanging.
    If I start my Firefox sessions then go into them manually, I can start the iMacros one iMacro in each and they run fine concurrently.

    Are these newly purchased films or films purchased in the past that you want to re-download ? The 'check for available downloads' will check for things such as pre-orders that haven't been downloaded yet, and (I think) automatic downloads - it doesn't check for things which you've downloaded in the past but which are no longer in your library. If they are past purchases, then depending upon what country that you are in (films can't be re-downloaded in all countries), and whether they are still in the store (film studios occasionally remove them) then they might show under the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes for re-downloading.

  • How do I submit a concurrent request from HTML?

    I want to call the request from html or jsp how to ?
    can anybody help me?

    HI,
    I have developed a pl/sql program and registered it as concurrent program and i can run this concurrent program using forms.
    But our requirement is to run this report even in HTML based application in oracle apps
    for eg in Quoting HTML Sales Agent.
    But i don't know how to run the concurrent program or to run report registered as concurrent program in HTML Based apllication in oracle apps
    please provide some inputs.
    Regards,
    Mithun

  • 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

  • Personalization - run a request from menu

    Hi.
    I'm trying to run a concurrent request (report) from an ebs form with personalization and pass some parameters to it (that's the tricky part).
    Found a way, but I'm still curious if there is a better way to do it...
    The calling part is quite easy:
    1) Create a menu (SpecialX)
    2) Create a Builtin 'Launch SRS Form' property with wanted request name, or Builtin 'Launch a function' FND_FNDRSRUN with request short name as a parameter for that SpecialX event
    The easiest way to pass parameter to the request is to make a global parameter (:GLOBAL.XX_PARAM) on the form passing the parameter from and initialize it with the wanted value (usually item on the form).
    That global parameter is then used as the default value (select :GLOBAL.XX_PARAM from dual) in the request definition, and when called from the form the parameter is copied to the request parameters.
    There is also a way with passing parameters to the FND_FNDRSRUN function, and personalising the FND_FNDRSRUN form so that the parameters are forwarded to the request, but i dont like it very much.
    Is there a better, cleaner way to pass the parameters to the request using personalization?
    Thanks,
    Regards,
    Kris
    Edited by: kristjan on Sep 1, 2011 2:39 PM

    Hi,
    Thanks, that's better way indeed.
    If necessary you can call the request form afterwards to display the running/completed requests...
    and the pl/sql source for running request:
    FND_GLOBAL.APPS_INITIALIZE(user_id, resp_id, resp_app);
    l_sub_request := false;
    l_request_id := fnd_request.submit_request(
    application
    +, program+
    +, description+
    +, start_time+
    +, l_sub_request+
    +, argument1+
    +, argument2+
    +, argument3+
    +, argument4+
    +, argument5+
    +, argument6+
    +, argument7+
    +, argument8+
    +, argument9+
    +, argument10+
    +, argument11+
    +, argument12+
    +, argument13+
    +, argument14+
    +, argument15+
    +);+
    commit;
    l_call_status := fnd_concurrent.wait_for_request (l_request_id,10,0,l_phase,l_status,l_dev_phase,l_dev_status,l_message);
    Regards,
    Kris
    Edited by: kristjan on Mar 1, 2012 2:27 PM

  • Error when Trying to Run Concurrent Request on ASCP Instance

    Hi Experts,
    I have an issue when trying to run custom concurrent program in ASCP production.
    The error message is:
    oracle error 20001
    ORA-20001: APP-FND-02901
    You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option MO: Operating Unit is set has been detected in MO_GLOBAL.INIT
    I have searched through metalink regarding this issue and the solution is I should define the "MO: Security Profile" and "MO: Operating Unit" profiles.
    But the problem is my ASCP instance is not have any OU, it just defined for Inv Orgs. So, when I tried to define the profile, the LOV is empty.
    FYI, in my ASCP dev instance is working fine. I can run my concurrent request into it.
    In this instance, the profiles of "MO: Security Profile" and "MO: Operating Unit" are blank too.
    From this node:
    XLAACCPB - Create Accounting Program fails with Oracle error -20001: ORA-20001: APP-FND-02901: You do not have access privilege to any operating unit [ID 753824.1]
    It provided 2 actions, and when I tried to run query in the 2nd action, the result is:
    /* $Header: AFPFPROB.pls 120.18.12010000.10 2009/04/24 19:33:53 pdeluna ship $ */
    Any help would be really appreciated.
    Thanks & Regards,
    Rheza

    Hello Rheza,
    We are also facing the same issue in Self Service HR, We also do not have any Operating Unit setup.
    We are trying to run seeded "Active Users" concurrent program. Are you sure without setup of MO: Security Profile / MO: Operating Unit, It will work?
    Regards,
    Saurabh

  • Unable to run my pages from jdeveloper

    Hi all,
    From past 2 days am unable to run my OAF pages, actually what i did is i deleted the environment variable and again created a new one. I dont know why am unable to run the pages... The Error Which it is throwing is
    "Unable to run the page DiagnosticsPG.xml. OAProject "C:\Jdeveloper10g\jdevhome\jdev\myprojects\OAProject.jpr" must reside in the "C:\Jdeveloper10g\jdevbin\jdev\myprojects" directory in order to run successfully." To fix the problem, quit jdeveloper and then either relocate all the associate project files, or correct the JDEV_USER_HOME enviorment variable on your computer "
    Any one who have an idea can please suggest me on this
    Thanks in Advance

    Hi Gaurav..
    I got some message(Migrate User Settings) when i run the jdeveloper for the first time after installation which says " The User Settings found in the user home directory were generated by a different installation of JDeveloper than what is currently running. To avoid complications , some settings will be restored to their defaults. Do u wish to continue?" When i say yes.. am facing the problem which i mentioned above i.e it is taking directory home as C:\Jdeveloper9i\jdevbin\jdev.... Yes am setting the JDEV_USER_HOME to c:\JDeveloper9i\jdevhome\jdev... and then trying to open that using a C:\JDeveloper9i\jdevbin\jdev\bin\jdevw icon
    Thanks

  • Unable to run struts project from jdeveloper 10.1.3

    Hi,
    I have created a struts-based application project using jdeveloper 10.1.3(build JDEVADF_10.1.3.1.0_NT..) by importing an ear file .The project seems to be built fine as i get no errors in compiling the entire project.I have included the Struts runtime library as well in the project.
    But when i try to run the login.jsp from the struts-config.xml,i get the :
    The page cannot be displayed message in the browser.
    I dont see any errors in the Embedded OC4J log except few warnings lik dis:
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    [Starting OC4J using the following ports: HTTP=8898, RMI=23899, JMS=9235.]
    D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    D:\jdevr12\jdevbin\jdk\bin\javaw.exe -client -classpath D:\jdevr12\jdevbin\j2ee\home\oc4j.jar;D:\jdevr12\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\xml.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /D:/jdevr12/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /D:/jdevr12/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 26766 ms.
    pls help me out on what could be the problem.This application wsa running fine in Eclipse but i am unable to run it using Jdeveloper.

    Is this new develop page ?
    you check these points for this issue.
    1. Check JDEV_USER_HOME
    2. Design a Test PG and test it first.
    3. Your OAF patch level: is 12.0.4 ? Are you running with r12?
    Thanks

  • Rwrun.exe - Application Error while running Concurrent Requests in R12(Win)

    Hi Gurus,
    I am getting the Rwrun.exe Application error, whenever i am running a concurrent request. The thing, that i feel is: Probably, The concurrent requests that has the output file associated with them are the one that are running into error.
    The following is the description of the error popup:
    rwrun.exe - Application Error
    The instruction at "0x663ed168" referenced memory at "0x00000004". The memory could not be "read".
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    Due to this, am not able to submit any of the Reports.
    Details of My installation:
    Apps Version: Release 12
    Platform: Windows XP SP2
    Installed on: External HDD of 250GB
    Addon Patches after install: None.
    Has anybody faced this problem earlier?
    Please help me out gurus..
    Thanks in advance.
    Regards,
    Ajit

    Check the Event Viewer to see if there is more information about the error that can help.

  • Submitting Concurrent request from PL/SQL

    Hi
    I am currently attempting to submit a concurrent program from a pl/sql block that itself is being run as a concurrent program. However the call to submit_request would only returned zero.
    I inserted a call to FND_GLOBAL.INITIALIZE as suggested on another forum and am now getting .. ORA-00942: table or view does not exist has been detected in FND_GLOBAL.INITIALIZE.
    Surely if a table or view did not exist the package fnd_global would not compile (it does compile)
    Any suggestions in terms of
    Do i need a call to fnd_global.initialize
    Without it would to submit_request return zero
    ..etc
    The parent conc prog code is as follows:
    v_action := 'run file download stage'||utl_tcp.crlf;
    -- Write to concurrent log.                         
    apps.fnd_file.put_line(apps.fnd_file.log,'v_action: '||v_action);
    apps.fnd_profile.get('USER_ID', v_user_id);
    apps.fnd_profile.get('RESP_ID', v_resp_id);
    apps.fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    apps.fnd_file.put_line(apps.fnd_file.log, v_user_id);
    apps.fnd_file.put_line(apps.fnd_file.log, v_resp_id);
    apps.fnd_file.put_line(apps.fnd_file.log, v_resp_appl_id);
    apps.fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    v_req_id := apps.fnd_request.submit_request
    (application => 'GPMS_CUST',
    program => 'GPMS_EXCH_RATES',
    description => 'GPMS Exchange Rate Download - FTP stage',
         start_time => NULL,
    sub_request => FALSE
    COMMIT;
    apps.fnd_file.put_line(apps.fnd_file.log,'apps.fnd_message.GET: '||apps.fnd_message.GET);
    apps.fnd_file.put_line(apps.fnd_file.log,'0.5 v_req_id: '||v_req_id);
    IF v_req_id != 0
    THEN
    apps.fnd_file.put_line(apps.fnd_file.log,'1.0 '||v_req_id);
    IF apps.fnd_concurrent.wait_for_request
    (request_id => v_req_id,
    interval => v_interval,
    phase => v_req_phase,
    status => v_req_status,
         dev_phase => v_req_dev_phase,
    dev_status => v_req_dev_status,
    message => v_req_message)
         THEN
    apps.fnd_file.put_line(apps.fnd_file.log,'1.1: '||v_req_dev_phase||' '||v_req_dev_status );
              IF v_req_dev_phase !='COMPLETE' OR v_req_dev_status != 'NORMAL'
              THEN
              apps.fnd_file.put_line(apps.fnd_file.log,'1.3');
              RETCODE :=2;
                   errbuf := 'errbuf contents here***';
              ELSE
              RETCODE := 0;
              END IF;     
    END IF;
         else
         apps.fnd_file.put_line(apps.fnd_file.log,'1.4: sqlerrm:'|| sqlerrm);
    END IF;
    However as mentioned this returns the following in the concurrent log..
    **Ends**28-DEC-2006 16:24:49
    Start of log messages from FND_FILE
    v_action: run file download stage
    11170
    20420
    1
    exception: ORA-20001: Oracle error -942: ORA-00942: table or view does not exist has been detected in FND_GLOBAL.INITIALIZE.
    End of log messages from FND_FILE
    Thanks for any Help
    will

    Ok
    Done some more reading and looks like i may not need the call to
    fnd_global.apps_initialize
    as i am running this from an apps session using a parent concurrent prog.
    I have commented the above call out, however get the following in the concurrent log..
    Start of log messages from FND_FILE
    v_action: run file download stage
    11170
    20420
    1
    apps.fnd_message.GET: ORACLE error -2289 in SUBMIT: others
    Cause: SUBMIT: others failed due to ORA-02289: sequence does not exist.
    The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
    0.5 v_req_id: 0
    1.4: sqlerrm:ORA-0000: normal, successful completion
    End of log messages from FND_FILE
    There seems to be a missing sequence being called from fnd_request.submit, however if this was the case the package would not compile.. correct?
    Any help would be appreciated..
    Will

  • Submitting Concurrent Request from Standard OAF Page

    Hi,
    I'm a new comer to both Java and OA Framework.. I'm working in oracle apps from a long time but my experience is with forms and reports based world so excuse me if i'm asking a dumb question.. My requirement is to add a button to a standard page.. When the button is pressed, i should kick off a concurrent request and after that re-direct to the view output page to view the output..
    I added the button to the screen via personalization.. I want to extend the controller of that page and execute the submitRequest.. I'm getting this error which i'm not able to figure it out.. I will appreciate if you can let me know what is the cause..
    Thanks for your help!!
    Shree
    =======================================================
    "Error(73,27): method submitRequest(java.lang.String, java.lang.String, java.lang.String, null, boolean, com.sun.java.util.collections.Vector) not found in class oracle.apps.fnd.cp.request.ConcurrentRequest"
    ========================================================
    Here is my code
    =======================================================
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.cp.request.RequestSubmissionException;
    import oracle.apps.fnd.cp.request.SetDeferredRequestException;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import com.sun.java.util.collections.HashMap;
    import com.sun.java.util.collections.Vector;
    import oracle.apps.fnd.cp.request.SetDeferredException;
    import java.sql.Connection;
    import oracle.apps.fnd.framework.OAException;
    if (pageContext.getParameter("Report") != null)
    try
    OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
    OADBTransaction transaction = am.getOADBTransaction();
    Connection conn = transaction.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(conn);
    cr.setDeferred();
    Vector param = new Vector();
    int reqId = cr.submitRequest("XXXAP", "XXAPTRLB", "AP Trial Balance",null, true, param);
    transaction.commit();
    System.out.println("Request ID >>>"+reqId);
    HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPREQUESTVIEWPAGE");
    String id = "" + reqId + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    parameters,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    catch (SetDeferredException e)
    throw new OAException("Set Deferred=" + e.getMessage(),OAException.ERROR);
    ========================================================

    Updated the original thread Re: Submitting Concurrent Request
    --Shiv                                                                                                                                                                                                                       

  • Submitting concurrent request from back end.

    Hi guys,
    I am submitting the concurrent request using fnd_request.submit_request ,passing start time as Sysdate.
    When i submit the program in scheduling section of concurrent program,the Requested start date defaults to current date but hours and minutes are 00:00:00.Can we make it to run AS soon as Possible?
    Thanks
    Edited by: 954506 on May 27, 2013 10:02 PM

    Hi,
    either you use fnd_request or concsub
    skip the parameter start time to submit the request immediately
    Regards,
    Haafiz

Maybe you are looking for

  • CS2 won't run

    CS2 won't run, says activation code no longer usable. Been running win7 on this system 3 years. Adobe says it won't activate in win7. Well, it did, and ran just fine. what's up?

  • MS Project - Start-to-Finish relationship with two successors

    Hi everybody, I do not manage to solve an issue and would highly appreciate any support. Issue: - I have fix milestones which I would like to use as fix points to tell me when activities are required to start (depending on their duration) - as a cons

  • What's going on? Lots of problems!

    Hi there, I'm having a few different problems that seem to have happened all at the same time. They are all very annoying. Firstly, I have a 1gHz eMac, 768MB RAM, MacOS 10.2.8 My first problem is that Adobe Photoshop Elements 2.0 will no longer open.

  • Part nunbers for smf Metro cables

    Does anyone know the cisco part number for the small jumper cables used to connect the Metro 1500 WCM cards together? They are anywhere from 6 inches to a foot long, mini-SC connectors on both ends. thanks. - Ted

  • Getting word IN-FRONT of cursor in JTextPane

    Hi I've written an application that will give me the first word IN-FRONT of the cursor when the caretUpdate method fires. All was working fine, until I started putting in mutiple lines. It seems that the getMark() method is ignoring any Carriage Retu