Form parameters

Hi,
I am a new user to dev2000, i am struck at passing parameters to the reports, i have used lexical referrences, to the where clause, in the query that i have written in reports builder. It created a user_parameter of that where_clause. now i am trying to pass this parameter, from the form to generate a report btw'n dates. please sugest me if there is any other way, or correct me if i am on the right path, here is the code that i am calling from the form.
DECLARE
pl_id ParamList;
--repid REPORT_OBJECT;
--v_rep VARCHAR2(100);
BEGIN
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id, 'WHERE_CLAUSE', TEXT_PARAMETER, 'WHERE SYS_DATE = ''18-JUL-01''');
--repid := find_report_object('report34');
--v_rep := RUN_REPORT_OBJECT(repid);
Run_Product(REPORTS, 'REPORT34', ASYNCHRONOUS, BATCH,
FILESYSTEM, pl_id,NULL);
END ;
I am gettting an error saying FRM-41211: Integration error:ssl failure running another product.
this error is comming when i try to access for the first time, and
Starting report REPORT34 [Tue Jul 24 16:35:14 2001] ...
REP-0110: Unable to open file 'REPORT34'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file 'REPORT34'.
End report REPORT34 [Tue Jul 24 16:35:20 2001].
this for the next time, with out closing runtime env.
null

Hello Fabio Sicari,
First of all i would like to thank you for replying my query, but as you said i have done the same thing with the query i used in the reports. Any way here is code i have used in the reports.
SELECT ALL OSSCOU.SYS_DATE, OSSCOU.SYS_TIME, OSSCOU.COURIER_REQUEST_NBR,
OSSCOU.REQUESTORS_NAME, OSSCOU.REQUESTORS_DEPT#, OSSCOU.USER_NAME
FROM OSSCOU &WHERE_CLAUSE
but still i am unable to access the reports.
I would really Appreciate you help.
thank you,
murali
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Fabio Sicari ([email protected]):
Your code seems to be ok but u must check how the report receive this parameter.
For example in the report query u may use
"Select...
From
Where &where"
Hope it's userful for u
Bye
<HR></BLOCKQUOTE>
null

