How to terminate all Concurrent Programs from back end

Hi,
Can any one tell me how to terminate all Running Concurrent Programs from back end

post this in the EB forum;
also, investigate the built-in package fnd_concuurent
begin
   for r in (select Request_ID from fnd_Concurrent_Requests
             where Phase_Code != 'C') loop -- exclude requests that have successfully completed (R = Running P = Pending)
     fnd_concurrent.cancel_request(r.Request_ID);
     commit; -- you must perform a commit after each call
   end loop;
end;
/

Similar Messages

  • How to know the status of concurrent program from back-end in oracle apps

    Hi,
    Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
    Thanks,
    Raj

    When a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
    Same thing happens with a Pre-Insert and Pre-Delete trigger.

  • Calling a concurrent program from back end in Apps

    How to call a Java stored procedure from back end? Can it be called using FND_REQUEST.SUBMIT_REQUEST?

    Yes - as long as it is defined as a concurrent executable and program, FND_REQUEST.SUBMIT_REQUEST can be used.
    MOS Doc 221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    HTH
    Srini

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • How to EXPORT a concurrent program from one instance to another

    Hi,
    I am new to EBS.
    How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
    Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
    Thanks
    Asis

    Hi;
    What is EBS version? Why you dont use FNDLOAD?
    Pelase see below thread
    Move concurrent program to prod
    Move concurrent program to prod
    Regard
    Helios

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • FNDLOAD: How to remove a concurrent program from a request group

    Hi,
    I want to remove a concurrent program from a request group using FNDLOAD utility. Since impacted environment is Production (controlled environment) I do not want to remove concurrent program manually from the request group. Is there a way to use FNDLOAD utility for this purpose or some other means?
    Environment: Oracle EBS R12.1.1
    OS: Linux
    Thanks,
    Nitin

    Hi,
    Unfortunately this CP cannot be disabled as it has to be removed from certain RGs but not all. Also removing it through RG forms is always an option but production gatekeepers won't allow to do that. I would have done that in a min.
    If FNDLOAD is not an option then I guess only other option is pl/sql script.
    Best regards,
    Nitin

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "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 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • How to Spawn a concurrent program from another Concurrent Program

    Hi,
    I need to write a concurrent program with PL/sql procedure. Inside this procedure, for a cursor data, for each record I need to spawn another concurrent program. How can I do this. Should I call a concurrent program using fnd_request.submit_request?
    Any suggestions?
    Thanks,
    HC

    Correct - you will need to use FND_REQUEST. Pl use the search feature of these forums to find old threads that discuss this topic
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST+AND+SUBMIT_REQUEST&objID=c3&dateRange=all&userID=&numResults=15
    How To Submit A Concurrent Request Set Using Fnd_Request.Submit_Request          [Document 382791.1]
    Most Commonly Used FND APIs in APPS Customizations          [Document 221549.1]
    HTH
    Srini

  • How to run a concurrent program from Menu List

    Hi Guys,
    I am working in HRMS. And did the following steps.
    1. Created one concurrent program "Payroll Variance Report" as per customer's requirement.
    2. Now user wants me to luanch this consurrent program from the People Form i.e. Reponsibility->People Form (on the same form, on the top of it 'Tools' bar is there where I need to attach one prompt "Pyaroll Variance Report" to its list). The moment user clicks on this "Payroll Variance Report" option of 'Tools' list, it should launch the concurrent request. I hope I make you understand my requirements. This is very urgent. Kindly give me you suggestions.
    Looking forward to your replies.
    Thanks
    Sunil

    Use FND_REQUEST.SUBMIT_REQUEST API.
    Search the forum, My Oracle Support, eTRM, and the Developer guide for details about using this API.
    Thanks,
    Hussein

  • How to Submit a Concurrent program from OAF page Button?

    Hi,
    I have tried this but its not submitting the request
    String shipId = pageContext.getParameter("shipId");
    OADBTransaction tr = am.getOADBTransaction();
    Connection conn = tr.getJdbcConnection();
    OracleCallableStatement ocs = null;
    String stmt = new String("");
    if(pageContext.getParameter("SubmitRequest") != null) {
    try {
    stmt = "begin fnd_request.submit_request( application => 'XX',
    program => 'SHIPG_MATRL_PKP',
    description => NULL,
    start_time => sysdate,
    argument1 => :1 ); end;";
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setString(1,shipId);
    ocs.execute();
    catch(SQLException se)
    throw OAException.wrapperException(se);
    What is the mistake in the syntax.
    Can anyone provide the syntax for this?
    Krishna

    Hi Anil,
    I got the same requirment. The requirement was we need to create a Print PO button on the OAF page and when we click the button, we need to display the PO in pdf format by calling a concurrent program(XML) based on the PO type.
    My approach was below.
    1. Create the button using Personilization.
    2. Extend the controller class and add the code to call the concurent request.
    Can you please guide me how to create the button using personilization. When I created the button, this was shown on the OAF page. But I don't get the hand symbol on that button to click that button.
    Also please give me the approach of extending the controller and AM.
    Thanks for your help

  • How to get PO CHANGE HISTORY from back end tables?

    Hi All,
    I need to get the PO Change history from the back end reason being users want to see not only the change made but who made the changes on those PO's. The PO change history.html doesnot give the information of the user who made changes to the PO. Can any one provide me the query involved in this html page. I can add the updated_by column to that. I built a query already but it is not giving me the field altered on the PO Line.
    I learnt that we can get the information from the archive tables but my question is how to know which field has been changed from the original PO to the revised PO. I am unable to figure out if that revision is for Unit Price change or amount change or Bill to change etc. i.e., as it shows in PO change History html page I need to see which field is altered on a particular PO. Is that possible?
    Thanks for your help!
    Prathima
    Message was edited by:
    Prathima

    Hi Anil,
    Turning Audit on PO_LINES_ALL helped to track the changes. I have a problem though.
    In the sense - Below is the query I created to track changes on Unit Price of a Po Line.
    SELECT
    poh.segment1 po_num
    ,pol.line_num po_line_num
    ,pola.unit_price price_changed_from
    ,pol.unit_price price_changed_to
    ,fnd1.description created_by
    ,fnd.description last_updated_by
    ,fnd2.description previously_updated_by
    --,decode(pola.audit_transaction_type,'U','UPDATE','I','INSERT') audit_transaction_type
    ,pol.last_update_date
    FROM po.po_lines_all_a pola,po.po_lines_all pol,apps.fnd_user fnd,apps.fnd_user fnd1,po.po_headers_all poh,apps.fnd_user fnd2
    WHERE pola.po_line_id = pol.po_line_id
    AND pola.audit_transaction_type = 'U'
    and poh.po_header_id = pol.po_header_id
    AND fnd.user_name = pola.audit_user_name
    and pola.unit_price is not null
    and fnd1.user_id = pol.created_by
    and fnd2.user_id(+) = pola.LAST_UPDATED_BY
    Now the problem is
    When I update a line twice. intially I changed the unitprice value of line 4 from .72 to 0.8 and later I changed it back to 0.8 to 0.72. Intial Changed to 0.72 shuld be 0.8 but it changed to 0.72 as it is pulling from po_lines_all table. How can you capture that changed to???
    po_num Line Changed from Changed to
    26603     4     0.72000      0.72000
    26603     4     0.80000     0.72000
    Please help.
    Thanks,
    Prathima

  • 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

  • How to submit a cuncurrent program from UNIX?

    How to submit a concurrent program from UNIX.Plz reply immediatly

    Please see;
    Oracle Metalink Document: How to Submit a Concurrent Request Using CONCSUB Syntax: Doc ID: Note:457519.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5250231761732667752::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,457519.1,1,1,0,helvetica
    Adith

  • How to find Registry id for a particular supplier from back end

    I have just gone through the link of anil passi for getting registry_id for a particular supplier from front end
    but how come we can find registry_id from back end to a particular supplier.So, that we can get party_id of that supplier in HZ_PARTIES

    Hi,
    Sounds like you'll have more luck asking that in one of the E-Business Suite forums:
    https://forums.oracle.com/forums/category.jspa?categoryID=3
    Regards
    Peter

Maybe you are looking for

  • My PS CS6 with camera raw 8.4 will not open Nikon D4s NEF files-

    I have just upgraded from CS 5.1 to CS6.  The initial installation went smoothly and everything seems to work as it should.  The CR was version 7.  I then installed all of the updates using the Check Updates option from the menu.  That went fine also

  • Tax calculation in Logistic invoice verifica

    Certain services have the material component in their price since the material supplied by the vendor. On this material component of total price VAT is applicable whereas on the remaining part of the total service cost, service tax is applicable. We

  • How do I download a book from Itunes to my ipod nano?

    I see that I've purchased a book on my ITunes Store list, but it does not show up on my IPod nano.  Can you help?

  • Can i use two model

    hi can i use two Adaptive RFC model in same webdynpro application.(JAVA)

  • UPDATE TO 9.2.2

    Hi, I'm still running 9.1 and just tried to upgrade to 9.2.1 to go to 9.2.2. I downloaded both updates from apple support. Got half way through the first update and got "system error, installer engine, error type 10". Any clues?