Programatically cancel concurrent request

Hi,
How to cancel concurrent request from plsql ?
Thanks a lot.

Thanx,
but it seems that it does not work in a trigger on fnd_concurrent_requests table.
like this one:
CREATE OR REPLACE TRIGGER aaaa
after insert on apps.fnd_concurrent_requests
for each row
DECLARE
pragma autonomous_transaction;
req_id number;
BEGIN
if :NEW.concurrent_program_id = 11111
THEN
req_id := :NEW.request_id;
update fnd_concurrent_requests
set status_code = 'D', phase_code='C'
where request_id = req_id;
commit;
ELSE null;
END IF;
END;
trigger fires but update does not work when i exec the concurrent. Why ??
if i manually execute this update it works.

Similar Messages

  • Cancelling Concurrent Request hangs

    Hi Experts,
    Recently we upgrade the OS to solaris 5.8 to 5.10
    Concurrent request like Receipt Printing running more than 20 minutes and it completed with warning, the log file shows printer is not accepting. if we cancel these requests it hangs.
    Then we will cancel this concurrent request from OS level. we are facing this issue after upgrading the OS to Solaris 5.10.
    In Solaris 5.10 is there any new for printer configuration. Please help me to overcome this.
    Regards
    R.Sundaravel

    After the OS upgrade, did you relink all of the application binaries ? Pl see MOS Doc 209810.1 (How to Relink Oracle Applications 11i Programs After Upgrade or Patch of the UNIX Operating System)
    HTH
    Srini

  • Cancelling a scheduled concurrent request

    Hi,
    How can I cancel a request that has been scheduled to run once a day indefinitely?
    Thanks,
    Jose

    just click on cancel botton.other wise fire this command
    update fnd_concurrent_requests set phase_code = 'C',status_code = 'E' where request_id=613542;

  • In R12 Invoice Register Concurrent Request running long time

    Hi
    In R12, Invoice Register Concurrent Program Running more than 30 mins , before its use to finish with in 10 mins, any suggestions.
    Thanks

    I don't wanna hear sorry from gurus,Thanks. By the way, I do not consider myself a guru, just a simple guy who is still learning new things everyday and at the same time like to share what he knows :)
    Sawwan, I checekd locks there iare no locksWell, in this case I would suggest you wait for the request to complete. Once it is done, bounce the application as well as the database and run the request again (if possible) after enabling trace and see if takes that long to complete.
    If the request keeps running (i.e. does not seem to complete), then cancel the request, kill all associated process from the backend, and follow the action plan above (bounce, and enable trace).

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

  • How to kill concurrent request oracle session which is terminated

    Dear,
    In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
    Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
    If we try, "alter system kill session 'SID,serial#';"
    it gives below message,
    ERROR at line 1:
    ORA-00031: session marked for kill
    Could you please provide steps to kill this oracle session.
    Instance detail:
    Oracle Applications R12.1
    Oracle database 11.1.0.7
    Thanks,
    ...basha
    Edited by: 913932 on Jun 25, 2012 2:32 AM

    In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
    Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
    If we try, "alter system kill session 'SID,serial#';"
    it gives below message,
    ERROR at line 1:
    ORA-00031: session marked for killTry "alter system kill session 'SID,serial#' immediate".
    Could you please provide steps to kill this oracle session.Concurrent Processing - How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
    Thanks,
    Hussein

  • Terminated Concurrent request

    Hi ,
    I have terminated concurrent request , When i try to cancel the concurrent request ,
    a message comes up saying that
    Request 123456 no longer can be cancelled , the concurrent manager process that was running this request exited abnormally , The ICM mark this request has completed with error . When i try to run a script to find the concurrent requests that are running
    i come up with the 123456 request running , phase w , can someone suggest how i should be completely cancelling this request .
    kind regards
    Krish

    Thanks Fadi ,
    I couldnt hold the request and cancel it as the hold button isnt enabled but when i run to check the concurrent requests , i get the following
    123456 R W 20087 14117 1250904 /applcsf/out/fpp11i/SHARPA.123456 1235671 R R 32623 23969 1234 / applcsf/out/fpp11i/SCOTTAD.1235671
    1252345 R R 32625 23970 1405602 /applcsf/out/fpp11i/SCOTTAD.1252345
    I am interested so that 123456 dont appear when i run for running requests ,
    can you please advise as how should i be doing that
    kind regards
    krish

  • 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

  • Error while submitting concurrent request

    Hi All,
    I am getting error while submitting this concurrent request (To handle deliver, RTR, RTV transactions)
    Error : app-fnd-00874: Routine FDFBDF found no rows in table FND_DESCRIPTIVE_FLEXS. Please contact your system administrator or support
    representative
    what is this error and how can i slove this problem?
    Thanks
    V.Arumugam

    Hi,
    We had same problem in GL while upgradation.
    Some flexfields were missing in the fnd descriptive flexfield.
    We could resolve later with help of metalink.
    Plz refer metalink note : Note:363117.1 and Note:290411.1
    Rgds,
    Arumugam S.

  • Purge Concurrent Request and/or Manager Data program:

    Hi Friends,
    I am purging all my test report output logs using the above program, but the table
    FND_CONC_PP_ACTIONS is not being deleted;
    SQL> select count (*) from FND_CONC_PP_ACTIONS;
    COUNT(*)
    9470
    FND_CONC_PP_ACTIONS
    Stores the post request processing actions(e.g., print, notify) for each
    submitted request. There's a concurrent_request_id here for each request_id
    in the FND_CONCURRENT_REQUESTS.
    How can i forced delete the tables? since im still on the testing phase its OK if i zero out
    all of it.
    Thanks a lot

    or I want it zero (0) to delete all You cannot set it to zero (0). The Age parameter should be between (1) and (9999999).
    Did I mess it up? when I manually deleted the contents of
    I thought I can delete this logs manually because they are on filesystem.
    I thought only the database tables are needed to be cared for. Even though you should not bother yourself and delete the files manually under $APPLOG and $APPLOUT directories since the concurrent request will do the job for you, it is safe to delete it manually. The only impact you would have here is, you would not be able to access the log/out files of the concurrent requests (if the requests still presented in the tables and you can see it from the application).
    Did you try to use the "Count" parameter instead of the "Age"? The "Count" parameter indicates the number of (most recent) records for which you want to save concurrent request history, log file, and report output files.

  • Concurrent Request 를 처리하는 File과 Tables

    제품 : AOL
    작성날짜 : 2003-12-02
    Concurrent Request 를 처리하는 File과 Tables
    =================================================
    PURPOSE
    이 Note는 Concurrent Reqeust output & Log 의 저장위치와 DB내 저장되는
    Object들에 대한 설명입니다. Purge Concurrent Request and Output을 실행할때 다음 table들의 해당 record들이 삭제됩니다.
    Explanations
    - FND_CONCURRENT_REQUESTS
    This table contains a complete history of all concurrent requests and
    stores information about all submitted jobs(requested directly or by a
    report set) within applications.
    There's one request_id for each requested job in this tables.
    - 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.
    Stores information about all request sets submittted within applications.
    Columns parent_request_id and request_id reflect the job# for the
    report-set and the jobs it calls to.
    - 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 statistics.
    FND_CONC_PP_ACTIONS
    Stores the post request processing actions(e.g., print, notify) for each
    submitted request. There's a concurrent_request_id here for each request_id
    in the FND_CONCURRENT_REQUESTS.
    FND_RUN_REQ_PP_ACTIONS
    Stores the post request processing actions(e.g., print, notify) for
    submitted request set programs that are stored in FND_RUN_REQUESTS.
    Reference Documents
    Note 132823.1

  • Concurrent Request default Parameters from OAF page

    Hi,
    I calling a concurrent request from OAF page using the below command.
    requestId = cr.submitRequest(applnName, cpName, "", "", false, cpParameters);
    The display parameters are only 4 and the remaining parameters are having default values in the concurrent program definition. When I call the concurrent request with the above call, the values are not getting populated. Should I add them manually to cpParameters? Please let me know.
    Thanks,
    HP

    Good Job :)
    Closed the thread and paste the resolution you that other can also refer to it.
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks

    Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks
    Could this be a virus?

    Hold down the Power button until the computer shuts down.
    The Safe Mac » Adware Removal Guide - Genieo
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • CE Bank Statement Load and Import Concurrent Request

    Hi All,
    I am trying to submit a concurrent request via PL/SQL for CE Bank Statement Loader but request_id always returns 0..
    Being new to here i somehow cannot understand why so as I've tried this with GL's SQLLDR for the Journal Import.
    Here's a part of my code:
    fnd_global.APPS_INITIALIZE (1090,50563,260);
    Commit;
    reqid := FND_request.submit_request('CE','CESSQLLDR',null,null,FALSE,'LOAD',1000,'filename.dat','/dir/filedir/statementdir',3205,11066,null,null,null,null,null,'N',null,null);
    Commit;
    dbms_output.put_line(reqID);
    Forgive me if this is such novice problem.
    Thanks in advance!

    Hi,
    Then I guess you've got an error in the parameters somewhere - is the concurrent program registered under the application you are passing in as the application short name? Have you got the program short name correct?
    Regards,
    Gareth

  • 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

Maybe you are looking for