Re: Request set - pass parameter

Hello,
I don't see docs through these links!!!
https://forums.oracle.com/forums/search.jspa?threadID=&q=Request+AND+Set+AND+Pass+AND+Parameter&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Request+AND+Set+AND+Pass+AND+Parameter+AND+REQUEST_ID&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Can you help me?
Thanks
Regards

c368397c-e6a9-4273-bcf5-e7efb7ac0353 wrote:
Hello,
I don't see docs through these links!!!
https://forums.oracle.com/forums/search.jspa?threadID=&q=Request+AND+Set+AND+Pass+AND+Parameter&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Request+AND+Set+AND+Pass+AND+Parameter+AND+REQUEST_ID&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Can you help me?
Thanks
Regards
Those links from the old forum and that's why they are not working for you.
If you want to search the new one, please use the following links:
https://forums.oracle.com/community/developer/search.jspa?q=Request+AND+Set+AND+Pass+AND+Parameters
https://forums.oracle.com/community/developer/search.jspa?q=Request+AND+Set+AND+Pass+AND+Parameter+AND+REQUEST_ID
Thanks,
Hussein

Similar Messages

  • Request set - pass parameter

    Hi all,
    I'm using EBS 12.1.3. In Receivables I've created a Request Set with 4 concurrent programs. I want the last one of the chain to accept as a parameter the request id from the previous concurrent program. Any ideas how to achieve this?
    Thanks in advance,
    Bahchevanov.

    Hi,Hussein,
    Thanks for reply. The docs you provided for me are helpful. In my case I don't want to pass a parameter which occurs in other concurrent programs in the request set but to pass the REQUEST_ID from the previous concurrent program. Request set for examle:
    1). Autoinvoice Master Program with request_id = '111'
    2). My Concurrent Program with parameter P_REQ_ID must accept the request_id from 1) = '111'.
    Thanks,
    Bahchevanov.

  • Request Set - Passing Request Id as Parameter

    Hi Guys,
    I have following request set
    STAGE1: Receiving Transaction Processor
    STAGE2: Receiving Interface Error Report
    STAGE3: Send Email (This custom program)
    Send Email Program looks for Request ID of Receiving Interface Error Report and sends out and email with attachement. The attachement is output of Receiving Interface Error Report.
    So my question is...how can i pass request id of STAGE2 request.
    thanks in advance
    Prashant Pathak

    Prashant,
    This might help you.
    select request_id from fnd_concurrent_requests a
    where description='2'
    and exists (
    select 1 from fnd_concurrent_requests b
    where b.request_id=<your_request_id>
    and a.parent_request_id=b.parent_request_id);
    Thanks
    Nagamohan

  • Pass ORG_ID as sql statement for parameter in request set

    We are in a multi-org environment. We are running the request PRC: Generate Draft Revenue for a Single Project as part of the request set. We want the request to automatically fill in the open pa period as the accrue through date. We have been using the SQL Statement below as the value for the accrue through date parameter.
    select end_date
    from pa_periods_all
    where status = 'O'
    and current_pa_period_flag = 'Y'
    Unfortunately that does not limit to a specific company. We a company that still have DEC-05 while another has an open period of JAN-06. This is causing the program fits. How do I pass the org_id to the request? [in beginners terms please]
    Thanks.
    Anne

    No idea what might be wroong without more info...
    Do some output. Test the ${params.id} variable passed to the second jsp. If that is correct, then error is in the select statement or display of jsp2. If it is correct the error comes from jsp1.
    If I have to guess, then I would say the error comes from JSP1, and the ${row.vac_id} should only be called once. In which case I would do something like this:
    //in jsp 1
                <c:forEach var="row" items="${results.rows}"  varStatus="counter"  >
                    <c:set var="vac_id" value="${row.vac_id}" scope="page"/>
                    <tr>
                        <td>${vac_id}</td>
                        <td><a href="vacancydetails.jsp?id=${vac_id}">More</a></td>But that is a guess only...
    Errr... Hold on to that as reference, but the it is entirely likely that I misspelled ${params.id} It may be ${param.id} I forget and away from my machine right now...

  • How to pass 1st program request id to 2nd program in request set

    Hi,
    I have following requirement, kindly help.
    I registered report as concurrent program1. After running the report, i have to email the output. For that i prepared a shell script and registered that as concurrent program 2.
    I put concurrent program1 and 2 in request set, i want to pass the request id of concurrent prog1 to concurrent prog2.
    Is there anyway i can achieve this.
    If not possible, suggest me alternative way.
    Thanks.

    Here is a not so sophisticated approach.
    First find the concurrent_program_id for your Outbound Interface from fnd_concurrent_programs_tl.
    Say it is 12345
    Then, in your 2nd program, find the id as follows
    select fcr.request_id outbound_request_id
    /*, fcr2.request_id,fcr3.request_id,fcr4.request_id,fcr5.request_id*/
    from fnd_concurrent_requests fcr --2nd request
    ,fnd_concurrent_requests fcr2 -- 2nd request phase
    --,fnd_concurrent_requests fcr3 -- request set
    ,fnd_concurrent_requests fcr4 -- request phase for outbound api
    ,fnd_concurrent_requests fcr5 -- outboudn api request
    where fcr.request_id = fnd_global.conc_request_id
    and fcr.parent_request_id = fcr2.request_id
    --and fcr2.parent_request_id = fcr3.request_id
    --and fcr4.parent_request_id = fcr3.request_id
    and fcr2.parent_request_id = fcr4.parent_request_id
    and fcr4.request_id = fcr5.parent_request_id
    and fcr5.request_id != fcr.request_id
    and fcr.concurrent_program_id = 12345Hope this helps,
    Sandeep Gandhi

  • How to use shared parameter on request set

    Hi
    I have a request set with two stages
    First stage contains From Date and To date where i have named the shared parameter as StartSP and EndSP
    i have to use these shared parameter in one of the query in next stage where my Type is SQL Statment and i have these two date fields From date and To date in next stage as well where i am able to retirve the values from previous stage
    based on these values i need to get the name in next parameter where my Type is SQL Statment
    select name from tablename where '02-MAR-09' > =start_Date and '29-MAR-09' <=end_Date
    I have written SQL as
    select name from tablename where StartSP > =start_Date and EndSP <=end_Date but it throws an error.
    I need the values of 02-Mar-09 and 29-Mar-09 from StartSP and EndSP
    Appreciate if any one has idea about this.

    hi user;
    please check:
    http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/repset04.htm
    http://download-east.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/10gch609.htm
    Also you can check this search:http://www.google.com.tr/search?hl=tr&source=hp&q=How+to+use+shared+parameter+on+request+set+&meta=&aq=f&oq=
    Hope it helps
    Regard
    Helios

  • Set post parameter to request

    Hi,
    i want set a parameter to my request, e.g. a message.
    This paramter must be represented in the request as a post-paramter, e.g. like a simple form with post-methode would do it.
    Ho can i implement that in my Servlet?
    Thanks Daniel :-)

    Hi dniklas,
    Use request.setAttribute(java.lang.String name, java.lang.Object o)Stores an attribute in this request. Attributes are reset between requests. This method is most often used in conjunction with RequestDispatcher.
    Thanks,
    Sanath Kumar

  • Pass parameter from request

    Hi,
    I have 2 pages, in page2 CO2, it passes parameter 'cancel'
    processFormRequest{
    else if("Cancel".equals(pageContext.getParameter("event")))
    pageContext.putParameter("cancel", "Y");
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG",
    null,(byte)0,null,null,true,null);
    in page1, CO1, I get the parameter 'cancel'.
    processRequest{
    cancel = pageContext.getParameter("cancel");
    Now, if I want pass 'cancel' to processFormRequest of CO1, how should I do it?
    thanks
    Lei

    Lei,
    To get the value in co1, there are two alternatives:
    1)Pass value in hashmap:
    HashMap hmap= new HashMap();
    hmap.put("cancel","Y");
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG",
    null,(byte)0,null,hmap,true,null);
    in page1, CO1 processRequest, you can get it by
    cancel = pageContext.getParameter("cancel");
    2)Pass param in url itself:
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG&cancel=Y",
    null,(byte)0,null,null,true,null);
    in page1, CO1 processRequest, you can get it by
    cancel = pageContext.getParameter("cancel");
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Passing Reuest ID in a Request Set.

    Hi Guys,
    I've created a request set to run a Financial statement at stage 10 and then defined XML Report Publisher to run at stage 20.
    Problem is that XML Report Publisher requires the request id from stage 10. I've tried creating an SQL statement to get that value but seeing that the request set has no run yet.. I'm getting a request ID from the previous run.
    Is there a way to get the request Id of the previous stage?

    Thanks for the reply Sujoy.
    I have a Conc. Request Set with 2 concurrent programs which run one after the other.
    I need to get the conc. request Id of program1 which has completed successfully in program2 of the concurrent request set.
    Thanks,
    Satya
    Message was edited by:
    stammine

  • Help me in passing parameter

    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    <%
         Vector mail = new Vector();
         try{
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         catch (Exception E) {
         out.println("Unable to load driver.");
         E.printStackTrace();
         try{
              Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:
    <%Statement S = C.createStatement();
                   ResultSet rs = S.executeQuery("SELECT * FROM bar");
                   ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
                   out.println("<tr bgcolor=red>");
                   int colCount = rsStruc.getColumnCount();
                   String colName = "";
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
                   out.println("</tr>");
                   while (rs.next()) {
                   String email=rs.getString("email");
                   mail.addElement(email);
                   out.println("<tr bgcolor=ffffff>");
                   for(int i=1;i <= colCount; i++){
                   colName = rsStruc.getColumnName(i) ;
                   String fld = rs.getString(colName);
                        out.println("<td>" + fld + "</td>");
                   out.println("</tr>");
                   out.println("</table>");
                   rs.close();
                   C.close();}
    catch (Exception E) {
         out.println("SQLException: " + E.getMessage());
         for(int i=0; i< mail.size(); i++){
    String add= mail.elementAt(i)+",";
    out.println(add);
         %>
    <form action="simplemail.jsp" method="post">
    <input type="text" name="address" value="<%=add%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>
    what problem with my page i want to read the vector data then set it inside the variable (e.g [email protected],[email protected]) then put it into the textbox and passing parameter to next page.. how i gotta solve this problem?

    i have to use the hidden input html to send the vector to the next page but found out the problem "Type mismatch: cannot convert from String to Vector"
    <%@ page import="java.net.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.sql.*" %>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    <%
    Vector mail = new Vector();
    try{
    Class.forName("com.mysql.jdbc.Driver");
    catch (Exception E) {
    out.println("Unable to load driver.");
    E.printStackTrace();
    try{
    Connection C = DriverManager.getConnection("jdbc:mysql://localhost/attendance","root","");
    %>
    <div align="center"><font size="+6">Student BarList</font><br>
    In this page will display out the student that attendance NOT MORE THAN 70%. The Student Below is NOT ALLOW to take exam for the relevant subject.
    The student whoever not satisfy with the bar can negotiate with the lecturer of the relevant subject.<p/>
    The student below will be bar from the relevent subject:<br/>
    <%
    Statement S = C.createStatement();
    ResultSet rs = S.executeQuery("SELECT * FROM bar");
    ResultSetMetaData rsStruc = rs.getMetaData();
    out.println("<table bgcolor=red cellpadding=10 cellspacing=1 size=70>");
    out.println("<tr bgcolor=red>");
    int colCount = rsStruc.getColumnCount();
    String colName = "";
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    out.println("<td><B><font color=white>" + colName + "</font></b></td>\n");
    out.println("</tr>");
    while (rs.next()) {
    String email=rs.getString("email");
    mail.addElement(email);
    out.println("<tr bgcolor='ffffff'>");
    for(int i=1;i <= colCount; i++){
    colName = rsStruc.getColumnName(i) ;
    String fld = rs.getString(colName);
    out.println("<td>" + fld + "</td>");
    out.println("</tr>");
    out.println("</table>");
    rs.close();
    C.close();}
    catch (Exception E) {
    out.println("SQLException: " + E.getMessage());
    //String add = "";
    //for(int i=0; i< mail.size(); i++){
    //add = mail.elementAt(i)+",";
    //out.println(add);
    %>
    <form action="simplemail.jsp" method="post">
    <input type="hidden" name="address" value="<%=mail%>">
    <input type="submit" name="send" value="Send Mail">
    </body>
    </html>the vector should be pass to this page:
    <%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*" %>
    <%
    Vector to2= new Vector();
    to2=request.getParameter("address");
    //String subject=request.getParameter("subject");
    //String message2=request.getParameter("message");
    for(int i=0; i< to2.size(); i++)
         String add = (String)to2.elementAt(i);
         System.out.println(add);
    Properties props = new Properties();
      props.put("localhost:25","localhost:25");
      Session s = Session.getInstance(props,null);
      MimeMessage message = new MimeMessage(s);
      InternetAddress from = new InternetAddress("albert");
      message.setFrom(from);
      InternetAddress to = new InternetAddress(add);
      message.addRecipient(Message.RecipientType.TO, to);
      //message.setSubject(subject);
      //message.setText(message2);
    message.setSubject("Bar exam acknowledgement");
    message.setText("You been bar from the exam, please check on the student attendance online for more information");
      Transport.send(message);
    %>
    <html>
    <p align="center">A Message has been sent.<br>Check your inbox.</p>
    <p align="center"><a href="mail.html">Click here to send another!</a><br>
    </p>
    </html>please help me!!! i stuck in this oledi

  • Exporting DI batch to BAT and set DI parameter/variable at run time

    Hi All,
    We are looking to call DI batch job externally and pass parameter/variable at run time.
    We tried exporting DI batch to a bat file and setting substitution parameters during export.
    In the exported .bat file, it references a .txt file which shows the name of the substitution paramemters but the value of the parameters are encrypted.
    Does anyone know how to pass parameter/variable to a DI batch job at run time externally?
    Thanks,
    Bobby

    I tried out this method and I have some additional issues.
    1. if we use the BOE scheduler the text parameter file is using a specific naming convention that is not clearly documented. it is like : -GV"$VAR=ENCRYPTEDVALUE;"... trying to modify it with a clear value like -GV"$VAR=MYVALUE;" was simply ignored by the scheduler... seems also that BOE did not sent any scheduling request to the DI Job Launcher...
    What is the proper convention please?
    2.Is there a better way to enter this parameter than editing the TXT file. Most of the BOE InfoView users are not allowed to modify or store documents.. This is not very convenient if they cannot enter simply the parameter values in a let say more confortable way...
    Thank you and cheers

  • How to pass parameter as http POST in pageContext.setForwardURL

    Hi,
    I need to call a third party application page in my custom OAF page. I need to pass parameter to this third party page using POST method. I am using following command to call that -
    HashMap hm = new HashMap();
    hm.put("FirstName",firstName );
    hm.put("LastName",lastName);
    hm.put("AppSignature", signature);
    pageContext.setForwardURL(hopURL,
    null, // not necessary with KEEP_MENU_CONTEXT
    OAWebBeanConstants.KEEP_MENU_CONTEXT, // no change to menu context
    null, // No need to specify since we're keeping menu context
    hm, // request parameters
    false, // retain the root application module
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // display breadcrumbs
    OAException.ERROR);
    I am passing parameter to the page using hash map table. That application is expecting the parameters in POST format and I believe using hash map table the parameters will be passed as GET format.
    We figured that out because one of the parameter we have to send is AppSignature which is 160 characters long. When third party applicatoin received that parameter they got only 151 characters, looks like they are truncated by GET method.
    Any idea how to pass parameter using POST format so that this issue could be fixed.
    Regards
    Hitesh

    Sumit,
    Thanks for your reply. I have resolved this issue by forwarding all parameters in session using pageContext.putSessionValueDirect and redirect to a jsp using pageContext.redirectImmediately.
    in jsp I read the params from session and set in the form , and then redirected to my third party application.
    Regards
    Hitesh

  • How to pass parameter from unix to oracle

    Hi all,
    Kindly need your help regarding to this problem
    for i in `ls *.dat*`
    do
    echo "File $i"
    sqlplus -s $conn <<END
    set echo off
    set termout off
    set feedback off
    set verify off
    set showmode off
    set pagesize 0
    set recsep off
    spool file_$day
    select nvl((select file_name from abc where file_name=$i),'Files Not Found') from dual;
    spool off
    exit
    END
    done
    I need to pass parameter to the select statement but it failed. The error is
    select nvl((select file_name from abc where file_name=),'Files Not Found') from dual
    ERROR at line 1:
    ORA-00936: missing expression
    It seems like the parameter didnt passed to the query. Need everyone helps. Urgent!
    Many thanks
    Tiiim

    I would have helped you had you not been abusive and called your request urgent. If it is truly urgent call an ambulance or the fire department or Oracle Support.
    We are volunteers and your request is no more important, or urgent, than that of anyone else here.
    An apology would be appropriate.

  • Using Shared Parameters in Request Sets

    Hi.
    I have a Request Set created but I want to pass one of the parameters entered in the 1st stage STAGE10, but also for this to be picked up by the 2nd stage STAGE20.
    I have heard that this is possible but have not been able to find any evidence from Metalink or Oracle Documentation, unless I just have not found the right document(s).
    This would require our users to not to have to enter the FileName parameter at each stage of the Request Set.
    I do not want to have each of the stages coded together as I want them to be standalone also (if required).
    Many thanks fro any help forthcoming.
    Regards
    Michael Brown
    Edited by: user621432 on 29-Oct-2008 02:10

    On the request set, review the program where You first specify the parameter to inherit and click on the parameters button. There You can specify an alias for the parameter that can be referren in the other programs in the set to inherit the value specified.

  • Manually running request set before dashboard is displayed

    Hi!
    I'm planning to create custom dashboards, reports, etc. and let us say that the request set runs every 1 hour. What I need is that whenever the custom dashboard is run and already more than 30 minutes have passed during the last request set run, it shall run the request set manually before the custom dashboard is displayed. Is this possible? Can a workflow be used in this situation?
    Thanks.

    I think your DBA is correct in saying that oracle do take care of data corruption in case of any system failure.
    In case of concurrent progmram their is a filed you need to tick, something "Restart in case of system failure" so that oracle take care of any such issue., you can check the parameter.
    In case of request set i think if sequencing and all is taken care in good way then i think you should not fall in this situation. Request wizard is good tool to define request sets.
    Thanks,
    JD

Maybe you are looking for

  • Problem with BAPI_PO_CREATE1

    Hi experts, I am getting an error stating no SD data maintained for the material. But I am not getting the error while creating the PO manually using ME21N. CAn anyone of you help me with this? Regards Navin

  • Dvd drive can't read DVD's

    hi all, My problem is the dvd drive in my laptop. It will not read dvd's commercial or burnt variety, curiously it reads cd's just fine. So far email tech support has been useless. I wrote them explaining what steps I had tried to fix the problem suc

  • Windows Firewall issue, Inbound rule opend all, still not the same as turning off

    This is Windows Firewall issue on Windows 8.1 Pro.  Backup Exec server cannot expand a computer node in selection list. I drill down to Microsoft Windows Network/Domain/Computers, then when I tried to expand a Windows 8.1 Pro computer node, it hangs

  • Migrate tables and data from ODBC datasource to Oracle 11.2

    Hiya I have a database file in Dynamics NAV 5.0 native format - about 200-300 tables totalling maybe 10 GB worth of data. My task is to migrate those tables with their data into a schema in our Oracle 11.2 database. No tools support the NAV format di

  • Ic-webclient  5.0

    How to Configured Document search per the business requirements Thanks