LOV not return values more than certain limit

Hi Guys,
I have created 2 search fields (State, Area) in report page. Both of them are LOVs based. User select first field value, next field's LOV return values based on the first field( AJAX call). First field is states like 'VIC', 'NSW', 'SA' etc..., next field is 'Area'. when I select state other than 'NSW' in state field then next field is populated successfully. But when I select state as 'NSW' then next field is blank. 'NSW' state has records more than 100 in the table(LOV based on), but all other states have even less than 10 records. when I remove (more than 50) records of 'NSW' in the table then It works.
Can anybody know if there is a limit of LOV that can be supported?

Thanks Varad for reply.
As you suggested to change gReturn = get.get('XML') to gReturn = get.get() for text values, But it is not simple as you said.
I have found the problem. Actualy, there are some special characters in database column that suppose to return in LOV. But LOV is returned as xml object that may not support special characters (&,$, % etc...). I have put the 'replace' function in query. My query is like
select replace(name,'&','and') d, id r
from table1
where val1 = :P2_val
order by 1
This query works in SQL WORKSHOP but not in AJAX. Any Idea? If I have to replace get.get('XML') to get.get() then what other steps I have to perform?

Similar Messages

  • Return to more than columns from LOV

    I need return to more than columns from LOV. All columns belong to one form region
    Please helpl me
    Mary

    Hi Mary,
    Do you mean you need to return more than 3? If so then in the link area change the Target to URL and do something like the following:
    f?p=&APP_ID.:7:&SESSION.::&DEBUG.::P7_UNIQUE_ROWID,P7_OET_TBL_NM:#UNIQUE_ROWID#,#OET_TBL_NM#Items on left separated by commas, values on right separated by commas and a colon (:) in the middle...make sure the items & values are placed in the same order.
    Mike

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue.
    when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
    The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
    If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
    What is the reason?

    James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
    --Mukul                                                                                                                                                                                                                                                                                                                                                   

  • LOV does not return value to the base page sometimes

    Hi,
    I have created messageLOV type items. These LOVs do return value to the base page usually. We have a user in Uruguay who is trying to use the page which has the LOVs. He says the LOV takes a long time to return to the main page after he clicks on quick select and also the value does not get populated in the main page.
    We have not been facing any such problem here in India. The LOV has been tested rigorously with no issues as such.
    Can you please suggest a reason why such a problem is occuring? Expecting your replies soon
    Thanks,
    Priya

    Thiyaga, did you read the devguide or the tutorial ?
    Can you please give me the inputs about the creation of LOV and it requires how many lov mappings as mandatory?
    This is there in the devguideHow to identify the mapping fields of an LOV which is already existing in the base page to reproduce in a similar way and need to do a customization on top of it ?
    Open the page XML and you can find the LOV mappings.Tapash

  • How to identify the no is prime or not ,no is more than 9 digit?

    how to identify the no is prime or not ,no is more than 9 digit?
    becaz long does not store more than 9 digit , like example
    long number=9876543218; // it will throw the compile time error
    so how to get this?

    It is too easy to understand whether the given value
    is prime or not.
    THe following code snippet does this .
         public boolean isPrime(int pr){
              int num = 0;
              for(int a = 2; a < pr; a++ ){
                   if(pr % a == 0)
                        num = 1;
              if(num == 1)
                   return false;
              else
                   return true;
         }(Simple eh)And if you end at the square root of pr you get a nice speedup. You can get a further speedup by changing the incrementation strategy (2x really easily, 6x if you start at 5 (explicit test for 2 and 3) and increment alternatively by 2 and 4), but that's not entirely necessary.
    ~Cheers

  • Server does not support setting more than 5 shared access policy identifiers on a single container

    Hi,
    I upload a video file to a new Asset. I then attempt to create a streaming URL by creating an Access Policy and then a Locator, which I use to generate the URL used for streaming.This works great. Until the 6th time you execute
    that code against the same Asset. Then you receive this error:
    "Server does not support setting more than 5 shared access policy identifiers on a single container."
    So, that's fine. I don't need to create a new AccessPolicy everytime, I can reuse the one I've created previously, build a Locator using that same policy. However, even then, I get the error about 5 shared access policies on a single container.
    Is this the Lmitation of media service? or am I missing something?
    Following is the code I used for this:
    if (AssetId != "")
                    inputAsset = (from a in _context.Assets
                                  where a.Id == AssetId
                                  select a).FirstOrDefault();
                    policy= (from a in _context.AccessPolicies where a.Name==inputAsset.Name select a).FirstOrDefault();
                    var assetFile = inputAsset.AssetFiles.Create(Path.GetFileName(singleFilePath));
                    var locator = _context.Locators.CreateLocator(LocatorType.Sas, inputAsset, policy);
                    assetFile.Upload(singleFilePath);
                    locator.Delete();
                    MediaElement media = new MediaElement();
                    media.AssetId = inputAsset.Id;
                    media.Title = Path.GetFileName(singleFilePath);
                    var result = Save(media, singleFilePath);
                    return inputAsset;
                else
                    inputAsset = _context.Assets.Create(User.Identity.Name, AssetCreationOptions.None);
                     policy = _context.AccessPolicies.Create(
                                        inputAsset.Name,
                                        TimeSpan.FromDays(30),
                                        AccessPermissions.Write | AccessPermissions.List
    | AccessPermissions.Read | AccessPermissions.Delete);
                     var assetFile = inputAsset.AssetFiles.Create(Path.GetFileName(singleFilePath));
                     var locator = _context.Locators.CreateLocator(LocatorType.Sas, inputAsset, policy);
                     assetFile.Upload(singleFilePath);
                     locator.Delete();
                     policy.Delete();
                     MediaElement media = new MediaElement();
                     media.AssetId = inputAsset.Id;
                     media.Title = Path.GetFileName(singleFilePath);
                     var result = Save(media, singleFilePath);
                     return inputAsset;

    Hi,
    I found some information related to
    Stored Access Policy , Shared Access Signatures   please check if it helps.
    Regards,
    Shirisha Paderu.

  • How can we enter value more than 99 crores in valuation price field in PR

    we want to fill value more than 99 crores in valuation price while making a purchase requisition in sap.
    we are not able to do that
    we are getting error
    entry too long (enter in the format ,,,~.)
    how can we configure to get more than 9 digits in a value field in sap
    is this the right forum to post this question
    Edited by: ca sanjeev mehndiratta on Jan 6, 2010 6:14 AM

    Hi,
    you can't enter more then 9 digits. This field is using a domain WERT11 which has format 9.2. You could try to modify SAP standard and add some additional digits for this field but this is very risky thing.
    Cheers

  • How can I make Function return varchar2 more than 4000

    I have a function
    FUNCTION testing (v_pk_application in number, v_inccharges in char)
    return varchar2(30000)
    --return number
    is
    v_net_sum varchar2(30000);
    v_net_sum2 varchar2(30000);
    v_datarow varchar2(3000);
    v_datarow2 varchar2(3000);
    begin
    return v_net_sum;
    end;
    I want to return varchar2 more than 4000, how can I do that.
    Thanks

    user10659388 wrote:
    I want to return varchar2 more than 4000, how can I do that.A function can return a string up to the maximum allowed for varchar2.
    Varchar2 can be up to 32767 characters...
    SQL> create or replace function ret_str return varchar2 is
      2    v_str varchar2(32767);
      3  begin
      4    v_str := lpad('*',32767,'*');
      5    return v_str;
      6  end;
      7  /
    Function created.
    SQL> declare
      2    v_retstr varchar2(32767);
      3  begin
      4    v_retstr := ret_str();
      5  end;
      6  /
    PL/SQL procedure successfully completed.However, SQL only supports varchar2 up to 4000 characters so the same function will cause SQL to error, even though the function is perfectly valid.
    SQL> select ret_str() from dual;
    select ret_str() from dual
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SCOTT.RET_STR", line 5
    SQL>So, if you intend to use the function only in PL/SQL then you can use varchar2 up to 32767 characters, but if you intend to use it in SQL then you will be limited to returning 4000 characters. Alternatively you can return a CLOB which SQL supports but they are a little more tricky to work with than varchar2...
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace function ret_str return clob is
      2    v_str clob;
      3  begin
      4    v_str := lpad('*',32767,'*');
      5    return v_str;
      6* end;
    SQL> /
    Function created.
    SQL> select ret_str() from dual;
    RET_STR()
    SQL>

  • Can not color label more than one file at a time

    Hi,
    I've had this problem since 10.6.6-ish, i can not color label more than one file at a time in the Finder.
    Wether i select two, twenty or twohundred only one file gets color labeled.
    It doesn't seem to matter if i assign a color label through the File menu or right click > label.
    Figured a re-install might fix this but it hasn't (even a clean install without restoring any kind of backup).
    Does anyone else have this issue and/or a fix for it?
    Thanks,
    Jay

    Aaaaanyone ?

  • LSMW For Converting Open Sales Orders (not working for more than 1 item)

    Hi,
    I am using following standard object for Open sales orders .
    Object               0090   Sales documents                   
    Method               0000                                     
    Program Name         RVINVB10                                 
    Program Type         D   Direct Input                         
    Its not working for more than 1 line item.
    For more than 1 line item its giving Error saying that
    '102122                         V1                   845
    Print parameter SAPML2 1 is not defined
    Can anybody help me out in this regard.
    Thanks in advance.
    Nitin.

    hello, friend.
    i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
    do test a few sales orders by doing this for a larger scope.
    regards.

  • Bought a ipod nano 6th and is not playing for more than 2 min?

    bought a ipod nano 6th and is not playing for more than 2 min?

    The most likely problem is that the headset is not inserted fully. When you insert the headset, you should feel and hear a "Click" to let you know it is inserted all the way.
    The problem is that if it is not inserted all the way, the nano does not detect it. If it is not detected, it will pause playback when the screen goes dark. This is to keep your battery from draining when there is nothing connected to listen to the music.
    i

  • My iPhoto was deleted so I re-installed it, since then iPhoto will not say open more than 10-15 seconds.  How do I get it to stay open and keep my pictures?

    My iPhoto was deleted so I re-installed it & since then, iPhoto will not say open more than 10-15 seconds.  How do I get it to stay open and keep my pictures?
    It's a MacBook Pro, I got it last year (2010) not sure where to find the operating system info. 
    Please Please Please Help!
    Thanks!
    Katie

    I always recommend backing up the iPhoto Library file under your Pictures folder first.
    You can try removing the iPhoto Preference file in your User Library folder. Close iPhoto. If you are using Snow Leopard (10.6) click on Go in the Finder menu bar. Click on Library. If you are now on Lion (10.7), you'll have to hold Option key while clicking Go to see the Library selection. Once here, find the Preferences folder. In here, look for the following:
    com.apple.iPhoto.plist
    Move this file to the desktop. Start iPhoto and see what happens. If it is working, you can delete the file you moved to the desktop. This should not delete any photos, but will reset iPhoto as if it's the first time you are opening it (so your preferences you set may need to be set back).
    If this doesn't work, let me know.

  • Songs stop playing on my iphone I try to start it again and it will not play for more than 2-4 seconds, does anyone have the solution to this problem?

    I have Imatch and songs stop playing on my iphone I try to start it again and it will not play for more than 2-4 seconds, does anyone have the solution to this problem?

    By "hard reset" you mean hold down the Home and power buttons until the iOS device restarts, correct?

  • Text item mapped against more than one LOVs for returning value

    hi to all,
    is it possible to have two LOVs (LOV1 & LOV2) that return value to a same text item (:LOV_VAL )on a form.
    i.e.
    on selecting LOV1 row, value is returned to :LOV_VAL item.
    On selecting LOV2 row, value is returned to :LOV_VAL item.
    on the basis of valued retured to :LOV_VAL the data block is queried.
    If yes how , if now please provide me alternative way.
    Thanks in advance.
    plz do it fast.

    Hello,
    Why don't you try ?
    You can define a return item for each column of each LOV.
    If you want, you could have one hundred LOVs that return the same column in the same item.
    Francois

  • LOV Return To More Than One Column

    Hello,
    How could I return LOV values to more than one column?
    I created a dynamic LOV based on sql statement. I would like to return more than one values to multiple columns in my page.
    E.g. When user selects employee number name, department and location to return to respective columns.
    Any help is highly appreciated.
    I am using APEX 3.2.0.
    Thanks

    hi,
    Below link might help you.
    http://rutgerderuiter.blogspot.com/2008/10/update-multiple-items-from-lov-field.html

Maybe you are looking for