Input param

Hello,
In a cfreport, I pass a parameter and then I post it in the
report. That functions very well on a server, but not on an another
server. The servers have the same version of Coldfusion. It is
about Coldfusion MX 7.
Thank you

Hi,
Have you create your parameter layout Or you use the report default parameter layout? If you have your own layout, then you have to call your defined parameter over there. Else just blank all item on your own layout and use the default.

Similar Messages

  • Null stored proc input param?

    hello
    how do you specify input param for a stored proc defaults to NULL?Is there such thing in pl\sql?
    thanks

    Perhaps you mean something like:
    create or replace procedure my_proc
    (p_my_parameter in varchar2 default null)
    as
    begin
       if p_my_parameter is not null
       then
          some_code;
      else
          some_other_code;
       end if;
    end my proc;(but it's a bit 'funky' way of reasoning ;-) , I would take a different kind of logic... )
    One other possible reason: you want to add the parameter to an existing proc, but keep dependent objects independent from the new parameter so you don't need to adjust them?

  • Crystal Report with text(csv) data file, can we set it as input param? C#

    Hi,
    I am new to the forums and posted a question which belonged to the .net - SAP Crystal reports group.
    Can someone help me with my problem? following is the thread that I have started.
    Crystal Report with text(csv) data file, can we set it as input parameter?
    Thank you in advance.

    Looking at the original thread, you are connecting to the text file via the DAO database engine:
    "I added the text file as follow, new connection -> Access/Excell (DAO) -> select the file and the database type as text"
    Thus I would use the same code for changing the text file as for changing an Access database. See Kbase [1218178 - Error: "Logon failed" when connecting to Access database in .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333133373338%7D.do] for more information. If that does not work, you may want to consider connecting via ODBC or feeding the data from the text file to and ADO .NET dataset and pointing the report at the dataset.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to send nested object collection to PL/SQL Procedure as an Input param

    How to send nested object collection to PL/SQL Procedure as an Input parameter.
    The scenario is there is a parent mapping object containing a collection(java.sql.Array) of child objects.
    I need to send the parent object collection to PL/SQL procedure as a input parameter.
    public class parent{
    String attr1;
    String attr2;
    Child[] attr3;
    public class Child{
    String attr1;
    SubChild[] attr2;
    public class SubChild{
    String attr1;
    Urgent!!!
    Edited by: javiost on Apr 30, 2008 2:09 AM

    javiost wrote:
    How to send nested object collection to PL/SQL Procedure as an Input parameter.There are a few ways to do this, all of which likely depend on the particular database you're using.
    Urgent!!!Not to me...

  • Setting input param of a taskflow

    This is our scenario:
    I have an af:table that shows some records.
    The last column of the table contains some button. One of those buttons is the "edit" buttons. When the user clicks that button, a popup is shown with the details of the record.
    I need to pass the ID of the selected record in order to set the correct values in the inputfields of the popup.
    We are not using ADF BC so unfortunatly i can not use that...
    The popup contains of a taskflow that contains the form for editing the record. That taskflow can accept an input parameter.
    How can i achieve that when i click the edit button of a record, the popup show the correct data according to the button i clicked.
    here's the basics of my code:
    <af:table ....>
      <af:column id="cActions">
          <af:commandButton id="cmdEdit" text="Edit"/>
      </af:column>
    </af:table>
    <af:popup id="popEdit">
      <af:dialog id="dlgEdit" title="Edit">
         <af:region value="#{bindings.UserDetailTF2.regionModel}" id="r2"/>
      </af:dialog>
    </af:popup>Any guidance on this...

    Hi,
    For the simplest implementation you can follow this.
    1. Add the id column in table and set render = false for it. [you dont need this if your table binding has id column selected in it]
    2. Drop an af:setActionListner and set the values like From #{row.<id_column>} To #{pageFlowScope.id}
    3. Set the refresh = ifNeeded for the TaskFlow binding
    4. Use showPopupBehavior to launch popup.
    Amit

  • BPEL - Provide Input to dbadapter proc that has plsql record as input param

    Hi,
    I have a bpel process where i have defined a DB adapter to execute a db pkg/procedure. the procedure takes a plsql record as a input parameter (as detailed below)
    ie Package has the following defined -
    TYPE rec_in_params IS RECORD(
    p_param_name VARCHAR2(30),
    p_param_value VARCHAR2(30)
    TYPE t_params IS TABLE OF rec_in_params
    INDEX BY BINARY_INTEGER;
    and the procedure has a IN variable of type t_params
    so Procedure param_proc(p_params IN t_params).......
    Question - In the BPEL process, how do i iteratively populate the input variable with the name/value pairs (in the assign activity) before invoking the db adapter ?
    Thanks.

    Use a while loop, in that loop, write your business logic ...actually created a tempVariable of the input record type for the stored procedure...in the while loop you need to write the logic in such a way that you need to assign the first record to the tempVariable, then append this tempVariable data to the invokeInputVariable. so the record gets appended to the last place if there are already some records in the invokeInputVariable or will be in the first place if there are no records. Iterate the while loop based on how many records you want to assign let's say 5. In while loop, in order to access the correct record, you need to do indexing in the XPATH and assign the same to the tempVariable. So first while loop, 1st record gets assigned, then that record in tempVariable gets appended to the invokeInputVariable. This procedure continues for n iterations. After this while loop, invoke the stored procedure...
    Hope this helps...
    Thanks,
    N

  • Function-accept any datatype as an input param,return the result in cursor

    I am trying to create a function which will accept any datatype as an input parameter and return the result in cursor.
    Any thoughts?
    I searched the web and came to know that there is a type called "ANYDATA" in Oracle 10g which will allow to accept any datatype variable.
    But we are using oracle 8i.

    I believe you are looking for an implementation of "generic functions" (Java) or "templates" (C++) in PL/SQL. I believe there is no such language feature.
    Perhaps the best solution would be to convert the incoming data into a common type, and then call a common function from each of the overloaded functions.
    realWork (int n) { [work]; return result; }
    myFunction (varchar2 v) { n = to_number(v); return realWork(n); }
    myFunction (char c) { n = to_number(c); return realWork(n); }
    myFunction (date d) { n = to_char(to_number(d)); return realWork(n); }
    etc. ?

  • DAO in Websphere calling Oracle SP with array input params

    Hi,
    We have a complex Oracle stored procedure which gets called by the DAO in Websphere 5.1.
    The stored procedure takes couple of input array.
    Code snippet -
    CallableStatement cstmt = con.prepareCall("{call pkg_name.ap_name( ?,?,?,?,?,?,?,?,? )}");
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("STRING_VARRAY", con);
    ARRAY arr1 = new ARRAY(desc, con, strArray);
    cstmt.setArray(1, arr1);
    I get this exception when trying to create Oracle array desciptor -
    java.lang.ClassCastException: com/ibm/ws/rsadapter/jdbc/WSJdbcConnection incompatible with oracle/jdbc/OracleConnection
    How can I get a OracleJdbcConnection object from WSJdbcConnection?
    Is there any way to do this using the WS Jdbc classes?
    Is there any other way to pass an array to a callable statement?
    TIA.
    - vineet

    Hi,
    We have a complex Oracle stored procedure which gets
    called by the DAO in Websphere 5.1.
    The stored procedure takes couple of input array.
    Code snippet -
    CallableStatement cstmt = con.prepareCall("{call
    pkg_name.ap_name( ?,?,?,?,?,?,?,?,? )}");
    ArrayDescriptor desc =
    ArrayDescriptor.createDescriptor("STRING_VARRAY",
    con);
    ARRAY arr1 = new ARRAY(desc, con, strArray);
    cstmt.setArray(1, arr1);
    I get this exception when trying to create Oracle
    array desciptor -
    java.lang.ClassCastException:
    com/ibm/ws/rsadapter/jdbc/WSJdbcConnection
    incompatible with oracle/jdbc/OracleConnection
    How can I get a OracleJdbcConnection object from
    WSJdbcConnection?
    Is there any way to do this using the WS Jdbc
    classes?
    Is there any other way to pass an array to a callable
    statement?
    TIA.
    - vineetI am experiencing the same ClassCastException when creating an ArrayDescriptor. It occurs on execution the following line of code:-
    oracle.sql.ArrayDescriptorarrayDesc = oracle.sql.ArrayDescriptor.createDescriptor(schema + "." + table, conn);
    Java Context: Stateless EJB
    J2EE Version: 1.3
    JRE Version: 1.4.2
    EJB Version: 2.0
    J2EE Container: WebSphere v5.1.1.2, build number cf20446.02
    Container transaction type: Required (for all remote methods)
    Oracle Impl class: oracle.jdbc.xa.client.OracleXADataSource
    Oracle driver file: classes12.zip
    Oracle Version: 8.1.7.4
    Is there a solution to this issue?

  • Displaying alert message based on user input on input param screen

    Hi,
    Based on user input I wish to display an alert popup on my report. I
    have provided the user 2 dropdowns called sortasc and sortdesc with all
    the column names used in the report to simulate dynamic sorting.This is
    because we do not have dynamic sorting in CR XI R2. When the user
    selects same column name in both sortasc and sortdesc then the sort
    type which has priority in the record sort expert is executed. This is fine but we want an alert
    or message popup displayed so as to prevent user from selecting same
    column names.
    I tried adding an alert with the following code:
    if {?sortasc} = {?sortdesc} then true else false
    So far I have not been prompted with any alert message box.
    Let me know if there is any other option.

    Hi Shalu,
    I have created a alert and it is working fine, please follow the steps
    Create a new Alert using two static parameters and give the condition for message like :
    if {?Myworld} = {?Myworld1} Then
    'You have entered a correct word'
    else
    'This is not a correct word'
    Then create a condition like :
    {?Myworld} = {?Myworld1} or {?Myworld} <> {?Myworld1}
    Also check the check box Enabled and save the alert.  Now it will popup if the myworld is equal to myworld1 or myworld is not equal to myworld1.
    Hope this will help you
    Thanks,
    Sastry

  • Evaluate the input param

    Hi.,
    I had created a master detail relationship between two table fin and appl_accts
    I had created a post button
    While the user clicks the button
    It must check the year attribute in fin and to the corresponding year attribute an update should occur in the attribute of the table appl_accts.,
    How can i perform this operation
    anyone could pls help me
    Edited by: Kristo on Sep 20, 2011 11:40 PM

    Well, master detail relationships are described here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcquerying.htm#insertedID6
    A service method is a method you implement in the VO to do some special stuff which can't be done with out of the box methods. The general way to implement this is documented here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvvo.htm#insertedID3
    You have to write the method to update all childes (which you get through the special viewlink), expose this method in the client interface. This will make the method visible in the UI in the DataControl.
    Now you can bind the method to a button, or if the button already has a listener attached call teh method from there.
    Timo

  • Crystal Report with text(csv) data file, can we set it as input parameter?

    Hi,
    I am a new user of Crystal Reports 2008.
    I have created a report with charts in it. The input data comes from a csv text file.
    Can I set the name of this text file as an input parameter?
    as I need to generate 44 similar reports with different text filenames(and data)?
    Thank you.
    Regards

    Brian,
    Thanks much.
    I did exactly what you said.
    Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
    but I got an error saying report not found.
    Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
    Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
    It ended up generating the report.
    Now here is what I think is happening,
    1) The save data in report option seems to be still on even though I have turned it off in 2 locations
    a) file -> Report Options
    b) file -> Options -> Reporting tab.
    2) For some reason the logoninfo is getting ignored as well.
    Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
    Crystal Report with text(csv) data file, can we set it as input param? C#
    and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
    But the link he gave me tells me to try the same thing that we have been trying..
    Here is my plan,
    1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
    2) why is LogonInfo getting ignored.
    Meanwhile any suggestions from anyone are welcome.

  • OWB | Passing input to mapping in the process flow

    Hi,
    I have a process flow which calls a stored procedure which returns 2 values.
    I want to use the values returned from this procedure as an input in my mapping. My mapping has Mapping_Input_Parameters definined for these two inputs.
    These values are going to be load_date and the batch it belongs.
    I have created new params in the process flow edit under the mapping. The process flow executes successfully if I give the input params as a constant. When I do a binding with the out variable of the stored procedure I get a deployment error as "Internal error: OUT_D_LOAD_DATE cannot be converted to a constant value. Please correct the value. If the problem persists then please contact Oracle Support with the stack trace and details on how to reproduce it."
    Please let me know how to resolve this and if there is way to get the load_date in the mapping without actually having to call the procedure in the mapping. The load_date will change everyday and I need to read it from a table.
    Thanks!

    Hi
    If you have resolved the error please guide me also Since I am also facing the same error. (RPE-02040: Internal error: MYRAND cannot be converted to a constant value. Please correct the value. )
    I am using 10gR2, Here my test process flow is
    Start - > MyRand -> FindOddEven->end
    Here MyRand function will return a value, the function findOddEven will just do a mod of 2 and return 1 for odd numbers and 0 for even numbers. When I bind the OUT parameter of the MyRand to the IN parameter of the FindOddEven it is throwing the same error.
    Thanks in advance

  • Multiple parameters with pipeline input?

    Hello,
    The answer to this may just be that this is not a case for using pipeline input.. 
    I have a function that takes two parameters, one is an object (the result of a third party web services call) and the second parameter is a string. To simply explain what the function does you can think of the object parameter like a table definition and
    the string parameter like the name of one of the fields... you supply the table and a fieldname and the function returns the 'ID' of that fieldname... I have this written as a normal function right now but I'm wondering if it's possible to change it to accept
    pipeline input... the other function I've designed as 'advanced functions' that take pipeline input typically only have one parameter.
    how would I do this with my case? two params, one an object and one a simple type (string)?
    1. I know I *could* make it take one object input param, and bundle that web service returned object and the other string value into a custom object and do property name binding... however that feels to me like forcing something that should not be.. I think
    I would put that in the 'not a case for pipeline input' bucket... but I'm unsure.
    2. how could I pass these two parameters pipeline style, without doing the one custom input object approach?
    I can see it for one set of them, like:
    $objectParam, $stringParam | MyFunction
    but how would I specify multiple sets of those two params?
    $objectParam1, $stringParam1, $objectParam2, $stringParam2 | MyFunction
    each iteration within the PROCESS block would work on a pair of params at a time...
    maybe I'm just thinking about this all wrong... which is why I'm posting.. maybe this just is not where I should be doing pipeline input?
    any input would be appreciated, thanks

    Hi DJC,
    I’m writing to just check in to see if the suggestions were
    helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
    If you have any
    feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Stored Procedure Call with only Input Parameter

    Hi, The Example at Oracle Toplink Developer's Guide, Volume 5 uses an output param named IS_VALID. How Can I Call a Stored Procedure that has only Input Param ? If I don't use an Ouput Param Toplink throw the following Exception:
    *Excepción [TOPLINK-4002]* (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException Excepción Interna: java.sql.SQLException: ORA-00900: invalid SQL statement
    Here's the Sample Code Depicted at the Guide:*
    Example 98–48 Stored Procedure Call with an Output Parameter
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("CHECK_VALID_POSTAL_CODE");
    call.addNamedArgument("POSTAL_CODE");
    call.addNamedOutputArgument(
    "IS_VALID", // procedure parameter name
    "IS_VALID", // out argument field name
    Integer.class // Java type corresponding to type returned by procedure
    ValueReadQuery query = new ValueReadQuery();
    query.setCall(call);
    query.addArgument("POSTAL_CODE");
    Vector parameters = new Vector();
    parameters.addElement("L5J1H5");
    Number isValid = (Number) session.executeQuery(query,parameters);
    Here's my code
    StoredProcedureCall call = new StoredProcedureCall();
         call.setProcedureName("MYSTOREDPROCEDURE");
         call.addNamedArgument("INPUTPARAM1");
         call.addNamedArgument("INPUTPARAM2");
         call.addNamedArgument("INPUTPARAM3");
         call.addNamedArgument("INPUTPARAM4");
         call.addNamedArgument("INPUTPARAM5");
         call.addNamedArgument("INPUTPARAM6");
         ValueReadQuery query = new ValueReadQuery();
         query.setCall(call);
         query.addArgument("INPUTPARAM1");
         query.addArgument("INPUTPARAM2");
         query.addArgument("INPUTPARAM3");
         query.addArgument("INPUTPARAM4");
         query.addArgument("INPUTPARAM5");
         query.addArgument("INPUTPARAM6");
    Vector parameters = new Vector();
         parameters.addElement("INPUTVALUE1");
         parameters.addElement("INPUTVALUE2");
         parameters.addElement("INPUTVALUE3");
         parameters.addElement("INPUTVALUE4");
         parameters.addElement("INPUTVALUE5");
         parameters.addElement("INPUTVALUE6");
         uow.executeQuery(query,parameters);
    Regards,
    Manuel

    You need to use a DataModifyQuery as your query does not return anything.
    James : http://www.eclipselink.org

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

Maybe you are looking for

  • Adobe PDF not printing yosemite

    Just added new Officejet 5740 to home network, everything works except won't print Adobe PDF documents. Ok with Preview, .docx etc.  Running 10.10.1 on iMac.  Prints blank pages.  I have run into this in the past with my office HP Laser printer, but

  • How can I transfer fonts to mavericks

    Hello, I would like copy the fonts from my other mac on a new macbook with mavericks system, I don´t know where I have to copy the folder with my old fonts: a) In Library / Fonts b) Computer/ Macintosh hd / Library / Fonts c) Both of them Thank you v

  • How do I restore being able to reset PRAM using keyboard "CMD+Option+p+r"...?"

    I have resinsalled OS 10.5.8 in a new 1 TB boot drive with 8.5 GB of DRAM in my G5 Dual Core PowerPC.   System seems to be operating normally but at least a dozen of the previously used applications including Apple's iWork 9 quit immediately on openi

  • Copying an entire software instrument track from one project to another

    Hello, Is it possible to copy or import one entire software instrument track from one GB 3.0.2 project to another? At the moment I've got to copy a region from one project, open another project, paste it in the 2nd project, and open the other one aga

  • Why am I only receiving texts to my email?

    I am only receiving texts to my email and I can't figure out why. I'm pretty sure it has something to do with iCloud.