Similar Messages

  • How to specify the type of table in the form parameters

    How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
    FORM getcertainday
                       USING
                       vacancies TYPE STANDARD TABLE
                       efirstday LIKE hrp9200-zfirst_day
                       lfristday LIKE hrp9200-zfirst_day.

    Hi
    Are you asking about subroutine program to declare a variable for perform statement etc
    if it so check this coding
    DATA: NUM1 TYPE I,
    NUM2 TYPE I,
    SUM TYPE I.
    NUM1 = 2. NUM2 = 4.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    NUM1 = 7. NUM2 = 11.
    PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
    FORM ADDIT
           USING ADD_NUM1
                 ADD_NUM2
           CHANGING ADD_SUM.
      ADD_SUM = ADD_NUM1 + ADD_NUM2.
      PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
    ENDFORM.
    FORM OUT
           USING OUT_NUM1
                 OUT_NUM2
                 OUT_SUM.
      WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
    ENDFORM.
    If your issue is some other can u explain me clearly
    Regards
    Pavan

  • Where to add code to populate form parameters in forms 6i?

    Hi everyone!!
    I have the following scenario:
    I have a form that has a button that takes the user to a new window which too contains a button to take the user to the third window. In the third window i have two t lists that show the database values for the selection that user has made (say selecting from and to destinations). Now i invoke two different windows using two buttons in the third window that contain shuttles and the user makes his selection there using the four shuttle buttons.
    In the when button pressed trigger of the buttons that show the shuttle windows, i create record groups and populate the shuttles with the selected and available destinations on the right and left sides of shuttle respectively. Now when the user first comes to the form the shuttles display the selected and available destinations on its two sides correctly, but if the user makes some more selections, closes the shuttle windows and again goes to the shuttle windows, his selection's gone as i have the code to populate the shuttles on when button pressed.
    to get rid of it i'm thinking of adding form parameters that'll contain 1 if the user has navigated to the shuttle windows and 2 if he hasent navigated yet or in other words after opening the form he's yet to use shuttles. now i plan to use the parameters to handle the population of the shuttles. if the parameter value is 2 only then i'll use the code that populates the shuttles using record groups.
    Now my question's where should i initialize the parameters i.e. in which trigger. How about WHEN-NEW-FORM-INSTANCE?
    Will appreciate your thoughts on it.
    Thanks,
    Abhishek.

    Neways if at all i need to achieve (just for curiosity) the same thing which trigger should i put the code for the same?

  • Syntax error in form parameters

    HI,
    In ECC 6.0, LIKE is obsolete , so I want to change it to TYPE. I replaced all LIKE to TYPE. In my code I call a form subroutine and in the changing parameter i have two internal tables passed. Earlier the statement was
    PERFORM zz_routine USING I_VBAK
                                    CHANGING T_VBUK[]
                                                      T_VBAP[].
    where I_VBAK TYPE  VBAK and
    T_VBUK     TYPE STANDARD TABLE OF VBUKVB.
    T_VBAP     TYPE STANDARD TABLE OF VBAPVB.
    Now in the recieving paramters how do I mention these using TYPE
    I did as follows
    Form zz_routine USING value(ss_vbak) TYPE VBAK
         CHANGING xt_vbuk TYPE STAnDARD TABLE OF VBUKVB
               xt_vbap TYPE STAnDARD TABLE OF VBAPVB
    Now, I get the syntax error
    "OF" has already been declared.
    What does that mean ? what is the correct way to say that I need to receive a table type data in the form ?
    thnks

    Declare a Table Type which you can use to reference in your Form Parameters.
    Like:
    types: ty_t_vbap type standard table of VBAPVB.
    data: t_vbap type ty_t_vbap.
    PERFORM zz_routine using ia_vbak
    changing t_vbap.
    Form zz_routine USING value(ss_vbak) TYPE VBAK
    CHANGING xt_vbap type ty_t_vbap.
    ENDFORM.
    Regards,
    Naimesh Patel

  • Cannot Create Association Form Parameters on Workflow

    I am creating a Reusable workflow. When I click on "Initiation Form Parameters" and then click on "Add" I do not have any options besides field name and information Type. Everything is created as an initiation form. See pictures below.
    The first picture is what I do See. The second is what I should see. Is this a feature that I do not have in SharePoint 2010 Foundation or is something wrong?

    Hi Michael,
    According to your description, my understanding is that the drop down list "Collect from parameter during:" was missing when you created an Initiation form parameter with SharePoint Designer in SharePoint 2010 Foundation.
    I could reproduce your issue when I created a reusable workflow and added an Initiation form parameter with SharePoint Designer in my SharePoint 2010 Foundation.
    It seems that we only can create Initiation form parameters with SharePoint Designer UI in SharePoint Foundation by design.
    You can try to specify a workflow's association form in the workflow template definition XML.
    More information:
    https://msdn.microsoft.com/en-us/library/ms481192.aspx
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Passing form parameters

    i want to pass form parameters to a servlet for processing i.e. i have a username and password here is my form code. does the action clause have to append the username and password or does it do it automatically?
    <form name="form1" method="post" action="<%= response.encodeURL("/bookstore/controller?action=login&username=username&password=password") %>">
          <p>Username:</p>
            <input type="text" name="username">
          <p>Password:</p>
            <p>
              <input type="text" name="password">
            </p>
            <p>
              <input type="submit" name="Submit" value="Submit">
            </p>
          </form>

    The form does it automatically.
    Your action only has to be "/bookstore/controller?action=login"

  • Reg:form parameters while creating functions

    Dear team,
    While creating functions in Application developer responsiibility what are the form parameters.
    for our custom application form parameters column in form tab while creating functions is
    x_object=AppsServlet&x_source=menu&x_menuFunction=displayHomePage
    are given
    what is x_menufunction.
    Pls explain
    Regrds,
    Radha

    Radha,
    Are you creating the function for OAF pages? In that case leave blank the form and form oarameters field.
    Anoop

  • Passing form parameters to another form in another frame

    I want to have a frameset with the form entries in the top frame and the submit button in the bottom frame. I think the weay to do it is to use javascript to copy the top form parameters over to hidden variables in the bottom form (the one with the submit button). Can someone help me with the javascript (or general approach)
    I'm tryuing something like the following: The javescript has errors, though...
    <!-- iframe.jsp -->
    <frameset rows="*,100">
    <frame name="frame1" src="frame1.jsp">
    <frame name="frame2" src="frame2.jsp">
    </frameset>
    <!-- frame1.jsp -->
    <form name="form1" method="post">
    <input type="text" name="param1"><br>
    <input type="text" name="param2">
    </form>
    <!-- frame2.jsp -->
    <html>
    <HEAD>
    <ScRiPt>
    function getValues()
    document.frame1.form[mainform].param2 = document.frame1.form[form1].param1;
    document.frame2.form[mainform].param2 = document.frame1.form[form1].param2;
    </SCRIPT>
    </HEAD>
    <body>
    <form method=post name="mainform" onsubmit="getValues()" action="process.jsp" target="_parent">
    <input type="hidden" name="param1">
    <input type="hidden" name="param2">
    <input type=submit name=submit value=submit>
    </form>
    </body>
    </html>
    <!-- process.jsp -->
    param1 = <%=request.getParameter("param1")%><br>
    param2 = <%=request.getParameter("param2")%><br><br>
    click here to go back

    I figured it out. The following worked.
    ifram.jsp and process.jsp unchanged...
    <!-- frame1.jsp -->
    <form name="form1" method="post" action="process.jsp" target="_parent">
    <input type="text" name="param1"><br>
    <input type="text" name="param2">
    </form>
    <!-- frame2.jsp -->
    <html>
    <HEAD>
    <ScRiPt>
    function frame2()
    parent.frames.frame1.document.form1.submit();
    </SCRIPT>
    </HEAD>
    <body>
    <form method=post name="mainform" >
    <input type=submit name=submit value=submit onclick="frame2()">
    </form>
    </body>
    </html>

  • Passing FORM parameters when opening form from a JSP

    Hi,
    is it possible to pass form parameters when opening the form from a JSP as a URL. If yes then what should be the way in which parameters has to be passed.
    thanks.

    Hi,
    Sorry there was some confusion.
    I want to pass parameters to a (D2K) form from a JSP. I'm able to open the D2K form but unable to pass the parameters into that form.
    Is it possible to pass parameters to D2k FORM from a JSP...
    Thanks

  • Dynamically finding form parameters

    Hi all,
    I am using Forms 6i.
    I want to give my users the ability to 'bookmark' any form they are currently in enabling them to return to that form later displaying that data by selecting that bookmark (very much like a web browser's bookmarks.)
    To do this I need to be able to dynamically find out what form parameters are in any form. Whilst I can use GET_FORM_PROPERTY(FIRST_BLOCK) etc to find out what blocks and items are in a form, I cannot see any way of finding out what parameters it contains and what values they hold.
    Can anyone help me out with this?
    Thank you,
    David.

    Maybe you could convert the forms to .fmt's and parse them? I bet that'd be a mess.
    To expand on my previous suggestion, when you build your parameter list in FormA to call FormB, use a library proc that (1) adds the parameter and value to the param list, and (2) writes the userid, session id, form name (FormB), param name and value to a table. Then, when a user is running FormB and decides to bookmark it, query the table by userid, session id, and form name for the parameters that were used when it was called.
    I know that isn't as neat as what you're looking for, but could it work for you?

  • PDF reports and forms11g, Weblogic, call report from form, parameters

    Hi All.
    I had difficulty to put to work reports 11g on pdf format. this is how I solve it.
    I hope help any of you and also anyoe can correct me if Im wrong.
    1. I have installed an configured the weblogic server 10.3.3, also Forms, Reports, Portal, Discoverer 11.1.1.3.0 and database 11.2
    2. I re-compiled my forms and reports 10gR2 on 11g, also the pll libraries.
    3. This is how I call the report from my form, I add parameters to a parameter list called PL then invoke the rp2rro prucedure that is located at rp2rrp.pl library:
    PL := create_parameter_list(TDATA);
    add_parameter(PL,'PARAMFORM',TEXT_PARAMETER,'NO');
    add_parameter(PL,'ORIENTATION',TEXT_PARAMETER,'PORTRAIT');
    add_parameter(PL,'EMPRESA',TEXT_PARAMETER,:GLOBAL.COMPANY);
    add_parameter(PL,'NB_EMPRESA',TEXT_PARAMETER,:GLOBAL.COMPANYNAME);
    add_parameter(PL,'DESFORMAT',TEXT_PARAMETER,:CG$CTRL.DESFORMAT);
    rp2rro.SETREPORTSSERVER(:GLOBAL.REPORTSERVER);
    add_parameter(PL,'SESION',TEXT_PARAMETER,TO_CHAR(SESION));
    Add_Parameter(pl, 'DESTYPE', TEXT_PARAMETER, 'SCREEN');
    rp2rro.rp2rro_run_product(REPORTS, :CG$CTRL.REPORT_TYPE, SYNCHRONOUS, RUNTIME, FILESYSTEM, PL, NULL);
    destroy_parameter_list(PL);
    4. when pr2rro gets the parameter list (PL) did not find the Desformat parameter that I sent from the form. so I edit the pr2rro.pll library. this is the zone of the code edited:
    (just added the number var "Desfn" that the get_parameter_attr() will need above.
    PACKAGE BODY rp2rro IS
         /* Package variables */
    rp2rroDesformat varchar2(30);
         rp2rroDesname varchar2(200);
         rp2rroDestype varchar2(30);
         rp2rroReportOther varchar2(2000):='';
    rp2rroComm_mode number := Synchronous;     
         rp2rroReportServer varchar2(100);
         rp2rroVirtualDir          varchar2(100);
    rp2rroReportsInterface varchar2(30);
    /* this line by ingenio*/
         Desfn                    number;     
    5. a couple of lines above, you can find this:
    (here I added get_parameter_attr(mparamlist_id,'DESFORMAT',Desfn,rp2rroDesformat); to asign the value of the parameter called Desformat to the rp2rroDesformat var)
    PROCEDURE rp2rro_run_product(product NUMBER,reportFile VARCHAR2,commMode NUMBER,engine NUMBER,fileLocation NUMBER,mparamlist_id ParamList,display VARCHAR2) IS
    BEGIN
         /* Handle only calls to Reports */
         /* this line by ingenio*/      
    get_parameter_attr(mparamlist_id,'DESFORMAT',Desfn,rp2rroDesformat);           
              IF product = REPORTS THEN     
              Handle_rp2rro_run_product(product, reportFile,commMode,engine,fileLocation,mparamlist_id);
              END IF;
    END;
    Its now working fine with PDF, RTF, HTML, Delimited formats, Not with EXCEL(spreadsheet) Im working in that.
    I accept any help.
    Thanlks
    Edited by: Ingenio on Nov 29, 2011 2:44 PM

    I solved my problem editing the rp2rro.pll library,I debugged the library and I found the format sent by forms was missing, so I catch it and set it directly:
    GET_PARAMETER_ATTR(mparamlist_id, 'DESFORMAT',vnumb,vvalue);
                   setDesformat (vvalue);

  • Generate PDF file using form parameters

    how to generate output file like PDF while parameters pass thru form builder. i dont want output on screen.
    i just want to pass parameters thru form builder and report builder will automatically generate output file like PDF onto my hard drive.

    Dear all,am new to oracle report and oracle forms and i know the
    basics how to generate the report and to create the form, Now my doubt is, like generating report
    from oracle report how to generate the report from oracle from,should i add any command button? and where
    to add the coding and what coding ? when i click that command button the report should be generated like oracle
    report,what should i do?Please help me to learn.
    my table name is 'student' and it has the following columns,
    sid,sname,grade,result.
    Am using oracle from 10.1.2.0.2 version and
    oracle report version is 10.1.2.0.2.
    Please give step by step procss.
    Thank you.

  • Passing on form parameters

    considering this jsp code that processes a form redirect
                java.util.Enumeration params = request.getParameterNames();
                    String parameters="";
                while (params.hasMoreElements())
              // Get the next parameter name.
                  String paramName = (String) params.nextElement();
                   // Use getParameterValues in case there are multiple values.
                  String paramValues[] =request.getParameterValues(paramName);
                   String roomNo="";
                   if (paramName.indexOf("room_no")>-1){   
                        roomNo=paramValues[0];
                   // If there is only one value, print it out.
                                  //session.setAttribute(paramName, paramValues[0]);
                   if (paramName.indexOf(roomNo)>-1){
                     out.println(paramName+"="+paramValues[0]+"<br>");
              }What is the best/efficient way to pass these parameters to my method
    e.g
    public volid useparameter(String roomname, String roomvalue){
    //I need it here to insert in my database
    Any samples codes will really help
    Thanks in advance.

    Troll???
    So you have a string reprsenting name and a string representing value and you want to pass into a method that takes 2 strings?? Are you serious?
    What about useParameter(paramName, paramValue[0]);Ted.

  • Meaning of % in Form/parameters names

    Hi.
    I've seen the string "%_" in the names of Forms and parameters.
    For example there is an SAP standard program "EXAMPLE_PNP_GET_PAYROLL" and during Debug in the
    GET pernr
      logic db the Form name spells "%_GET_PERNR" and there is no such Form in the program.
    Does it have any special meaning in SAP?
    thanx
    ayal.

    Hi,
    There wont such form.
    % is wildcard and the formname will be generated dynamically.
    Check it while debugging. You may get the correct from name.
    Hope it helps
    Regards,
    Shashank

  • Where does firefox cache the form parameters to be used in the reload event of a page that was the resposne of a HTTP POST request?

    Suppose there is form in a web page and it submits data in HTTP POST method. After submitting the form, if I reload the page [either by the refresh button or back button; whichever applicable], firefox asks permission to resend the form data by saying "To display this page, Firefox must send information that will repeat any action...". Now if the user clicks on the resend, firefox resubmits the form data.
    So where does firefox store this from data for such future resending/resubmission?
    Is it possible to retrieve/manipulate those stored form data?

    I thought I'd tried that, as tried lots of other things like encoding URL, but obviously not as this works.
    Thanks for the quick reply.
    We also have an issue with the people results not being able to be refined by Department or Job Title now we have connected the SP2010 farm to use the service applications from a SP2013 farm.
    Any ideas on this?  I've started a new thread as its unrelated though:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c89d5463-4531-4a28-9586-1f690c7b580d/can-you-refine-people-search-results-using-a-sharepoint-2013-search-service-application-connected-in?forum=sharepointsearch

Maybe you are looking for