Clearing out lov field

Hi all
I have a radio button and 2 other fields field1 and field2 besides it.
Field1 and field2 are both LOV's. Based on the radio button value my cursor goes either to field1 or field2. I then bring up the lov and everything works fine.
I'm having problems clearing out the fields for eg when I move out from field1 to field2 then field1 needs to clear out.
Can someone pls help me with this?
Thanks

I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

Similar Messages

  • Issue with clearing the LOV field

    Hi,
    Could someone please help me with the code to reset/clear the value of an LOV field.
    I have a messageChoice and an LOV on the page. My requirement is that when a value is selected from the messageChoice, the value populated in the LOV field needs to get cleared.
    I have defined a PPR event for the messageChoice bean and I am handling it in the PFR of the CO.
    However, the below code does not clear the LOV field.
    lovBean.setValue(pageContext, null);
    lovBean.setText(pageContext, null);
    If I add the statement lovBean.setText(""), then the value selected from the LOV window does not get populated in the LOV field in the base page.
    The LOV is based on a VO and has just a single result mapping defined.
    Thanks.

    As per OAF standards, you cannot set a bean value in process form request, i.e. methods like
    lovBean.setValue(pageContext, null);
    lovBean.setText(pageContext, null);
    You can clear LOV using either of the ways:
    1)Redirect the flow to process request from process form request,i.e redirect to same page and then set value using
    lovBean.setText(pageContext, null
    2) in process form request , get the VO row attached to the LOV and update the corresponding attribute value as null.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • SRM Shopping Cart - how do you clear out custom fields on a SC create

    We have added custom fields to the Shopping cart header.  now when we use an existing shopping cart to create a new one (do a copy from within SRM UI) the data in these custom fields on the existing shopping cart is copied tothe new shopping cart.  We doNOT want this to happen but we can't find a place to add code to clear them out.

    we ended up putting code in this method and solved the problem  IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE

  • Issue with Popup LOV field not clearing out "default" value

    I am using APEX 4.0 & Oracle 10g
    I have a form that displays a default value on a "Popup LOV" field (say P1_POPUP) when the Form is initially displayed to the user. The default value is part of the Popup LOV list of values. If the field is "manually cleared" *i.e. I clear the default value by backspacing and don't touch the LOV) and I Refresh (submit) the form (REFRESH button to display the same Form again), the default value is still displayed.  
    In Post Processing, I debugged the value of P1_POPUP to see if holds the default value and yes it does. I was expecting no value in P1_POPUP.
    Is this an APEX standard behavior?
    Any way how I can get rid of this value on an manually clearing action of this Pop Up field?
    Looking forward for your response.
    Thank very much in advance.
    Ed.

    I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

  • Not able to clear out a formula field value when variables are equal to 0

    I am trying to calculate the difference between a formula field from a main report and a formula field from a subreport. When i run the report i get a correct difference calculation only when both formula fields have a value different than 0. When both values are 0 then the difference calculation shows the last item quantity from the formula field in the subreport that had different values than 0.  It looks like the difference calculation is not being clear out before jumping to the next value calculation.

    try to clear the variable values once done with calculation like
    whileprintingrecords;
    shared numbervar i:=0;
    regards,
    Raghavendra

  • How do I add a number from one field to another then clear out the first field

    In a form I am creating I have a field or a series of fields that have variable numbers in them. I would like to create another set of fields that when I click on a button (or some other method) will add whatever number is placed in another field to that first field.
    For example:
    Text1a is normally a variable field. I have another field (text2a)  that I input another number into. I normally add these two numbers together manually and the total replaces what was in Text1a.
    Text1a = 4, I enter in a 2 in Text2a, so now Text1a will become a 6. I would like to have it so that when I click on a button it automatically adds the two numbers together and then replaces the current number in Text1a with the new total and also clears out the number in Text2a.
    Note: Text1a and Text2a are columns where the next filed down is Text1b and Text2b and so on.
    Can someone please help me on this?
    Bruce

    If you have a nanoSIM that is for your cell provider just activate it and it should set it up.

  • Group managers and Contributors fields are randomly cleared out in Terms Store Management Tool

    Is there any explanation or how to solve this problem?
    Group managers and Contributors fields are randomly cleared out in Terms Store Management Tool in SharePoint 2010.
    Any ideas? Thanks!

    Hi arevsun, 
    For this issue, I'm trying to involve someone familiar with this topic to further
    look at it. 
    Thanks,
    Eric Tao
    TechNet Community Support

  • APEX 4.0 - AJAX not working with Popup LOV field

    Hello,
    In the application I have built I have three fields which are 'feeded' by selects via a AJAX construction.
    All three fields are based on three others, which are PopUp LOV fields. Up to version 3.2 I had no problems: the fields were 'refreshed' as expected when in the 'parent' field a specific value was entered or choosen by the Popup Lov selector.
    But since the migration to APEX-4 (lin a test-system) all the three fields are not correctly refreshed anymore: two of them give the value 'undefined', the third, which is a select-list shows values, but at the moment I try to click on the select-list down arrow to pick a value, the list is emptied and stays that way.
    More specific about the third field:
    item 1 is a popup-lov defined item in which a user can type a value, but can also choose a value from a popup-lov. Item 2 is based on item-1: it does a select based on the value of item-1 and refreshes a select-list. Item-2 is defined as a select list.
    I got it all working when making item-1 also a select list, but since the list can become very large, I made a Popup lov of it. Most users do know what code they have to enter and in case somebody is not sure, the lov can be used.
    In this forum I came across a problem with AJAX callback, which was answered by Patrick Wolf, saying that in an htmldb_Get ( ... ,0) the last 0 should be replaced by $v('pFlowStepId'), but this did not fix my problem. I have the feeling that the problem is somewhre else, since on first hand, after entering a value in item-1 I see item-2 refreshed with the correct values, but the moment I try to select one item, the list is emptied.....
    I hope I made it clear what my problem is and that somebody can help me, else APEX-3.2 was the latest version for this application....
    Thanks in advance and best regards,
    Jan.
    Edited by: user13110728 on 9-aug-2010 8:44

    Hi Jan,
    the problem is the
    onBlur="javascript:f_P21_select_kostenposten(this,'P21_KOSTENPOST');"on P21_GBREKNR. This is getting attached to the HTML input text field but as well the the anchor link which opens the popup. So when you leave the text field the cursor will be put onto the icon to open the Popup LOV. When you press tab another time or leave the anchor link by clicking somewhere the above JavaScript function is fired again. But the problem is that "this" this time points to the anchor and not the text item anymore, so it will return an invalid value when you access this.value in your f_P21_select_kostenposten function which results in an empty result of your on-demand call.
    I still have to investigate why the above JavaScript code is now added to the anchor link as well. But as a workaround, just change your code to
    onChange="javascript:f_P21_select_kostenposten(this,'P21_KOSTENPOST');"which is better anyway, because it's just firing when the value really got changed. And because the anchor link can't really be changed, the event will never fire when you leave the anchor. BTW you can use the Application Search feature to search for all your onBlur events. onChange is much better than onBlur because it doesn't fire that often unintended.
    But if you want to use some of the new APEX 4.0 features, you could use the cascading LOV feature of APEX 4 and avoid all this JavaScript and on-demand code which you have written.
    I have changed your application to take use of it.
    1) I changed the LOV query for P21_KOSTENPOST from
    select '('||replace(lpad(gbreknr, 3, chr(1)),chr(1),' ')||') '|| omschrijving d, kostenpost r
    from   kostenposten
    where  vervallen is null
      and  bedrijf = :P21_BEDRIJF
    order by gbreknr, kostenpostto
    select '('||replace(lpad(gbreknr, 3, chr(1)),chr(1),' ')||') '|| omschrijving d, kostenpost r
    from   kostenposten
    where  vervallen is null
      and  bedrijf = :P21_BEDRIJF
      and  (:P21_GBREKNR is null or gbreknr = :P21_GBREKNR)
    order by gbreknr, kostenpostas it was in your on-demand process. The query will return all values if P21_GBREKNR is null but will restrict it if the field is filled out.
    2) Set "Cascading LOV Parent Item(s)" to P21_BEDRIJF,P21_GBREKNR Because based on your LOV query I assume "Kostenpost" should be refreshed if one of the two fields gets changed.
    3) Set "Optimize Refresh" to No because one of your parent items (P21_GBREKNR) can contain a null value.
    4) Removed the onBlur/onChange from P21_GBREKNR
    5) Removed the *%null%* from the "Null Return Value" attribute of P21_BEDRIJF, because that will cause a ORA-1722 if someone picks "-- kies: --"
    That's it.
    Have a look at dynamic actions and the "Set Value" action as well, because I think that could remove your other on-demand calls as well without having to write any JavaScript code.
    I will still investigate what's going on with the anchor link in APEX 4.0
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • How can I clear the description field of ALL my bookmarks at once?

    Hello,
    I would like to clear the description field of all my bookmarks. To do this manually would be horrible. Is there some tool that can do it? Or is there some trick to edit the sqlite file?
    Also I'd be interested how I can stop Firefox from filling the description field when adding a new bookmark.
    Thank you in advance
    using Firefox 3.6.13 on Windows XP SP3

    Same poster asked same question and received answer on the Mozillazine forum: http://forums.mozillazine.org/viewtopic.php?f=38&t=2057513
    <br />
    '''foxfrog: Other issues that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox

  • BADI ME_PROCESS_PO_CUST - DOES NOT CLEAR OUT ERROR

    In ME21N I want to validate the field Commodity Code - STAWN. I have used the BADI ME_PROCESS_PO_CUST*
    . Have used get_foreign_trade() in the PROCESS_ITEM method . I am able to throw an error . It is doing it but*
    after throwing error then when we give a valid Commoditycode too it is still showing the error and not clearing the error  .*
    As suggested by Dean Q I used   INCLUDE mm_messages_mac,
    tried im_item->set_foreign_trade( ls_mepo_eipo)  still when a valid Commodity code is entered after an invalid one  it does not clear out the error. In fact on checking using break-point I found that the second time it does not enter into the method  PROCESS_ITEM.    Any help is welcome
    Nivedita

    Hi,
    In SE18 give ME_PROCESS_PO_CUST as the enhancement spot and display. At the left side of the screen you can see the badi definition ME_PROCESS_PO_CUST. Expand the tree and double click on implementations. You can see the enhance implementations created. Double click on the enhancement implementation and in that screen there is a check box 'Implementation is active' and field 'Effect in current client'.
    If you know the enhancement implementation name(not the badi implementation name), you can check it directly from se19.
    Regards,
    Poornima

  • Clearing out user entered variables

    I have a BI 7.0 query that displays materials that have not moved in 'X' number of days.
    1. My variable screen shows "No movements since <blank>". The user enters a number in this variable (ZV_NUM_DAYS)
        e.g. 90.
    2. I created a variable (not ready for input) on the movement_date field. This variable gets populated by a range of dates based on the "Number of Days" entered by the user in I_STEP2 of the variable exit.
    eg. LOW = 19000101
          HIGH = SY-DATUM - the value from user entered variable
    I still need to clear out the user entered variable ZV_NUM_DAYS so that a filter of '90' does not get applied to the cube.
    I cannot clear out ZV_NUM_DAYS in I_STEP2 as it is user entered. I tried doing so in I_STEP3 - clear out E_T_RANGE for the variable. The debugger shows me E_T_RANGE cleared out however it still sets the filter of '90' in the cube.
    Any thoughts on how to clear user entered variables ?
    Regards,
    - Ash

    Thanks for your responses.
    @Arunkumar - could you please elaborate on this option ? I don't know of a way to create variables on key figures.
    @Dennis - I tried turning the cache off - no effect. Turns out when I change e_t_range values in STEP3, it does not save the change somehow. Although the debugger displays the modified table data.
    Regards,
    Ash

  • Clear out tile list on change event

    I have a tile list component with thumbnails that changes when a combo box is changed.  The thumbnails load in videos when clicked.  When I change between items in the combo box, ghosted images of the previous item in the tilelist remain.  Also, the videos seem to be loading on top of each other when I change the combo box.
    In the change event, I would like the tilelist to clear out so there are no ghosted thumbnails from the previous combo box choice and I want the video player to clear out so the videos don't play on top of each other.
    This is the change event function that I have:
    myTileList.addEventListener(Event.CHANGE, listListener);
    // Detect when new video is selected, and play it
    function listListener(event:Event):void {
    var targetSource=event.target.selectedItem.data;
    if (targetSource.indexOf(".jpg")>-1) {
      //var URL=event.target.selectedItem.data;
      var req:URLRequest=new URLRequest(event.target.selectedItem.data);
      navigateToURL(req);
    } else {
      var flvControl:FLVPlayback=display;
      flvControl.source = event.target.selectedItem.data;
      flvControl.addEventListener(VideoProgressEvent.PROGRESS, progressHandler);
      flvControl.addEventListener(VideoEvent.READY, readyHandler);
      addChild(pb);
      flvControl.play();
    Do you see the issue that is causing the duplication?

    Hello Tim,
    And in GET_V of the attribute serving as dropdown you defined an event?
    * Set the type of the field:  dropdown menu
       CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'select'.
      ENDCASE.
    Best Regards,
    Yevgen

  • FAQ: How do I clear out my font cache to fix font style and duplicate font style issues?

    We have a Script availabe for CS6 beta users who are experiencing particular font related issues.
    This script will help by clearing the font cache and will test for corrupted fonts.
    This will solve some of the type issues with duplicate font names and some of the other font errors.
    This script is to help to find corrupted fonts. The script itself doesn’t solve the problem.
    This script doesn’t solve duplicate font name, but clears out your font cach .  It it will solve some duplicate font style name issues such as the one  in the link below.
    http://forums.adobe.com/message/4306828#4306828
    There is a pdf file explaining how to use the script and what it will do.
    See attached files.

    Monica, I know the Normal Character Style in Illustrator must be defined. But my question is about the Normal Paragraph Style, not the Normal Character Style. As Larry just said, in most of my documents, and in my New Document Profiles, these fields in the Normal Paragraph Style are blank (undefined), so I know this is possible. In a few older documents I'm converting, the Normal Paragraph Style has a defunct font, and even though my Normal Character Style is correctly defined with the current font, it's creating some weird behavior.
    Larry, it doesn't appear to be the document itself, it just appears to be not knowing what the right keystroke combo is to clear it. Just make a new file from a Document Profile where the Normal Paragraph Style does not define one of those font fields, define a font and/or font size, save, then reopen the paragraph style settings and try to clear any field that has been set. I can't clear it, I can only change the font.

  • UIX/XML LOV fields

    Hi!
    I'm trying to create a UIX page with a lov field. The lookup dialog is displaying a databound table where one row can be selected. Something like:
    <form name="frmlookup">
    <contents>
    <table name="tbl" id="tbl" data:tableData="issueidentifiers@issue@abc:test">
    <columnHeaderStamp>
    <text data:text="text"/>
    </columnHeaderStamp>
    <columnHeaderData>
    <col text="ID Context"/>
    <col text="Issue ID"/>
    </columnHeaderData>
    <tableSelection>
    <singleSelection text="Select a row">
    <contents>
    <button name="closeBtn" text="Return" onClick="window.returnValue="???"; self.close();"/>
    </contents>
    </singleSelection>
    </tableSelection>
    <contents>
    <styledText data:text="IssueIDContext"/>
    <styledText data:text="IssueID"/>
    <dateField minValue="" data:value="IssIDStartDateTime"/>
    </contents>
    </table>
    </contents>
    </form>
    When the user returns from that dialog the the lov field should be populated with a value of a column from the selected row.
    Whats the simplest way do this?
    How can I get a column value of the selected row using JavaScript?

    Yes I did look at the documentation, but it wasn't very helpful.
    I tried to do it like suggested:
    <script>
         <contents>
         function myCallBack(lovwin, event)
         alert("CallBack");
         document.frm.lov.value = "TEST";
         </contents>
    </script>
    <form name="frm">
    <contents>
    <lovField name="lov"
    shortDesc="Click to do a lookup."
    onClick="
    openWindow( self,
    'lookup.uix',
    'lovWindow',
    {width:350, height:200},
    true,
    'dialog',
    myCallBack);"
    />
    </contents>
    </form>
    But this didn't work - my callback function never got called, so I used showModalDialog(...) instead of openWindow, which works well.
    But still I couldn't figure out how to get the selected row of the databound table in the Lookup-dialog (see my first posting).
    Please help...

  • LOV field error in OAF

    Hi All,
    I have added a LOV field to a customOAF page ,the problem i am facing is as below:
    1>When i am giving partial character with '%' symbol like 'ABC%' and tab out in that case i am able to see the list of values ,but when i am selecting one value from the list of values it is erroring out as
    "You have encountered an unexpected error.Please contact the system administrator for assistance".
    but from the LOV window i am able to return the item.
    please help me on this
    Thanks

    Hi Leon,
    That error sounds very familiar. Whenever we got that error message, it turned out that we where missing a bean definition in our web.xml file.
    So check your web.xml for the occurence of AdminEenhedenLOVTable-beans.xml (it should be in the javax.faces.CONFIG_FILES parameter)
    If its not there you should be able to get it there by running your aplicationstructure file again.
    Regards,
    Ruud

Maybe you are looking for

  • System Shutdown under Windows2000

    Hy I need a VI that ends all running tasks and shutdown Windows2000. Under Windows98 I have used the "user32.dll" but under W2K it´s more complex and many DLLs are needed to do this. Have someone a shutdown VI or information about needed DLLs to shut

  • SQL Developer 1.1 : cannot connect to 9.2.0.7 database

    Hi, Windes XP SP1. Donloaded sqldeveloper 1.1 with JDK. Afer unzipping, when I open connection and setup new connection with userid/password and using connection type TNS and specifying 9.2.0.7 database service name as connect identifier, pressing te

  • How to create interactive pdf for Ipad using InDesign CS6

    Hi I created a Magazine layout using InDesign CS6 and wanted it to be viewed on native Ipad reader (but not as apps).  I put interactivity features like page navigations and hyperlinks and converted it to interactive pdf. The problem was the links an

  • Itunes Burn Error Occurred.

    Every time I try to burn a CD, it never works. It would start burning the first song, and then suddenly, Itunes would cancel the disk burn and then a little thing would pop up: "The attempt to burn a disk failed. An unknown error occurred (4000)." An

  • Collect colors into a palette?

    hi can CS4 collect all colors used in a particular .css and let me modify them like global colors in AI? as opposed to doing a bunch of tedious search and replaces.