Searching a Table field with multiple values using a shuttle item

Hello All,
I have a shuttle item whhich of course users can select multiple values:
eg: Orange:Pear:Banana
Now I have a table where I want to get the Crate Numbers where these fruit items reside.
The Fruit field has multiple stored values
eg:
Crate Fruits
=== ====
12487 Apple:Orange:Pear:Banana
17653 Orange:Pear:Grapes
12874 Apple:Banana
13655 Grapes:Watermelon:Pineapple
87643 Pear:Banana
53626 Strawberries:Apple
I would like to see a final report similiar to this
Crate Fruit
=== ===
12487 Orange
12487 Pear
12487 Banana
17653 Orange
17653 Pear
12874 Banana
87643 Pear
87643 Banana
I thought maybe this needs to be done using collections but I am not familiar with this function, if their is another way I would appreciate it
Hope u can help
Frank

Hi Frank,
I find that in this sort of case, it is easier to create a link table containing the individual values rather than lumping them into one column.
so the data is stored in the 'Crate, Fruit' format, rather then the 'Crate Fruits' format.
It is a bit more work maintaining the link table when the values are amended and populating the shuttle, but it is a 'proper' relational table then.
Regards
Michael

Similar Messages

  • Creating Profile type report that hold fields with multiple values

    Really hoping someone can please help me out as I am very new to Crystal Reports.
    We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to create through Crystal. Its been almost one month already and I still cannot for the likes of me get this report operating properly. I have been inside and out on all sorts of forums, posted topics but no luck! So I will give it one more attempt in hopes that one of you geniuses can show me the way.
    In Maximizer CRM there is date, numeric, alphanumric and table. Our table fields items can be set to either single value or multi-value. So in crystal i did a default join of Client.tbl and the user-defined fields from view and joined the client id and contact number from all the view fields to client table. See Image:
    and I have dragged all the relevant fields in rows (in details section) rather then columns because we would be reporting on more then 1 record at a time. My problem is - If there is a table with multiple items selected (values), the records triple in count and it will show the same record over and over with just single field value changing at a time.
    The formula field you see in the image is from when I posted a discussion and Abhilash assisted me by providing the formulas I should add:
    1) Create a formula with this code and place this on the Details Section:
    whileprintingrecords;
    stringvar s := s + {field_with_multiple_values} + ", ";
    2) Next, move all the fields (except the formula field above) from the Details section to the Report Footer
    3) Create a formula with this code and place this on the Report Footer. This field would replace the existing field that contains multiple values:
    whileprintingrecords;
    stringvar s;
    Left(s, len(s)-2);
    This method is not working out for this type of report. When I add the formula Crystal is still counting my 2 records as 5 records but I can only view it as a single record and the multi-field has all the values for both records and displaying as a single record. See image:
    Can anyone please assist and advise where I am going wrong?
    -Jared

    Hi Jared,
    Thanks for taking down memory lane that is Maximizer.  Nice to see their table structure hasn't been simplified in the last 20 years.
    If I understand what's happening, you should only see 2 records and not 5.  That means your joins are creating duplicate records.  For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.
    There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header.  The question is what would you create your group on that would get you a unique record?
    If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.
    There is also the menu option Database | Select Distinct Records.  I've never really had success with this one but there's no harm in giving it a shot.
    I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links.  Normally I'd start by adding one table at a time and dropping one field onto the report.  If it doesn't repeat then add another table and field and repeat until you get your duplicates.  Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.
    Good luck,
    Brian

  • Validate a input field with multiple values.

    Hi,I have to restrict decimal values for a input text field that is "Number"
    When i click on SAVE it will say, that decimal values are not allowed.
    This part is fine. But the problem is that when i save multiple entries(batch save). It validate the first row only and then as per the first row value it throws exception.
    I am using this piece of code to fetch values of  "Number".
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)webBean.findChildRecursive("Number");
    String qty = (String)oamessagetextinputbean.getValue(pageContext);
    // But this is only returning one value of the field Number. By using this value i am validating it against the Decimal values.
    How to get the value of the field Number on the next row. Also i need to validate it as well.
    A quick help is appreciated.
    Thanks in Advance.

    Hi Myvizhi,
    This is latest piece of code i am using. But still it is printing the value of QUANTITY in first row .
    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject =
    (OAViewObject)am.findViewObject("PoRequisitionLinesVO");
    int rwcnt = oaviewobject.getRowCount();
    System.out.println(rwcnt +  "rwcnt");
    OATableBean oatablebean =
    (OATableBean)webBean.findIndexedChildRecursive("ItemTableRN");
    OAMessageTextInputBean oamessagetextinputbean =
    (OAMessageTextInputBean)oatablebean.findIndexedChildRecursive("Quantity");
    if (pageContext.getParameter("Save") != null ||
    pageContext.getParameter("Checkout") != null) {
    if (oatablebean != null) {
    RowSetIterator queryVOIter =
    oaviewobject.findRowSetIterator("queryVORow1");
    if (queryVOIter != null) {
    queryVOIter.closeRowSetIterator();
    queryVOIter = oaviewobject.createRowSetIterator("queryVORow1");
    System.out.println("queryVOIter is " + queryVOIter);
    while (queryVOIter.hasNext() &&
    i < rwcnt) // rowcount is number of rows
    String qty =
    (String)oamessagetextinputbean.getValue(pageContext);
    System.out.println("Value1 is " + oamessagetextinputbean);
    System.out.println("Value2 is " + qty);
    queryVOIter.next();
    i++;
    String MessageTextValue =
    oamessagetextinputbean.getValue(pageContext).toString();
    System.out.println("Value of mtv " + MessageTextValue);
    if (MessageTextValue != null ||
    MessageTextValue.length() != 0) {
    if (MessageTextValue.contains(".")) {
    throw new OAException("Decimal values not allowed in the Quantity field, Try Again",
    OAException.ERROR);
    } else {
    } else {
    Please help.
    Thanks.
    Chinmay

  • Populating internal table field with same value

    Is there syntax that will fill a field value in every record in an internal table without looping?

    Hi Rob,
    I didn't know this, after studying online help on MODIFY itab, ABAP Statement
    MODIFY itab - itab_lines
    Syntax
    ... itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp.
    I tried
    DATA:
        ls_t100 TYPE t100,
        lt_t100 TYPE TABLE OF t100.
      SELECT * INTO TABLE lt_t100 FROM t100 UP TO 20 ROWS.
      MODIFY lt_t100 FROM ls_t100 TRANSPORTING text where text &lt;&gt; ls_t100-text .
    clears field text in all rows of lt_t100.
    after many years of field-symbols finally a reason to use MODIFY again
    Regards,
    Clemens

  • Searching Web Apps with Data Source fields containing multiple values

    I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
    Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
    List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
    Has anyone found a way to do this?
    My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
    Can anyone enlighten me to the inner workings of BC web app search logic?

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Can you add People Picker with multiple values to Word Document using Quick Parts?

    Hi all, I've been trying to develop a form in Word that takes a bunch of metadata from the SharePoint library. Most of it works okay, but when I try to add any fields that have been set up to take multiple entries in a people picker, they don't show up
    in the add quick parts list. Any ideas, or is this a limitation?

    Hi NREL,
    According to your description, my understanding is that the people picker column with multiple values was missing in Word Quick Parts.
    This is by design that we are unable to use the fields which is allowed multiple selections.
    As a workaround, you can use a text field(Single line of text) to store the multiple values of the people column. When you create a document, start a workflow to update the text field using the values of the people column, then use the
     text field in Word Quick Parts.
    You can do as the followings:
    Open your library, and create a new column using Single line of text.
    Open your site with SharePoint 2010 Designer, create a workflow based on your library.
    Add the action “Set Field in CurrenItem”, and set it like the screenshot.
    Set the Start Options is “Start workflow automatically when an item is created”.
    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

  • Read Internal Table based on Multiple Values for Key Field

    Hi Gurus,
    i have one query can you tell me how read an internal table it_kna1 for multiple values of land1 DE US IND etc.
    i had tried as below but i could not can you try and let me knwo at the earliest.
    here i want read the values with DE or US and want further prosess them.
    REPORT  YC001.
    tables kna1.
    select-options: cust for kna1-kunnr.
    data: begin of it_kna1 occurs 0,
            kunnr like kna1-kunnr,
            name1 like kna1-name1,
            land1 like kna1-land1,
            end of it_kna1.
    select kunnr name1 land1 into table it_kna1 from kna1 where kunnr in cust.
    read table it_kna1 with key land1 = ( 'DE' OR 'US' ) .
    can anybody suggest me some solution.
    Thanks,
    Jeevi.

    This should be what you need:
    REPORT ztest NO STANDARD PAGE HEADING LINE-SIZE 80 MESSAGE-ID 00.
    TABLES kna1.
    SELECT-OPTIONS: cust FOR kna1-kunnr.
    DATA: BEGIN OF it_kna1 OCCURS 0,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
          END OF it_kna1.
    DATA: itab_index LIKE sy-tabix.
    SELECT kunnr name1 land1
      INTO TABLE it_kna1
      FROM kna1
      WHERE kunnr IN cust.
    SORT it_kna1 BY land1.
    READ TABLE it_kna1 WITH KEY
      land1 = 'DE'
      BINARY SEARCH.
    itab_index = sy-tabix.
    WHILE sy-subrc = 0.
      itab_index = itab_index + 1.
      WRITE: /001 it_kna1-kunnr, it_kna1-land1, it_kna1-name1.
      READ TABLE it_kna1 INDEX itab_index.
      IF it_kna1-land1 <> 'DE'.
        sy-subrc = 99.
      ENDIF.
    ENDWHILE.
    SKIP 1.
    READ TABLE it_kna1 WITH KEY
      land1 = 'US'
      BINARY SEARCH.
    itab_index = sy-tabix.
    WHILE sy-subrc = 0.
      itab_index = itab_index + 1.
      WRITE: /001 it_kna1-kunnr, it_kna1-land1, it_kna1-name1.
      READ TABLE it_kna1 INDEX itab_index.
      IF it_kna1-land1 <> 'US'.
        sy-subrc = 99.
      ENDIF.
    ENDWHILE.
    Rob

  • Report script - using substitution variable with multiple values

    Hi All,
    Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
    alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
    alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
    I tried both of the above but they are errored out with the below error:
    Error: 1001005 - Unknown Member [Q1:Q4] in Report.
    my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
    Thanks,
    PRaveen

    Hi,
    Please refer following thread,
    range of months in report script?
    Hope it helps.
    Regards

  • Web Forms using substitution variables with multiple values

    Hi,
    I am trying to select a substitution variable in a webform (Hyperion Planning 11.1.1.3) with multiple values in EAS, but is not working does somebody knows if this an expected behaviour.
    I allready try ex.
    &Months = "Jan","Feb", "Mar"
    &Months = Jan, Feb, Mar
    &Months = Jan:Mar
    Please let me know something, since as far as I recall in previous versions of Hyperion Planning this was possible.
    Kind Regards

    We experienced the same issue, our requirement was that for the first half of the year the substitution variable was = Oct and for the second part of the year Jan:Dec. We were lucky that for the second scenario we had a Total Year member as well (that at the bottom level is Jan:Dec). So on web form we picked Level0 descendants of the substitution variable. That worked fine but not the range.

  • Snmp for oids with multiple values

    Hi,
    So if we have array of OIDs defined in the mib file (eg, 1.3.6.1.4.1.22.1.1, 1.3.6.1.4.1.22.1.2, 1.3.6.1.4.1.22.1.3 and so on each having different values). does anyone know how can we capture this using SNMP fetchlet?
    or
    do we need to specify each oid separately?
    Thanks

    Maybe I misunderstood lushhay here. I thought lushhay wanted to associate a key with multiple values. So one way is to have the value of the Hashtable key to be an ArrayList.
    Hashtable table = new HashTable();
    String key1 = "myKey";
    String key2 = "myKey2";
    Date value1 = (some date value);
    Date value2 = (another date value);
    Date value3 = (another date value);
    ArrayList valueList = new ArrayList();
    valueList.add(value1);
    valueList.add(value2);
    valueList.add(value3);
    table.put(key1,valueList);
    This would associate "myKey1" with 3 date values stored in an ArrayList.
    There is a downside to using the string concatenation method. You assume that the content of each values will never contain a delimiter. You also assume that the values are strings. But if the values are byte[], the string concatenation will not work. If the values are Dates, it can still work, but you would have to convert it from Date to String then concatenate, then get the String value through StringTokenizer and then convert back to Date.
    But anyways, if the values are Strings (and won't contain the delimiter character), then the concatenation method would suffice.

  • Why is the search and logins fields are black when using AOL

    Why is the search and logins fields are black when using AOL??

    M3nth,
    Seems like we're all asking the same question
    As tst says... try not to use the one at the bottom.. it's ... hummm..
    It's behavior is unpredictable...
    As for the multiple listing I'll have to read Molly's response on this (I asked the same question is the "Xtreme thread")
    JLV
    === EDIT ===
    Hi Molly,
    I read your answer on the bottom search engine..
    That's what I thought it did... but it didn't work for me.. I tried to use it to find some of my own posts within LV.. and it didn't find anything.
    The search was : serial
    I did this while reading a LV question of the subject.
    I shall experiment with the search engine again and report my findings.
    R.Message Edited by JoeLabView on 03-17-2005 02:24 PM

  • Can't post multiple values using forms based on procedure

    I want to post multiple values from form based on procedure. Is it possible?
    I've tried following steps:
    - create LOV with Multiple Values format
    - create form based on procedure
    - in Formatting and Validation page choose required item
    - select item type - combobox, enter input height = 5
    - select my LOV for item
    after creating form I get listbox, but selecting multiple values (with Ctrl or Shift key) not working...
    what's wrong.
    I'm use portal 9.0.2.2.22

    Hi,
    It is not possbile right now with Portal Forms to submit multiple values to a field.
    Thanks,
    Sharmila

  • How to compare single value with multiple values

    In my query I have something like this:
    A.SOR_CD=B.SOR_CODE where A and B are 2 different tables. This condition is in the where clause. The column in table A has single values but some values in table B have multiple comma separated values (822, 869, 811, ..).  I want to match this single
    value on the left side with each of the comma separated values. Please let me know how will I be able to do it. The number of comma separated values on the right side may vary.

    Hi MadRad123,
    According to your description, you want to compare single value with multiple values in your query. Right?
    In this scenario, the table B has comma separated values, however those comma separated values are concatenated into a string. So we can use charindex() function to return the index of the table A value. And use this index as condition in
    your where clause. See the sample below:
    CREATE TABLE #temp1(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp1 VALUES
    ('1','A'),
    ('2','A'),
    ('3','A'),
    ('4','A'),
    ('5','A')
    CREATE TABLE #temp2(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp2 VALUES
    ('1','a,A'),
    ('2','A,B'),
    ('3','c'),
    ('4','A,C'),
    ('5','d')
    select * from #temp1 a inner join #temp2 b on a.ID=b.ID
    where CHARINDEX(a.Name,b.Name)>0
    The result looks like below:
    Reference:
    CHARINDEX (Transact-SQL)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Document library view: Group by a column with multiple values

    I have a document library which has a managed metadata column.
    I would like to create a view which groups the documents by this managed metadata column.
    The managed metadata column can have multiple values.
    I know that this is not possible with SharePoint's group by, since it only accepts those columns which can have only one single value.
    But is this possible to accomplish by some other means, e.g. Content query web part? Or is there perhaps a 3rd party solution to this?
    Is it possible to change the group by settings somehow to allow Group by to function with columns with multiple values? <- this may be far fetched...

    Hi Pekch,
    I'm assuming you have VS2010 to build the custom web part. From there you will need to figure out the following:
    Get a SPList object for the Document Library (See below for code example)
    Loop through all the documents in the SPList object 
    If you have audience targetting enabled, then you'll need to determine if the user has access to the document by checking the "Target_x0020_Audiences" column)
    As you also want to group by metadata, you'll need to populate 2 datatables (one table with a column containing unique metadata values and another table with a metadata column and other document related columns).  Link these two tables via a dataset
    relation.
    Set the dataset as the datasource for a repeater, add in some css and javascript for the group expand/collaspe and it should be close to what you need.
    This will be a time consuming task if you don't know where to start or have problems figuring out how to perform a certain operation.  So you may want to determine if the functionality you want is required or just a "nice to have".  Good
    luck and if I have some spare time, I'll create a blog post outlining how to do all the above.
    I got the below code from a sharepoint blog sometime in the past and you can use it to retrieve a list.
    You can use it like this: GetListByUrl(http://servername/Shared%20Documents/Forms/AllItems.aspx)
    using    Microsoft.SharePoint;
    public SPList GetListByUrl(string listURL)
    SPList list = null;
    try
    using (SPSite site = new SPSite(listURL))
    if (site != null)
    // Strip off the site url, leaving the rest
    // We'll use this to open the web
    string webUrl = listURL.Substring(site.Url.Length);
    // Strip off anything after /forms/
    int formsPos = webUrl.IndexOf("/forms/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (formsPos >= 0)
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', formsPos));
    // Strip off anything after /lists/
    int listPos = webUrl.IndexOf("/lists/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (listPos >= 0)
    // Must be a custom list
    // Strip off anything after /lists/
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', listPos));
    else
    // No lists, must be a document library.
    // Strip off the document library name
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/'));
    // Get the web site
    using (SPWeb web = site.OpenWeb(webUrl))
    if (web != null)
    // Initialize the web (avoids COM exceptions)
    string title = web.Title;
    // Strip off the relative list Url
    // Form the full path to the list
    //string relativelistURL = listURL.Substring(web.Url.Length);
    //string url = SPUrlUtility.CombineUrl(web.Url, relativelistURL);
    // Get the list
    list = web.GetList(listURL);
    catch { }
    return list;

  • Reposting error from 1 variable to another with multiple values

    Hi,
    we are on SEM 3.1B. I've 2 userExit variables (characteristic) VAR1 & VAR2 defined at plannin area.
    i am getting the following error, when am trying to use repost function from 1st variable values to 2nd variable values.
    "variable VAR2 is not suitable for setting field values".
    VAR1 & VAR2 both returns miltiple values but equal number of values always.
    let'z say,
    VAR1 returns values A1 B1.
    VAR2 returns values AA BB.
    Now, i need to use a repost function that reposts A1 to AA & B1 to BB.
    Is it possible? if not, can we even use functions like copy or formula on variables with multiple 'FROM' values to multiple 'TO' values?
    Appreciate your help / suggestions.

    Hi Marc,
    Thanks for ur reply. But, I am getting the following errors when checking the formula function.
    "Formula Error: Formula element VARC could not be recognized."
    similarly, "Formula Error: Formula element VARI could not be recognized."
    We are on BW 3.0B (SP: SAPKW30B17) and SEM 3.1B (SP: SAPKGS3B14). Are those fomrula elements exist in these versions? On what version have u tried?
    I even couldn't able to find any documentation on those formula elements VARC & VARI. Could you please let me know if there is any documentation?
    I'm trying to copy a KeyFigure value from one material to another mateiral. Both materials are calculated from variables of type user exit (with multiple values in each variable).
    PS: both variables have equal number of materials and should be copied one - one.
    Appreciate ur help.
    hari

Maybe you are looking for

  • ALV-GRID TOTAL

    Hi Experts, i have issue were in i need to show sum of the amount. like example... for Custmer 100 there are vendor number 10,20,30,40,50. so for all this vendor numbers.. vendor-----  amount 10 -    100 20---- 200 30---- 300 40---- 400 50-------500

  • When using Alpha to outline photos in an ebook does it stay outlined across other platforms or programs

    I am creating an ebook in Keynote with animation, and some movies. Then I plan on publishing it with iAuthor. Then I want to publish it with other book sellers, i.e. Amazon and others. What are the concerns with everything working in the other platfo

  • Monitoring 3750x and 3560x Redundant Power Supply and Fans

    I need help for monitoring the redundant power supply of my switches (3750x and 3560x) I have configured my snmp on my switches and is able to monitor interfaces, temperature and etc. The problem is when I am monitoring the redundant power supply and

  • Problem in Assignment in PROJECT or WBS

    Hi, PS experts I am creating project and WBS But when I create this in assignment tab it gives default controlling area and it is greyed, I am not able to change it and it affected my entire process, whenever i carry out any transaction system is giv

  • About Application Identity

    Hi,All I have a problem about application Identity. If table has numberic primary key columns,when reversemapping,it will be mapped to built-in data type like "long","int".But I want it be wrapped class like "Long","Integer".How to do? Regards, Jia s