Restrict Number of Value List Entries

I noticed on the dropdown for any field in WebDynpro, automatically restricts it to 500 entries to display.
You can override it the 500, but only up to 9999.  
What if you have a dropdown list over 9999 ?  Is it not possible?

John
Hi this is a hypotetical question.
In fact, it should be your aim to restrict the number of entries rather than enlarge it.
Do not forget that the more entries you put there, the more loaded your communication to and from the browser becomes.
In addition do not forget that web dynpro is all about user interface. You should be interested in making it fun and easy for your user to use your application. No one in his right mind would want to go through hundreds or thousands on entries if he can avoid it.
Regards
Yuval peery

Similar Messages

  • Prompt: Restriction on multiple values selection

    Hi All,
    I want to restrict number of values selection on multi value selection prompt.
    How could I achive that,Please guide.
    Thanks in advance.
    Amruta

    Amruta,
    Amr is right, however, if your requirement is that the user is to select no more than two at any time, you might try this approach:
    Use the prompt but the operator is "=" (equal) versus "in" and use two prompts connected with an "or".  If the user only wants to select one item, then they can be told to use the same value for the first prompt and second prompt (choose "lion" first, and choose "lion" second) -- because they are connected with an "or" there is no ill effect other than an inefficient "where" clause generated.
    If you are required to provide more flexibility than just two items, then you are stuck in being able to limit selections when a list is presented and you're using "in" as the operator.
    Thanks,
    John

  • Restrict value list (F4) at variable selection screen

    Hi,
    we have a variable of type "manual input" so that it appears at the selection screen before executing the query.
    The value-list (F4) for this variable provides every value of masterdata of the infoobject. But here is the problem: I want only those values that are used in the infocube. Is there a way to restrict this list? Customer-Exit??
    Thanks for all hints!
    Regards,
    Mathias

    Hi,
    I tested both of the hints - in my system both settings had no impact.
    Can it be a release problem? My BW is a 3.0B SP 15.
    I changed the settings in the InfoObj and put a new variable in the query-def for this characteristic. In the variable-selector before executing the query I can select a value (via F4) for the characterisitc which is not used in the cube. This is my problem. Only used values should be selectable.
    These are the settings in the InfoObj:
    Display                 Text                          
    BEx description         Short description             
    Selection               Unique for Every Cell         
    Q Def. Filter Val Sel   Only Values in InfoProv       
    Q Exec Filter Val. Sel  Only Posted Values for Navi
    Can anyone help?
    Thanks, Mathias

  • Maximum number of values that can be entered in an "in list" filter

    When prompted for a values, or when filtering on existing values, is there a maximum number of values you have can have in the filter?  Thanks.

    Likely no. However, these fields end up being part of the SQL SELECT statement that is sent to the data manager/DBMS. There is a size limit of the SQL statement that can be sent (16Kb or some such). If SQL statement exceeds that, you get a short dump.

  • User Settings for BEX Analyzer - Max number of values displayed

    Hi Experts,
    we are trying to change the Maximum number of values that get displayed from 1000 by default to some other number.
    the setting windows that I refer to above can be reach by this path.
    When you open up a Query in Analyzer, you are prompted to Variable Entry screen, if you click on the select on the list box next to a field (double squre boxes) then on the next pop windown that opens on the top right there is settings button (guy's face and box) this should bring you to User setting window, here go to Value Restrictions tab, you will see 1000 selected under No. of Displayed values....we want this number to be different by default for ALL Users.
    What is the t-code or path to change this number in BW.

    Hi,
    its standard to have 1000 rows in sap BW 7.0. We can't change the default standard setting.
    Thanks,
    venkat

  • How to restrict the duplicate values in lov column of VO based Adv Table

    Hi Gurus,
    I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
    If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
    After the duplicate values have been removed, then the user can save all the values in the table.
    My Adv Table is based on a VO.
    The link how to restrict the duplicate values at form level
    talks about Adv Table based on a EoVO, which doesnot work in my case.
    My Approach,
    I am iterating through RowSetIterator and committing through PROCEDURE.
    I am able to avoid duplicate entry through a function checkRespId. (given below)
    Below code is for iterating and committing.
    public void saveline(String reqid,String userid)
    System.out.println("RequestId/saveline"+reqid);
    System.out.println("UserId/saveline"+userid);
    OAViewObject vo = (OAViewObject)getRespLineVO1();
    RespLineVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    System.out.println("Inside the for LOOP");
    row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
    String respoidid = row.getAttribute("ResponsibilityId")+"";
    String respname = row.getAttribute("ResponsibilityName")+"";
    String stdate = row.getAttribute("StartDate")+"";
    String enddate = row.getAttribute("EndDate")+"";
    String linestatus ="A";
    if(userid!=null)
    if(!(respoidid.equals("null")) && respoidid!=null)
    String checkingrespid=null;
    checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
    System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
    if(checkingrespid.equals("No"))
         String message, result = null;
    Connection txn = getOADBTransaction().getJdbcConnection();
    try
    calling PROC ...
    catch(Exception e)
    message = "Error in Inserting into line" + e;
    throw new OAException(message, OAException.ERROR);
    else
    throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
    else
    System.out.println("respoidid is null");
    break;
    deleteIter.closeRowSetIterator();
    public String checkRespId(String userid,String respoidid)
    String createRow="No";
    OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
    if (vo != null)
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0, userid);
    vo.setWhereClauseParam(1, respoidid);
    vo.executeQuery();
    System.out.println("ROW COUNT IS "+vo.getRowCount());
    if(vo.getRowCount()>0)
    createRow="Yes";
    else
    createRow="No";
    return createRow;
    Problem:
    I remove the duplicate entries and click on save and get this error.
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
    \nAction: Cancel the transaction and re-query the record to get the new data.
    Thanks,
    Sombit

    Hi Anil,
    I am trying out your code but stuck in inserting the rows
    using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
    I am always getting the same exception i.e COde blast in when I run.
    My modified code is:
    String[] as = null;
    Number[] vNumber = null;
    Number[] vNumberrespid = null;
    Number reqidnumber = null;
    reqidnumber = new Number(Integer.parseInt(reqid));
    Connection txn = getOADBTransaction().getJdbcConnection();
    String mCreateSearchRequestStatement = null;
    OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
    int j = vo.getFetchedRowCount();
    try
    System.out.println("abouce try");
    vo.reset();
    if (vo.getFetchedRowCount() > 0)
    System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
    int i = 0;
    as = new String[j];
    vNumber = new Number[j];
    vNumberrespid = new Number[j];
    while (vo.hasNext())
    vo.next();
    System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
    vNumber[i] = (reqidnumber);
    vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
    as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
    System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
    System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
    System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
    i++;
    CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
    ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
    ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
    ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
    cs.setArray(1, array);
    cs.setArray(2, arraynew);
    cs.setArray(3, array1);
    cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
    cs.execute();
    ARRAY error = null;
    error = (ARRAY)cs.getArray(2);
    if ((error != null) && (error.length() > 0))
    System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
    String[] retError = new String[j];
    retError = (String[])error.getArray();
    System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
    cs.close();
    catch (Exception exception)
    throw new OAException("code blast", OAException.ERROR);
    Thanks,
    Sombit

  • Passing large number of values to a WebI prompt from external application

    Hello all,
    BIt of a strange request this!
    I need to abuse the OpenDocument function and pass A LOT of prompt values into a webi report. 
    The users can select hundreds/thousands of records in an external web based application and click to open a BO WebI report which needs to refresh restricting on the records selected by the user in the other application.
    If I do this with OpenDocument i can pass so many values in a list that I'll exceed the limits of the URL length (although I think opendoc itself is shorter than this limit). 
    So I'm hitting the same limit as these guys...
    http://bembengarifin.wordpress.com/2009/02/19/business-objects-opendocument-api-url-length-limitation-gotcha/
    Anyone got any ideas?
    Was thinking of programatically accessing the document via SDK and adding restrictions or possibly changing open doc to use a POST function... but any ideas on if this would work or any other options?
    Cheers,
    Jez

    Hi Jeremy,
    No solution, but a warning note...
    I'm afraid that even if you pass the hurdle of the URL length,
    you will hit the limit of the in list() number of values on the database side.
    So I would go for storing the selected list in the database.
    Then you can either create a predefined filter to select the records using the contents of the table,
    or bring in the table in the structure, create object and use these to create the where condition in the report.
    Needless to say you will probably want to limit this table to just the records from a specific user,
    but you stand a better chance of getting to a working solution then the road you're thinking of traveling.
    Hope this helps,
    Marianne

  • Transfer Objects in Value List Handler

    Do we need really the EJB for Caching the data using Value List Handler.If EJB is not required then how can we cache the data using Value List Handler

    Sorry for disturbing u again.Actually my requirments
    is , In the Jsp page i have to display 1000You are referring to java server pages and not java script correct?
    records(example) provided with pagination option ie
    each page should display 50 records and options will
    be given to user to see another 50 records by
    clicking the pagination hyper link.This time it
    should pick up from Cache memory not form DB.I came
    to know thru documentation posted in website that
    ValueList Handler provides the Caching Facility.Can i
    achieve this by using ValueList Handler.You can achieve it in any number of ways.
    Nothing in your description suggests that Value List Handler is going to help you in any substantial way.
    Another
    restrictions is not to use EJB.You have to get the data from somewhere.

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi ,
    I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax group have 3 rows in report output then XML tag is not working.
    Below is the XML tag i am using -
    First i have declare the variable to restrict the rows -
    <xsl:variable name="lpp" select="number(7)"/>
    <xsl:variable name="lpp1" select="number(5)"/>
    <xsl:variable name="lpp2" select="number(3)"/>
    For Each -
    <?for-each:PAYSLIP?>
    <xsl:variable xdofo:ctx="incontext" name="DedLines" select=".//AC_DEDUCTIONS"/>
    <xsl:variable xdofo:ctx="incontext" name="EarLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION!='Taxable Benefits']"/>
    <xsl:variable xdofo:ctx="incontext" name="EarTaxLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION='Taxable Benefits']>
    <?for-each:$DedLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <?if:(position()-1) mod $lpp1=0?><xsl:variable name="start1" xdofo:ctx="incontext" select="position()"/
    <?if:(position()-1) mod $lpp2=0?><xsl:variable name="start2" xdofo:ctx="incontext" select="position()"/>
    Report output is tabular form (one page has two column - Earning and Deduction ) . Tax group comes below earning group.
    Deduction Group -
    <?for-each-group:$DedLines;./REPORTING_NAME?><?if:position()>=$start and position()<$start+$lpp?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Earning Group -
    <?for-each-group:$EarLines;./REPORTING_NAME?><?if:position()>=$start1 and position()<$start1+$lpp1?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Tax Group -
    <?for-each-group:$EarTaxLines;./REPORTING_NAME?><?if:position()>=$start2 and position()<$start2+$lpp2?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Please let me know in case additional detail is require.
    Thanks in Advance.
    Thanks,
    Harsh
    Edited by: Harsh.rkg on Jan 14, 2013 9:43 PM

    variable lpp2 is declare to restrict EarTaxLines -
    <xsl:variable name="lpp2" select="number(2)"/>
    This will help to restrict the no of rows on one page , if we have more then two tax benefits line then layout will roll over to continuation page.
    As part of report output my expectation is if i restrict Earning , Deduction and Tax benefits to same no of line for example - variable lpp ,lpp1 and lpp2 have same value "number(2)" , we can see the layout is continue on next page (restrict every group can have max two lines) .This is the reason we have 4 header grid , deduction and Tax Benefit lines are rolled over to continuation page .But if we restrict different value for each variable then continuation page layout is missing .
    When we tried for <xsl:variable name="lpp2" select="number(3)"/> value continuation page layout is not getting generate for both employee number .

  • Report model - number of values selected in DDL param

    Good afternoon,
    I have created a report model that references Teradata views, and I am using this model to populate several datasets in a Report Builder report.  One dataset returns actual results, and the other datasets are used to populate available values for multivalued
    parameters.
    The issue I'm encountering is that some of my parameters return a large number (tens or hundreds of thousands) of selectable values.  When clicking "select all", I'm getting an error, since the concatenated list of values exceeds
    the length limit.  However, since I'm working with a report model, I cannot use T-SQL workarounds such as custom "<ALL>" values/handling.  I also need to limit my result set using these values as parameters, not filters, since I want
    the intensive processing handled in the DB server, not the app server.
    Is there any possible way to accommodate this?  As an example, I have a large (200k+) list of products, belonging to about 7,000 brands.  I want both my product number and brand lists as multivalue parameters...I might want to run
    the report for all products and all brands (returning 200k+ rows), or choose "select all" in the products list, but only pick a few brands (or vice versa).  Cascading parameters (with the first parameter limiting the next set of values)
    is not an option since there are many of these parameters that have too many values for the allowed limit (i.e. even my brand list generated the error when I choose "select all" and only picked a few products).
    I have searched literally dozens of forums and tech sites, all to no avail thus far.  Any assistance will be greatly appreciated...thank you!
    -Chris

    I have a SSRS Report with 4 multi-select parameters.
    The customer has requested that they would like the drill-through to open in a new window.
    I am using Java Script for that purpose.
    However, there is a limit on how long a URL may be.
    Is there a way in a SSRS report to limit the number of values in a multi-select parameter selected?
    Thanks.
    One workaround is to add a internal parameter which will count the number of selected values and will allow the navigation only if the count falls below the threshold.
    For this you can use an expression like below for setting the internal parameter
    Len(Join(Parameters!MultiValuedParameter.Value,","))-Replace(Join(Parameters!MultiValuedParameter.Value,","),",","")
    Then use expression like below for the jump to url/report property
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,<report url>,Nothing)
    You can also add a notification textbox on top which will show a message like "Report navigation not possible due to too many values selected" and keep it hidden by default. Then based on above parameter value you can make it visible
    ie make hidden property like below
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,False,True)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to restrict number of rows display using ig:gridView

    Hi
    All
    How to restrict number of rows display using <ig:gridView datasource="{mybean.mylist}">
    i am getting 10 rows using data_row . i wanna show only first 5 rows .
    pageSize ="5" will be ok . but it displays remaining rows in next page. but i want to display only first 5 rows . is there any attribute to restrict number of rows.
    thanks
    rambhapuri

    I have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.

  • Adding caller with name and number from call list to the contact list only inserts the number and not the name

    I recently bought a BlackBerry Z10 and moved my cell service to Rogers to take advantage of the name display service offered by Rogers (Fido also offers this service).
    Due to the number of calls that I receive from first time clients, I wanted the name display service to help me know who was calling. Evidently it is impossible to add clients to my contact list before they call me so I'm constantly seeing numbers that have no name to help me decide if I want to answer the call.
    When I try to add a caller from my call list to my contact list, only the number gets inserted in the new contact. The name needs to be entered manually.
    I understand and realize that not all call display formats are the same and that it's virtually impossible to parse the first and last names from the name portion of the caller id.
    However, I would like to see BlackBerry add the functionality to insert the name portion of the call entry from the caller list to a "Nickname" entry in the contact list just like it adds the number to a "Home", "Mobile", or "Work" entry in the contact list.
    If a user doesn't have a name display service, there would be no change to how their contacts are added because there is no name variable to copy over.
    Can someone from BlackBerry please let me know if this feature can be added to BB10 and when it can be added? For me it's an obvious feature that should just work.
    I am really enjoying my Z10 but I'm feeling let down that something so logical and helpful is not supported out of the box.
    Regards,
    Marc

    Hey ViciousFerret,
    It appears that you are not aware of the fact that both Rogers and Fido offer name AND number display service (although the name display feature is an add-on service) and have been offering it for many years (since 2006). Here is a link to the name display service description of each provider...
    http://www.fido.ca/web/content/manageyourcalls/calldisplay&lang=en
    http://www.rogers.com/business/on/en/smallbusiness/products/wireless/addons/valuepacks/
    As you can see from the link below, Rogers and Fido have been offering this service since 2006.
    http://www.businesswire.com/news/home/20060914005951/en/Teams-HP-Rogers-Wireless-Fido-Succeed-North
    My BlackBerry Z10 shows both the name and number when someone calls (and the caller is not in my contact list).
    All I would like is for the Z10 (and Q10) to support the addition of the name and number from the caller list to my contact list without me having to type the name. As I mentioned in my original post, to avoid the OS having to parse the first name and last name from the name portion of the caller list entry the name could simply be added to the contact list as a "Nickname". If your provider only has number display, nothing would have to be copied from the name variable in the caller list to the contact list.
    I find it difficult to believe that BlackBerry would not be aware of this name display service since it's been around since 2006 with both Rogers and Fido.
    I hope I have clarified the reasons why I would like to have this feature added to BB10 and how it's surprising that this simple feature is not already a part of the BB10 OS.
    Either way, I don't think this is a difficult feature for the BlackBerry team to add. They're just copying a 2nd variable from the caller list to the contact list.
    I'm surprised that Rogers hasn't asked BlackBerry to add this feature to their phones. I think it would be a popular feature for those who receive a high number of calls from first time callers.
    How can I get this feature request to BlackBerry for their consideration?
    Cheers,
    Marc

  • To Restrict Duplicate & Without Value Manual Condition Type in ME21N

    Hi Friends,
    While making a stock transfer (purchase order) by ME21N from supplying plant (Factory) to other plant (depot), if user make mistake & donu2019t put value for Manual condition type ZMRP, system accept & save the order.
    Afterwards when he realizes the same or immediately come to know about not putting value & put again, system take that second line entry also & create double entry.
    When invoice come then it pick the value from first line & show in negative.
    How it is possible to restrict it at order level only to not to allow 0 value & repeat entry for the same condition type?
    I have triedu2026.
    1. At pricing procedure, there ZMRP is required entry.
    2. Condition Type - ZMRP, there is _ No Limitations
        We can not put D Not possible to process manually or fix this condition type as then we have to maintain condition record & prices are varies depot to depot & day       by day.
    3. Since this is a Header Condition, so canu2019t restrict at Access Sequence level.
    This is only has to put manually by user according to the instruction of sales department. 
    Got Suggestion to change at user exit level to put check at delivery to not to allow printing or invoicing by putting 0 value/without any value.
    Please suggest at configuration level only as itu2019s difficult to create User Exit for all requirement.
    Srivastav
    +91-9694096833

    Hi,
    You must update the forum how did you solved the issue as it will help others also in future.
    This is good practice.
    Regards
    Sanjay

  • How to restrict number of hits from a browser, within a specific interval.

    Hi,
    we have a web app in which user clicks on a specific submit continously. This fills up the server threads and other users trying to login either get a timeout or page not found. my questions ---
    1. Is there a way to configure weblogic to timeout the httprequest and also the underlying thead which is doing the work.
    2. Is there a way to restrict number of requests from a client within a specific interval..
    thanks in advance..

    Hello Benita
    Set the dialog type of your search help = 'A' (dialog depends on set of values).
    Regards
      Uwe

  • How to restrict number of received e-mails

    how to restrict number of received e-mails at iOS 7 ( at previous iOS there were options to receive last 50 or 100 or 200 messages ) ??

    I have no idea which component you're talking about. If want to discuss here about a non-Sun JSF component, then please mention about the name, version and build in detail. You can also consider posting this question at the website/forum/mailinglist of the component manfacturer rather than here. At least I can tell you that the Sun JSF h:dataTable has the 'rows' attribute for that. I can also suggest you to just take a look in the TLD documentation of the component in question. There should be all possible attributes listed with a detailed explanation about the behaviour.

Maybe you are looking for