Limit of no.  of items shown in ABAP List-box?

Hi All,
I am doing a development and I came across this limitations of the no. of items in a list box. Is it limited to a single digit..? Cause when i use call function 'VRM_SET_VALUES', the value returned in the field is the KEY, which is only 1 digit in my case. I have over 100 entries to be displayed in the list box. Can anyone tell me how to increase the no. of digits which get returned by the FM 'VRM_SET_VALUES'?
Please let me know.
Awaiting your reply.
Regards,
Pankaj.

Show us the code that you use to build the VRM table please.
I'm simply not understanding your problem.  VRM table has 2 fields, key and text.  Text is what is displayed and key is what is
returned from the user selecting one item on the list.  Only one value is returned.  There is not multiple selection options.
This is code I use to generate a custome dropdown list.
* this is in my TOP (Global area)
DATA: ltype_field   TYPE vrm_id,
      ltype_result  TYPE STANDARD TABLE OF vrm_value,
      ltype_val     LIKE LINE OF ltype_result.
* this is in my PBO routine
  REFRESH ltype_result. CLEAR ltype_result.
* Drop down values
  SELECT ltype ltypex
    INTO TABLE ltype_result
    FROM zlmltyp
    WHERE auth NE '9'.    "System Only
* Field name to assign drop down values
  ltype_field = 'WK_LTYPE'.
  CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id              = ltype_field
            values          = ltype_result
       EXCEPTIONS
            id_illegal_name = 1
            OTHERS          = 2.
Edited by: Paul Chapman on May 1, 2008 12:36 PM

