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

Similar Messages

  • HT204396 how do I submit a refund request for unauthorized in-app purchase?

    How do a submit a refund request for unauthorized in-app purchase?

    If you didn't make the purchase, and nobody else has access to your account or devices and made it, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • 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 change Default editor in Linux for PL/SQL Programming

    Deare friends ,
    I am using oracle 8i (8.1.6) on RedHat Linux 7.2 , But i donot know how to change default editor for modify editor on sql prompt say ex:-
    In winodow
    SQL> ED
    it open nope pad to modify sql and pl/sql statement
    while in linux
    SLQ > ED
    it open one editor but it is not easy to work and i want to change that editor so could you tell me how to chane editor i want to use vi editor .
    if any boyd know reply me on :-
    [email protected]
    or on this forum
    Thanking you in advance
    Piyush Patel

    Either manually do a 'define editor=vi' when you log in through sql*plus, or put that in the glogin.sql in $ORACLEHOME/sqlplus/admin or put that in a login.sql in the directory you run sqlplus from.

  • 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

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

  • Submit concurrent request for cost transaction workers

    Is it possible to submit a concurrent request to run one of the cost transaction workers using submit_request
    Resource Cost Worker (CMCCTW)
    Overhead Cost Worker (CMCOCW)
    these are normally submitted by Cost Manager (CMCTCM)

    By modifying the concurrent program for "Overhead Cost Worker". Set SRS on. Added the parameters it uses (group_id, transaction_type, Org_id) I was able to run the concurrent request successfully from Submit Request Form. It still gets an error when you try to submit it using submit_request. I'm more courious thqan anything at this point. I'm sure Oracle would not be happy for me to make these sorts of changes to a production system.

  • How Can I Submit A Concurrent Program Using Form Personalizaton?

    How can I submit a concurrent program? Please help!
    Thanks in advance
    PhuTri

    I think the problem in your case coould be that the Concurrent Program you are trying to run has not been registered in the responsibility from which you are runnig it.
    For eg. You are trying to run a program from Inventory Super User responsibility and the request group attached to the responsibility is say 'RG Inventory', but the concurrent program which you are trying to run from your inventory super user responsibility is registered under some other request group say 'RG Order Mangement' which is not attached to the nventory responsibility.
    So register the program under correct request group and see if this helps you.
    Other possibility is that check if you have permission to submit request from that responsibility. You can check this by going to the Menu ->View If the Request menu is disabled then you cannot submit the request.

  • 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 do I submit an enhancement request?

    I'm sure I am just missing it in my Adobe.com and forums searches.
    How do I submit an enhancement request to Adobe for Acrobat 9.0?
    Thanks.

    There is a forum specifically for that purpose. I just discovered it and submitted a request.
    -Ramon
    http://forums.adobe.com/community/acrobat/acrobat_feature_request

  • How to create a New Tranport Request for changed  Extract structure

    How to create a New Tranport Request for changed  Extract structure ?
    Hi Experts,
    I have a FI AP Generic Datasource containing extract structure with appended fields.
    It has already been activated and transported to Testing System.
    Now, I am to create a new transport request for this DataSource and Extract structure.
    I do not want to delete and recreate the Generic Datasource.
    I am trying to look at the options in the extract structure top menu from where I can create a new Tranport Request.
    Please let me know the steps
    URGENT

    Hi Dev,
    Once you send the transport request for any data source from Dev to Testing you wont find that again in your Dev (I mean the TR). So, when you change anything for this data source or view now in Dev and try to save it, it will ask for a new transport request and here you can mention a new one starting from View then activate it and go to RSO2 regenerate it and use the same transport request for this too. When you transport this TR to Testing Environment the data source will automatically get changed.
    Hope it helps...

  • How to assign a new  transport request for  a program saved in $tmp mode

    Hi  all,
    How to assign a new  transport request for  a program saved in $tmp mode?

    Hi,
    delete the object fro the package $tmp.
    go to change mode, save it.
    while saving it will ask for teransport id.
    thanks
    vinod

  • How can I book an employee for a training program from PD?

    HI One and All,
    Hope all of you Doing well...
    I configured Personal Development and Training Event Management.
    When I go for Profile Match-up, I found that One employee is lack-off some skills. I have a training program to fill those skills. How can I book that employee for training program from Pofile match-up screen?
    Or is there any other way to book an employee for a training program from PD?
    Thnaks,
    Potru,

    Hi Priya,
    Thanks for your response, I check the option Generate training Praposals before running the profile match-up. I have created one training Event type (D) and i assigned qualification through A-028 relation.
    Here one employee is lack of MS Office excellent skills for Assistant Manager position, I created Training Event (D) called MS Office training and assigned the qualification for this training program.
    when I run profile match-up I got an Icon Training praposal (Tree symbol).
    and also I have a column called Training , but it is blank.
    I want to book that employee for that training progam (MS offcie training program), from Profile match-up screen.
    I have selected the employee and I click on the Icon called Further Training. But the message is like Choose a valid line.
    How can I send employee for MS Office training from profile match-up screen?
    Please guide me...
    Thanks,
    Potru.

Maybe you are looking for

  • How can I migrate from Outlook 2011 to iCal and Apple Address Book in Mavericks now that synching is no longer possible?

    Now that I am on Mavericks and no longer able to sync between my iPhone/iPad and Outlook 2011 on my MacBook Pro, I'm finally taking the leap (which I should have done long ago) and abandoning Outlook 2011 all together (doesn't help that Outlook now p

  • How do I share software between two users on one computer?

    I find that I need to use my husbands computer often and there is software loaded to his user name that I'd like to access.  How doI do that? or do I need to set the computer up differently?

  • GUEST user issue in the workflow

    Some of our users want to have the GUEST user profile option enabled to check the Workflow notifications so that they don't have to login to approve the workflow notifications but they can be able to approve notifications from the link they receive i

  • Question on Materialized View Log Table

    Hello, One of our MLOG table keeps growing without the records getting flushed out ...The Materiazed view gets refreshed successfully though...The master/mlog tables are remote.. There is only one MV attached to the master table as evident from the r

  • What version of GTK+ included in Solaris 10?

    I'm with a team that's evaluating upgrading from Solaris 9 4/04 to Solaris 10. One of the issues that we need to examine is GTK compability between Solaris 9 and Solaris 10. I can't locate any specific reference to the GTK+ version included with JDS