How to submit a request set from plsql

Its Apps Request ,,
Im using below code
STAT := FND_SUBMIT.SET_REQUEST_SET(APPLICATION => V_APPL,
REQUEST_SET => 'FNDRSSUB2237');
V_REQ_ID1 := FND_SUBMIT.SUBMIT_SET(START_TIME => SYSDATE,
SUB_REQUEST => TRUE);
FND_FILE.PUT_LINE(FND_FILE.OUTPUT, V_REQ_ID1);
DBMS_OUTPUT.PUT_LINE(V_REQ_ID1);
It is giving 0

904032 wrote:
Its Apps Request ,,
Im using below code
STAT := FND_SUBMIT.SET_REQUEST_SET(APPLICATION => V_APPL,
REQUEST_SET => 'FNDRSSUB2237');
V_REQ_ID1 := FND_SUBMIT.SUBMIT_SET(START_TIME => SYSDATE,
SUB_REQUEST => TRUE);
FND_FILE.PUT_LINE(FND_FILE.OUTPUT, V_REQ_ID1);
DBMS_OUTPUT.PUT_LINE(V_REQ_ID1);
It is giving 0Have you reviewed old threads? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=%22Fnd_Request.Submit_Request+%22+AND+Concurrent+AND+Set&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein

Similar Messages

  • How to call a Request Set from OAF

    How we can call a Request set from OAF page .

    Hi Sumit ,
    Thanx for your responce.
    I tried to call the below code in OAF AM method but i am getting error as : Invalid Column Type.
    Please help me on this.
    IS i am doing it in right way or not?
    public void handleLaunchReconProg()
    String sqlStatement = "BEGIN :1 := FND_SUBMIT.SET_REQUEST_SET (:2,:3); END;";
    OADBTransaction txn = (OADBTransaction)getDBTransaction();
    CallableStatement cStmt = txn.createCallableStatement(sqlStatement,1);
    try
    cStmt.registerOutParameter(1, Types.BOOLEAN);
    cStmt.setString(2,"XXDIS");
    cStmt.setString(3,"XXDIS_RECON_SUPP_BKLG");
    cStmt.execute();
    catch (Exception e)
    throw OAException.wrapperException(e);
    finally
    try
    cStmt.close();
    catch (Exception e)
    throw OAException.wrapperException(e);
    }

  • 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

  • Error in submiting request set from Daily Business Intelligence Administrat

    I am getting the following error when submitting "ADS Incremental Financials Request Group" request set from "Daily Business Intelligence Administrator" responsibility in vision R12 instance :
    APP-FND-01564: ORACLE error -1116 in SUBMIT: others
    Cause: SUBMIT: others failed due to ORA-01116: error in opening database file 11
    ORA-01110: data file 11: '<path>.dbf'
    ORA-27041: unable to open file
    SVR4 Error: 24: Too many open files
    Additional information: 3.
    The SQL statement being executed at the time of the error was: &SQLSTMT and was executed for the file &ERRFILE.
    OS is Solaris 10.5
    in a document it was suggested to increase the ulimit -n equal to ulimit -Hn and in solaris for R12 nofiles (descriptors) = 65536. Both ulimit -n and ulimit -Hn have been set to 65536 but still the error is showing.
    Plz Helppp

    Check Note: 549806.1 - ADS Incremental Financials Request Group errors out with APP-FND-00806
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549806.1

  • How to Run a Request Set on specific days and at specific hours

    Hi community,
    The question is simple, how to rin a Request Set on Specific Days and at Specific hours?
    Let me explain the scenario.
    E-Business Suite, Release 11.5.9.
    We have a request set under Sysadmin user. This Request set is running 24x7, during all year, and we want to restrict the execution from Monday to Friday since 08:00 a.m. to 20:00 p.m. in order to increase the productivity of our system and more over, to avoid the size increase of a table (OE_EXPOSURE_INTERFACE)
    The Request Set includes 5 Requests:
    10. Workflow Background Process.
    20. GUZMAN: Cálculo metodo pago en pedidos.
    30. GUZMAN: Exposición de crédito externo.
    40. Credit Exposure Import.
    50 Initialize Credit Summaries Table.
    As you can see three of them are standar Oracle Order Management Processes and two of them are custom Oracle Order Management Processes; and the requests must be executed in that order.
    We have just thinking about to create a Custom Manager with a workshift from Monday to Friday since 08:00 a.m. to 20:00 p.m., and include the requests as specialization rules or assigning those request to a Request Type and then include that Request Type as specializated rule, but this does not assure us that the request will be executed in that order.
    Any suggestion?
    Thanks a lot for your answer in advice.
    Luis.

    Hi Anchorage,
    It could be a solution, but not the exact solution that we want. Let me say why.
    With the Request set we have the security that each concurrent request is executed when the prior one finishes; is that to say 20, does not begin till 10 finishes, and 30 does not begin till 20 finishes and so on. The most critical concurrent requests are 40 and 50, cause those are the ones that import an external credit exposure in the OE_EXPORURE_INTERFACE table (40) and are the ones that delete those external credit exposures imported (50). The problem is (and we do not know why) that these actions makes grow the size of the table and each time the 40 and 50 processes takes more minutes to finish. That's why we need to truncate the table in order to avoid the excesive grow of itself.
    Making each process independent, with a begining time and hoping and expecting that the following one does not begin till the prior one ends is not an admisible or realizable solution due to the problem with the 40 and 50 processes.
    So at the end, we need a request set in order to know that each one began when the prior one ends.
    And Due to in order to truncate the table, as I said before, the processes that have a relationship whit it, must be stopped (just the 40 and 50 processes) prior to the truncation.
    So as you see, it is difficult, very difficult.
    Regards.

  • How to schedule the Request set in Oracle Apps

    Hi Everyone,
    Hope all are doing good, I would like to know scheduling in Oracle Apps.
    Here is the my scenario, i.e I have an one Request Set named Custom Invoice Request Set.
    Now i want to run this request set for every 5 minutes. For that what do i have to do.
    Can anyone please suggest me.

    Hi,
    Please follow the below steps:
    1. Log into the system
    2. View > Request > Submit a new Request > Request Set > Select the request set (from list of values)
    3. Click on schedule (Dont click on submit)
    4. Click on Periodically
    5. For "Re-run every" parameter enter value
              i.    5
              11. minutes (from the drop down value).
    6. Click OK
    This will achieve your objective.
    Hope answered the question.
    Best Regards,

  • Calling a request set from a concurrent program

    Hi,
    I am trying to call a request set( say RS1) from a concurrent program ( say CP1). I have used fnd_submit.set_request_set and related APIs, and I am able to submit the request set. But the problem is that I have to either hard code the request set parameters in the concurrent program CP1( which I am currently doing), or define the parameters in the concurrent program CP1 and pass the parameters while calling the request set requests. The second method does not work because the request set has around 30 requests, and it is not possible to accept the parameters for all those requests from CP1.
    What I would like to do is to define a parameter in CP1 which accepts the request set name( or short name), and then pop-up a window which shows the sub-requests in the request set so that I can enter the parameters of each request within the request set. ( something similar to $FLEX$)
    Have anyone done such a thing? Does anyone know if it is possible?
    Any suggestions are welcome!

    Hi,
    Sharing parameters will not work because my request set has many requests and none of them have any common parameters. I am looking for a solution which will show me all the programs in the request set with the default values so that I can change the parameter values if required.
    Thanks,
    Sridhar

  • How to input unicode character set from oralce form 9i

    Hi,
    Can anyone show me how to input unicode character set from form 9i. I have designed a form and run it but when I input unicode charater in TEXT ITEM on form (FONT_NAME of this TEXT ITEM is New Roman, AriaTime l ...), but it display incorrectly nor stored it in Database.
    Thank you !

    Thank Duncan R Mills !
    My setting NLS_CHARACTER in Database as follow :
    SQL> SELECT * FROM NLS_DATABASE_PARAMETERS;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 8.1.7.0.0
    18 rows selected.
    Even if I can'nt input unicode character on Oracle Forms, It display incorrectly though I set exactly font_name.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Urgent help needed -- how to submit a web page from a PL/SQL api

    Hi,
    Could anyone tell me how to submit a remote web page through pl/sql
    Thanks,
    Rachna

    I am not sure what you mean by this question.
    You can submit from PL/SQL to an external webpage/website using the UTL_HTTP package.
    You can submit from an external webpage to a PL/SQL package if that package is invoked by you webserver. The most direct way is using the MOD_PLSQL module for Apache that Oracle ships as HttpServer and that is the foundation for Oracle Portal and HTML DB. Alternatively your webpage can submit to a JSP that invokes your PLSQL package through JDBC.
    best regards,
    Lucas

  • How to call view requests window from forms

    I have a custom form in which i am running a concurrent program using FND_REQUEST.SUBMIT_REQUEST. after I submit the request, I manually go to the view -> requests -> viewoutput to see the report output. Is there any function which can be used in the form to skip this manual step and go directly to the view requests screen?

    Hi,
    You can use fnd_function.execute to open any form from another form. For instance, using fnd_function.execute('FND_FNDCPQCR') should open the Requests form. You can play with the parameters of the form (or use a different function) until you get what you actually need.
    Hope it helps.

  • HOW TO DELETE PARTICULAR TRIPLE SET FROM Oracle SEMANTIC TABLES in 11g

    Can somebody help us how to delete a particular set of triples from Oracle(11g) semantic that we have. Because we noticed that few triple belongs to particular data sets were wrongly loaded so we need to remove only those triples.
    Usually we delete all triples including others such and reload them again along with new triples. We would like to avoid this as we go to production.
    Otherwise When we insert a set of triples belongs to a particular data set, is it possible to know what ids Oracle assigned to that set? Can we delete by id? Just a thought.
    Rgds
    Srini

    Hi,
    It is very strange. I got an email in my inbox saying that you want to find out
    IDs of triples that belong to RNAIDB data set like the following.
    "<http://www.lscdd.lilly.com.sg/lscdd/RNAIDB/...../.../:>".
    This forum does not have your message somehow.
    Assume you have asked such an question :), my answers are
    1) from a modeling perspective, it is not a very good idea to encode
    semantics in the URI lexical form itself. A URI should be treated
    as a symbol.
    2) now assume you have a valid reason for doing this, you can try something like the following.
    CREATE INDEX testdel_sub_idx ON tstdel (triple.GET_SUBJECT());
    -- You can then get the rowid out for those offending rows.
    select rowid
    from tstdel t
    where t.triple.GET_SUBJECT() like '<urn:su%'
    -- Or you can remove them directly.
    delete from tstdel t
    where t.triple.GET_SUBJECT() like '<urn:su%'
    ;

  • How to change the Character Set from AL32UTF8 to WE8DEC

    Hello!!
    I want to know how to change the character set in the database from AL32UTF8 to WE8DEC.
    I tried to use the comand ALTER DATABASE CHARACTER SET but I got an error because WE8DEC is not a superset of AL32UTF8.
    I need to import tables from a server that uses WE8DEC. So when I do the import to my server, wich has AL32UTF8 , I can't import the rows that include an Ñ.
    So I want to change the caracter set to WE8DEC. How can I do it?
    Is it needed to change the language configuration? The remote server has AMERICAN_AMERICA, and my server has MEXICAN SPANISH_MEXICO (both uses text in spanish).
    Thanks a lot!!

    When you export from WE8DEC server what did you use
    for NLS_LANG char set? And when importing?
    The export was done in another computer because I can't do the export in the server (I have 10g, and the remote server has 9i and the export is not working). In my server, when I tried to do the import, the NS_LANG value was MEXICAN SPANISH_MEXICO.WE8MSWIN1252.
    When I try to import to my database I got the error:
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing USRMCR06's objects into PRIMARIZACION
    . . importing table "CHG_FONDOS_MARZO_CD_MOR"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "PRIMARIZACION"."CHG_FONDOS_MARZO_CD_MOR".
    "NOMBRE" (actual: 41, maximum: 40)
    Column 1 16623436
    Column 2
    Column 3 Pymes_1
    Column 4

  • How to generate output requests (Print) from BSP ?

    How to trigger an Print output controller from BSP ?
    i have designed certification letter in BSP page and if i trigger print button in BSP am passing the required parameters to the SAP spool,and letter is generated in SAPSCRIPT. Ans am able to trigger a print from the spool request.
    But how to trigger the ouput controller from BSP Itself .
    regards ,
    Message was edited by: J
    Solved . I have missed some Printer params .
    Message was edited by: J

    Hi,
    Refer this link.
    How to Print HU and its contents
    Vishal

  • How to cancel Scheduled Request Set

    Hi,
    How should i cancel the Scheduled Request Set in Apps.
    Thanks

    Pl post details of OS, database and EBS versions. The steps are the same as canceling a regular request.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12894/T202991T202993.htm#I_viewrqst
    HTH
    Srini

Maybe you are looking for