Similar Messages

  • Checked some items of multiple-selection list box when form loaded in infopath

    Hi
    I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
    Thanks.

    Hi,
    According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
    I recommend to follow the steps below to achieve this goal:
    Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
    Set the Default Value of the Multiple-Selection List Box field.
    Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
    Repeat step3 based on the number of the items that you want to be pre-selected.
    More information are provided in the link below:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • ABAP- LIST BOX

    Hi all,
         In a standard transaction, there is a standard field which is list box containing values(ex. 10 values). For a particular condition these 10 values shouldn't appear but only few values should appear in the list box based onthe condition.
    Can anyone please tell me the way of doing this.
    Thanx in advance.
    Regards,
    Kranthi

    hi,
        i have got the user exit but there is problem in the logic.
    Regards,
    Kranthi

  • How to limit the number of items in a KPI Status list web part?

    How to limit the number of items in a KPI Status list web part? There is no paging option for Business Category Status list or any limit can be made by changing the Item limit in default view unlike other SharePoint List web parts. So How to achieve it?
    Kindly help.
    Regards,
    ZA
    zzzSharePoint

    Hi,
    According your post, I know you would like to set the item display limit in Status List web part.
    In the web part, the number of items to display is based on the view which you selected when configuring the web part. The default view for status list is status list view.
    However, I am not able to limit the items’ display number of the status list view. After changing the items limit, the list item displayed would not match the number specified by Item Limit. Thus, it is not possible to limit the number
    of items in the Status list web part.
    It could be a potential issue in SharePoint 2010.
    We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
    Appreciate your time and efforts.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to limit the number of items from RSS using XSLT

    Hello,
    I am using plsql to read contents from RSS, basically a simple RSS reader.
    I would like to somehow want the feature to restrict the number of items in the RSS feed, say I would like to display only the first 5 items.
    How could I achieve this?
    Any help is highly appreciable.
    Thanks in advance.
    Regards

    Hi,
    According your post, I know you would like to set the item display limit in Status List web part.
    In the web part, the number of items to display is based on the view which you selected when configuring the web part. The default view for status list is status list view.
    However, I am not able to limit the items’ display number of the status list view. After changing the items limit, the list item displayed would not match the number specified by Item Limit. Thus, it is not possible to limit the number
    of items in the Status list web part.
    It could be a potential issue in SharePoint 2010.
    We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
    Appreciate your time and efforts.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Combo/List Box Item List in Properties

    Im creating a form in Acrobat.  Used a list box instead of combo box.  But need to change to combo box.  I already entered in all the items for the list.  I don't want to spend too much time on this.  Is there a way to copy the list from properties on the list box and past into the new combo box?

    You can use Acrobat JavaScript to convert the current items, getItemAt,
    in the list box/combo box to an array or list that could be edited in array definition, edit that list and then use JavaScript, setItems, to use that array to populate the field.

  • Select item in list box using code

    We use Adobe Workflow v5. I am creating a Check Request application where users type information into various fields and when they click Add, the data is added to a List Box. Also when they click Add, if the current item is >$1,000, a query searches our accounting database to see if the client has outstanding AR older than 90 days. If they do, another list box is displayed with the client name and amount of outstanding AR.
    If that clientnum is already in the second list box, it does not add another one.
    To delete a record from the first list box, the users select the item in the first list box, and then click a Delete button. That deletes the
    record in the first list box.
    I am also trying to delete the record from the second list box but am not sure how to select it using code. As part of the Delete button code, if the currently selected item (the one they want to delete) is >$1,000, I go through each row of the first list box to see if clnum.text (field in the form where the record to be deleted is now displayed) matches the client number in column 4 of any row of the first list box. If it does, I see if the amount of the item in the first list box is >$1000.
    If it is, then I know that there is a corresponding record in the second list box.
    Here is some of the code:
    'go through each row in first list box
    For irow = 1 to lstExp.ListCount
    'set clientnum variable equal to client # in row in first list box
    clientnum = lstExp.RetrieveItem(irow,4)
    'if clientnum variable is equal to client # to be deleted from first list box (selected record - client # in clnum.text now)
    if clientnum = trim(clnum.text) then
    'if amt is >$1,000 in first list box
    if lstExp.RetrieveItem(irow,10) > 1000 then
    'don't delete row because there is another record in first list box
    DeleteOutAR = "N"
    else
    'delete row because there is NOT another record in first list box.
    DeleteOutAR = "Y"
    end if
    end if
    Next
    Here is the code I need help with. I am unsure how to select the record in the second list box so I can delete it.
    if DeleteOutAR = "Y" then
    'go to second list box ?
    form.GoToField(lstOutARUnbilled)
    'start going through second list box looking for clientnum
    For irow2 = 1 to lstOutARUnbilled.ListCount
    if clientnum = lstOutARUnbilled.RetrieveItem(irow2,1) then
    irow2 = lstOutARUnbilled.CurrentSelection
    lstOutARUnbilled.Removeitem (irow2)
    end if
    next
    end if
    So my question is, how can I move to the second list box to actually delete the record?
    Thank you in advance for any help.
    Mary

    Mary-
    The solution could either be quite easy or difficult dependent upon how the data is arranged in the subsequent list box.
    Basically, if there is any sort of corresponding or matching entries, meaning line 1 from list box #1 matches with line 1 of listbox #2, then you would simply execute the following...
    "listbox#2.RemoveItem listbox#1.CurrentSelection"
    Or if you have a column that would contain the same values, say an index, then you could just loop thru the 2nd listbox searching for that index and once found remove the line...
    "listbox#2.RemoveItem nRow"
    , where nRow would be the line that you discovered to have the matching index.

  • Set focus on item that selected in multiple-selection list box field in infopath

    Hi
    I have  multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
     publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
    I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted  to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
    I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
    We can follow the steps as following:
    Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
    Set the default value for the text box control as
    substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
    (you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
    Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
    In addition, you can add Formatting action to hide the text box control.
    Here are the result screenshots for you to take a look at:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Display selected items in dynamic list box

    I need to display the selected items in a dynamic list box -
    this worked great - but now client wants multiple selected. I do
    have the items comma delimited in single field (but I can change
    that if I need to) - so how do I make those items display as
    selected in list. I'm using asp and standard dreamweaver list based
    on a recordset.

    There is a better approach. I faced a similar problem and put all the logic in a Javascript function. I modified my code to suit your needs.
    My HTML will have the following.
    <body onLoad="javascript:initLanguages();">
      <form name="languageForm">
        <select size="1" name="languagesList">
        </select>
      </form>
    </body>I created a Javascript function
    <script language="Javascript">
      //-- put all your languages here in a Javascript Array if they are fixed.
      //-- If you get the langauges from a Java object (dynamic or configurable), generate the Javascript in that object and insert a scriptlet in the HTML that plugs in the generated Javascript into this HTML. If so, take care of the quotes and double quotes. They are tricky !!!
      var languageArray = new Array("Fran?ais", "English", "Espanol", "Deutsch", "Italiano");
      function initLanguages ()
        var listCounter = 0;
        for (var ind=0; languageArray != null && ind < languageArray.length; ++ind)
          var obj = eval("new Option" + languageArray[ind]);
          eval("document.languagesForm.languagesList.options[listCounter]=" + "new Option" + languageArray[ind]);
          if(document.languagesForm.languagesList.options[listCounter].value == "<%= selectedLanguage %>")
            document.languagesForm.languagesList.options[listCounter].selected = true;
          listCounter += 1;
    </script>
    selectedLanguage is something you get in the Java code
    <%
      selectedLanguage = myObj.getSelectedLanguage();
    %>

  • Reordering list box items.

    This question was asked by someone else before but there was no answer so I will ask it again:
    I've implemented a WidgetListBoxWidgetN widget in a dialog and am trying to make it reorderable by the user dragging list items around in the list box. I figured that all I would need to do was set the 'list items can be reordered' flag in the resource definition for the list box and I would be all set. However, when I attempt to drag an item in the list box, the mouse pointer turns into an icon indicating that the item drag is not allowed.
    I've looked through the user interface tutorial, the user interface guide, the html guide and this forum. I haven't been able to find anything that can point me in the right direction. What am I missing here?
    Barry

    Thanks for the answer Dirk,
    No,
    From the comment for the listbox setting "List items can be reordered" I assumed that setting this to kTrue would be all that is required. It is all internal to the widget so I didn't see why I should need to get involved.

  • Credit Limit based on Open Items only.

    Dear Friends,
    Is it possible to set credit limit based on Open Items only ( Document Type RV)
    If the credit limit is crossed for accounting documents not yet cleared, then system should allow creating sales order, but block any deliveries further.
    Just to add this, we are using Oldest Open Item, to make sure system blocks deliveries if even one Billing document is overdue for payment.
    << Moderator message - Please do not promise points >>
    << Moderator message - Everyone's problem is important. Please do not ask for help quickly. >>
    Regards
    Trupti Deulkar
    Edited by: Rob Burbank on Dec 16, 2010 4:02 PM

    Hi,
    AT FD32,
    For respective customers Credit Limit should be made 99999999....(i.e maximum)
    Goto OVA8. Select the respective Credit Control area, Risk category & Customer Group.
    tick-> OpenItems
    Max.Open items 100% and Nodays Open here you can maintain the grace days (after the payment term limit expires) is allowed to do the transaction for respective customer.
    if grace days are '0', then as soon as payment term limit is expires system will block the transactions selected.
    Thank You,
    RB.
    Edited by: RB@007 on Dec 16, 2010 3:12 PM

  • How to limit the number of items that a list control can hold?

    Hi,
    I am using a Flex3 List control for one of my projects.
    I add drag & drop functionality to it, so that i can drag & drop elements from one control to another.
    How to limit the number of items that a list control can hold / can be dropped in a list control ?
    - Sen.

    1. Listen for the dragdrop event on the control you are dragging onto.
    2. check the length of the items in the dataprovider - if it exceeds your maximum override the default drop action with e.preventDefault(); (assuming you used e for the event on the handler).
    Regards,
    Mark.

  • How do I restrict the items shown in Action pull-down list in Quote Overiew

    I would like to restrict the items shown in the pull-down list of Actions in Quote Overview Screen in Oracle Quoting (HTML)
    The list is defined as part of Quick Codes (Lookup_type = ASO_QUOTE_ACTION). Per my understanding, it should show up all the lookup values enabled in ASO_QUOTE_ACTION. But I see only a few of those enabled in the action drop-down list in Overview Screen.
    I appreciate if any one can provide any clue where they are restricted.
    To access ASO_QUOTE_ACTION Loookup code, here is the navigation path.
    ® Quoting Sales Manager &#8594; (N) Setup &#8594; Quick Codes and query for ASO_QUOTE_ACTION.
    Thanks
    Rao

    Wrong Forum....

  • Is there any limit on Number of items that can be created in SBO2005B

    Is there any limit on Number of items that can be created in SAP Business One 2005B.
    We are working for button manufacturer.
    Each button will have type,color, size, thickness.
    There are about 100 types, 40 colors, 30 sizes, 10 thickness, 500 models.
    It looks to be approximately above 30lacs item codes has to be created.
    Is there any performance issues or any other known issues towards the large item lists.

    Hi,
    There is no real limit on the number of items you can create (well, the item code is a 20 character key so theoretically the limit is the total number of possible combinations of letters and characters in that key).
    Performance can be an issue with a large inventory, as well as database size (particularly if you have a large inventory and a large number of warehouses). Some issues such as the speed of lookups can be avoided by changing system settings but other issues such as the speed of inventory reports are inevitable going to take longer for larger inventories.
    Have you done any research on looking for SBO addons for the clothing industry? It might be worth searching the CPSN for such addons (ie ones that can deal with sizes, colours etc) as these may help greatly in keeping the number of stock items down to a minimum.
    Kind Regards,
    Owen

  • Limit on Page-By-Item in Disco Viewer

    Hi There.
    Is there a limit on page by items on Disco Viewer.
    It works fine but as soon as i add more than one page by item no matter the result i select it defaults to <All>
    Regards

    Hi,
    Do you mean that it doesn't filter the data according to the value you selected ?
    I am not aware of a limitation on the page items and for sure you can have more than one.
    Personally I have seen workbooks running under viewer with more than 5 page items.
    What version of viewer do you use? maybe you need to patch it up...

Maybe you are looking for

  • Which privilege to access active SQL instruction tab

    Hi all, On sqldeveloper when I am supervising the sessions on my new database, the screen shows the complete list of sessions. But if I click on one of the sessions to have more details, like running SQL query, an error occurs : SEVERE     1378     2

  • Re: Error reverse engineering HFM with ODI 10.1.3.5

    Hi Experts, I'm new of ODI, I got any error message for ODI reverse data. I tried to do reverse in Financial Management model. I got an error messageas below. still get the same error message. Even i'm not able to see metadata in Model Folder., do yo

  • What is the best column width & font size for an ipad magazine

    I'm creating a magazine that will be shown on the ipad I was wondering what is the best column width and font size to use. If someone has any suggestions I'd love the help. thanks,

  • Find and replace

    I have decided to do color correction and other retouching after I edit a multicam shoot. Is there a way to copy and paste the attributes of a clip to only certain clips in a sequence like a find and replace. I know how to copy and paste attributes,

  • 9ias & win2k - services won't start

    Recently installed 9ias, no install issues, however none of the services associated with 9ias will start - error 3221356569. Any ideas?