The types of the parameter field and parameter field current values are not compatible.----

HI,
I am attempting to set report parameters in my .jsp code via URL parameters.
I am able to set the report name, server connection dynamically however when attempting to set the Parameters I receive:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: The types of the parameter field and parameter field current values are not compatible.---- Error code:-2147213303 Error code name:invalidParameterField
The parameter on the report is a String Type, named for this example p1.
The value that p1 represents is LERAD
My code:
String stringValue = request.getParameter("p1");
CRJavaHelper.addDiscreteParameterValue( clientDoc, "","p1", stringvalue);
returns the above mentioned error.
I have tried:
String stringValue = (String)request.getParameter("p1");
which returns the above error
And;
String stringValue = new String(request.getParameter("p1")).toString();
which returns
java.lang.NullPointerException
java.lang.String.<init>(Unknown Source)
org.apache.jsp.callReport_jsp._jspService(callReport_jsp.java:105)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
I notice that the CRjavaHelper.java declares this addDiscreteParameterValue as accepting an Object type for the newValue.
Any ideas???

Hi,
nevermind.
case sensitivty strikes again.
my URL param was P1 ( case sensitive)

Similar Messages

  • The security module of these banks: "Banco do Brasil", "Santander" and "Caixa Econômica Federal" are not compatibles with firefox 4.0

    the security module of these banks: "Banco do Brasil", "Santander" and "Caixa Econômica Federal" are not compatibles with firefox 4.0

    the security module of these banks: "Banco do Brasil", "Santander" and "Caixa Econômica Federal" are not compatibles with firefox 4.0

  • HT3951 I uploaded the new update on my iphone and now my app purchaes are not on my phone. How can I get them back

    I uploaded the new update fir the Iphone. Now all my apps I have purchased are gone and not showing on my phone. Can someone help..

    Put the device in DFU mode (Google it) and restore.

  • How can apple sell the iPod 4gen in store... But most apps are not compatible with it anymore?!

    I find this disturbing. Apple is still selling the touch 4gen in stores. Yet most apps require the 4s or 5 th Gen . At least take the 4g off shelves. And you expect me to buy a new one every year. When there isn't anything wrong with what I own!? Stop being greedy apple. You are losing customers to android.

    I believe you are confused. The fourth-generation iPod touch is capable of running the most current version of iOS, 6.1.3, and the vast majority of the apps available. And there no "iPod touch 4S". "4S" is an iPhone model designator.
    If you are having a specific problem running apps on your iPod touch, post back with details and someone can probably help you. But your premise as given is false.
    Regards.

  • Cost center plan values and Profit center plan values are not matching

    Hi,
    When user drill down the costcenter plan costs by partner in production system getting difference between P center values for a perticular functional area.
    But this number should match with Cost center and P center functional are values but there under functional are showing lower amunts.
    Pls let me know where exactly i have to check because i am fresher for controlling.
    Please help me out.

    Hi Anil,
    If I understand your requirement then you want to plan both in USD and INR at the same time.
    Say you maintain rate as 1 USD = 50 INR
    Do you want to plan for 100 USD and 480 INR against one combination (Cost Center / Cost Element) and 100 USD and 520 INR against another combination of Cost Center / Cost Element?
    SAP allows you to plan for a Cost Center / Cost Element combination only once. And that you can plan in any currency. Either in CO Area Currency or Object Currency (in this example Cost Center Currency) or in Transaction Currency (any other currency that you may choose). And the other currencies gets derived from the Exchange Rate maintained in the system using OB08 tcode. The exchange rate will be derived using the Planning Version "Exchange Rate Type" and "Value Date" (See Fiscal Year settings for Planning Version).
    So, if you plan in INR it gets translated to USD and vice versa. For planning in different currencies (only one is allowed) you need to change the planning layout to include the Amount Currency field.
    So for a single version say V1 you can plan in INR which gets translated to USD using OB08 exchange tare. Again you can plan in version V2 in USD which will get translated in INR using the same OB08 settings but you need to use a different Exchange Rate Type for V1 & V2.
    I am not sure what the business requirements are. If the requirements are only to display different currencies in a report then that can be achieved by creating a Report Painter report.
    Hope this helps.
    Thanks,

  • How Can I work with Internet Explorer? I have an application that runs in IDOCS and Firefox, Chrome or Safari are not compatible

    I recently update from Leopard to Lion but I see that Internet Explorer is not working because PowerPc is not longer supported...I work for an Engineering Company that uses Idocs as document management and uses Internet Explorer for accessing and linking Docs by Default ,,,Chrome, Firefox and Safary don´t work with Idocs..
    Please advice..

    I believe you would need to install a copy of Windows using Boot Camp and then use IE in that OS.  There is no current OSX compatibility with IE that I know of.

  • Parameter values are not showing in in the Organization Parameter form

    We have done a setup for an Inventory Organization.
    Everything was working fine.
    Values were showing everywhere.
    We have lot of transactions done in the org also.
    But suddenly yesterday when I was trying to open the Organization Parameter form for that specific organization, the form came up as blank and in the bottom the error is Query caused no records.
    I have checked data is there in the base table mtl_parameters.
    Value is coming for other organizations. Only one specific organization is having this issue.
    Even in Examine, I have taken the last query run on that form and ran the same in back end database, I can see all values are there in the database.
    But in frontend screen the values are not showing. even organization code also not showing.
    Navigation is: Inv Super user --> Setup --> Organization --> Parameter

    Have you checked Organization Access to ensure that no one restricted that org?
    Or shipping grants and roles?
    I think there are quite a few places that you can restrict access.

  • The type of the database table and work area (or internal table)...

    Hello
    I am trying to use a database and select all records from it and store them into an internal table.
    My code:
    Select * from xixi_dbcurrency into table gt_currency.
    The error:
    "The type of the database table and work area (or internal table) "GT_CURRENCY" are not Unicode-convertible . . . . . . . . . .     "
    Any suggestions?
    Thank you

    Hi Thomas,
    Thank you for your inputs above.
    But as you suggested is we use INTO CORRESPONDING FIELDS OF TABLE then it resolve the error.
    But I have below piece of code:
    DATA:    it_new_source TYPE STANDARD TABLE OF _ty_s_sc_1,
                  wa_source TYPE _ty_s_sc_1,
                  wa_new_source TYPE _ty_s_sc_1,
                  ls_target_key TYPE t_target_key.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE it_new_source
           FROM /bic/afao06pa100
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    But since this is reading into corresponding fields of table the data load from one DSO to other DOS is running for long more that 15 hours and still not getting completed and giving dump.
    So if I switch the search to below:
    SELECT * FROM /bic/afao06pa100
       INTO TABLE it_new_source
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    Then I am getting below error:E:The type of the database table and work area (or internal table) "IT_NEW_SOURCE" are not Unicode convertible.
    Can you please advice on this, as performance need to improve in start routine code.
    Thank You.

  • The type of the database table and work area are not Unicode convertible

    ***Data declaration
    TYPES : BEGIN OF t_zle_lagerplanung,
                       SEl, "stores which row user has selected
                       kdauf TYPE zle_lagerplanung-kdauf,
                       kdpos TYPE zle_lagerplanung-kdpos,
                       etenr TYPE zle_lagerplanung-etenr,
                       papiermaschine TYPE zle_lagerplanung-papiermaschine,
                       runnr TYPE zle_lagerplanung-runnr,
                       prio TYPE zle_lagerplanung-prio,
                       werk TYPE zle_lagerplanung-werk,
                       durchmesser TYPE zle_lagerplanung-durchmesser,
                       breite TYPE zle_lagerplanung-breite,
                       anzle TYPE zle_lagerplanung-anzle,
                       lgpla TYPE zle_lagerplanung-lgpla,
                       lgtyp TYPE zle_lagerplanung-lgtyp,
                       art TYPE zle_lagerplanung-art,
                       anzhoehe TYPE zle_lagerplanung-anzle,
                       fa TYPE zle_lagerplanung-fa,
    END OF t_zle_lagerplanung.
    DATA : it_zle_lagerplanung TYPE STANDARD TABLE OF t_zle_lagerplanung INITIAL SIZE 0,
                wa_zle_lagerplanung TYPE t_zle_lagerplanung.
    Here I am getting the data in internal table by using thiis select statement.
    SELECT kdauf kdpos etenr papiermaschine runnr prio werk durchmesser breite
                  anzle lgpla lgtyp art anzhoehe fa
    FROM    zle_lagerplanung INTO CORRESPONDING FIELDS OF TABLE it_zle_lagerplanung
    WHERE  kdauf IN s_kdauf
    AND       KDPOS IN s_kdpos
    AND      werk = p_werks.
    But while updating the particular field in zle_lagerplanung using this statement
    UPDATE zle_lagerplanung from table it_zle_lagerplanung.
    it is giving syntax error
    "The type of the database table and work area (or internal table)
    "IT_ZLE_LAGERPLANUNG" are not Unicode convertible. "
    Could any one help me out how to resolve this problem....
    Thanks in advance

    Dear Shayamal,
    XXX....are not Unicode convertible
    This  error comes while inserting or updating database and the fields are not matching between  data base table and structure .
    Check you fields of data base table and  "zle_lagerplanung" and struture "it_zle_lagerplanung" . There fields must match.
    thanks and regrds,
    Anup Banerjee

  • I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time.

    I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time! I really appreciate the assistance. Kathy

    According to:
    http://en.community.dell.com/support-forums/desktop/f/3515/p/19351107/19767627.a spx#19767627
    It has DVI ports.  This means you are best to use an adapter that supports DVI.  Note there is no audio that carries over DVI.  What you need is a mini-Displayport to DVI adapter, and the proper DVI cable. Since Dell doesn't have the specs, you'll need to tell us if you have pins or holes, and how many are grouped.

  • Every keystroke and mouse movement, I get an audio notice that I need to shut off. In Safari, the cursor cycles thru every link and metadata field and I get a verbal/audio notice of what it is.  How do I shut this option off???

    Every keystroke and mouse movement, I get an audio notice that I need to shut off. In Safari, the cursor cycles thru every link and metadata field and I get a verbal/audio notice of what it is.  How do I shut this option off???

    Press the key combination command-F5 to deactivate VoiceOver. If that doesn't work, proceed as follows.
    For OS X 10.7: From the menu bar, select
     ▹ System Preferences ▹ Universal Access ▹ Seeing ▹ VoiceOver: Off
    For OS X 10.8 or later: Select
     ▹ System Preferences ▹ Accessibility ▹ VoiceOver ▹ Enable VoiceOver: Off

  • Given a XSD, and a XPath- ways to find the type of the XPath leaf element

    Given a XSD, and an XPath (refering to an element in a XML document
    satifying that XSD), is there an utility which return the "type" of the given XPath
    element.
    One approach just to traverse the XSD tree, generated by the XSDBuilder,
    as per the elements specified in the XPath, until you find the type of the leaf
    element in the XPath.
    Is there an API/ utility which does this currently?
    Thanks
    PS:
    For example given an XSD :
    <element myTypeElem type="myType/>
    <complexType name="myType">
    <sequence>
    <element firstElem type="integer"/>
    <<element secondElem type="string"/>
    </sequence>
    </complexType>
    Then the type of XPath : /myTypeElem/firstElem ---> integer
    and type of XPath : /myTypeElem/secondElem ---> string

    Unfortunately,
    XPath is currently unaware of XML Schemas and as such cannot tell anything about the type of an element. XPath 2.0 is supposed to fix this in due time.
    Cheers.
    Rob

  • User Defined Fields and Reference Fields on the B/S

    Dear Experts,
       On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ?
    Kind Regards

    Hi Martin,
    If you add any user defined fields (UDF) in Journal Entry (JE) screen, You can use the udf's in the
    balance sheet report.
    Regards
    Neslin

  • Creating a structure, knowing the name and the type of the components

    hi, following problem:
    i have uploaded an excel file from a different system with the information about the names and the types of the components of several structures.
    how can i create a structure with this informatin on my system?

    ok, i think i have to give you some more details:
    i want to update a table from a table saved on another system using a report.
    (only inserts are important, no updates)
    the problem is, that tables may not have the same components.
    therefore i have created several excel sheets with following content (using mehtod gui_download):
    name1      ; name2        ; name3....                 | name of the component
    typ1         ;  typ2           ; typ3 ...                     | type of the component
    content11 ;  content12   ; content13
    content21 ;  content22   ; content23
    uploading the file into table <uploadtable>
    now need dynamic structure:  let' s say dynamicwa
    name1   typ1
    name2   type2
    then: loop at <uploadtable> into dynamicwa.
                move-corresponding dynamicwa to destinationwa.
                insert destination_wa into destination_table.
            endloop.
    but how can i create this dynamicwa?
    Message was edited by: Michael
            Michael  Dirndorfer

  • WCF :Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property

    Hi All,
    Currently I am working in a WCF project here when I try to send data from WCF Project 1 to WCF project 2 I am getting the below error.
    The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:subscriber. The InnerException message was 'The use of type 'Integra.Business.ICC.ObjectChangeTracker'
    as a get-only collection is not supported with NetDataContractSerializer.  Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property.'.  Please see InnerException
    for more details.
    I don't understand what issue this is since I am new to WCF. Please help me on this thanks in advance.

    You've posted to a forum for Microsoft Project - a project management program.  Please re-post your question to the WCF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Sorry - I cannot seem to move your post for you.
    Julie

Maybe you are looking for