H:selectOneMenu values are not reseting

Hi, I am unable to find the solution, I have h:selectOneMenu drop down, which having List, bean is session scope, so If I change the drop down to other value, it remaining same, so what I did, I am removing the list from session and reloading the list, still its point to old value in the list,
so how can I reset it to first value ?
Thanks
Srikanth

Hi Balu, I changed the List(SelectItems) to reuqest Bean(I creaed new one only for List), so when user select the list from drop and search still the list pointing to old value(only dislaying is porblem), below is my request Bean Code
public class SelectListVluesBean {
     String mtdStr=null;
     ArrayList mtdList=null;;
     String qtdStr=null;;
     ArrayList qtdList=null;;
     public void setMtdList(ArrayList mtdList) {
          this.mtdList = mtdList;
     public String getMtdStr() {
          return mtdStr;
     public void setMtdStr(String mtdStr) {
          this.mtdStr = mtdStr;
     public void setQtdList(ArrayList qtdList) {
          this.qtdList = qtdList;
     public String getQtdStr() {
          return qtdStr;
     public void setQtdStr(String qtdStr) {
          this.qtdStr = qtdStr;
     * getMtdList -This method adds the default value to list.
     * @author sgoud
     * @param
     * @param
     * @return void
     * @uml.property name="manageSurveyStr" prior month
     public ArrayList getMtdList() {
          if(mtdList==null || mtdList.size() == 0){
          // selectItems = new ArrayList();
          mtdList = new ArrayList();
          SelectItem selectItem = null;
          selectItem = new SelectItem(("MTD"), new String(("MTD")));
          mtdList.add(selectItem);
          selectItem = new SelectItem(("LM"), new String(("LM")));
          mtdList.add(selectItem);
          selectItem = new SelectItem(("PM"), new String(("PM")));
          mtdList.add(selectItem);
          selectItem = new SelectItem(("QTD"), new String(("QTD")));
          mtdList.add(selectItem);
          selectItem = new SelectItem(("LQ"), new String(("LQ")));
          mtdList.add(selectItem);
          //selectItem = new SelectItem(("YTD"), new String(("YTD")));
          //mtdList.add(selectItem);
          selectItem = new SelectItem(("LY"), new String(("LY")));
          mtdList.add(selectItem);
          //selectItem = new SelectItem(("BYTD"), new String(("Brand YTD")));
          //mtdList.add(selectItem);
          selectItem = new SelectItem(("LBY"), new String(("Brand LY")));
          mtdList.add(selectItem);
          return mtdList;
     public ArrayList getQtdList() {
          // selectItems = new ArrayList();
          if(qtdList==null || qtdList.size() == 0){
          qtdList = new ArrayList();
          SelectItem selectItem = null;
          selectItem = new SelectItem(("QTD"), new String(("QTD")));
          qtdList.add(selectItem);
          selectItem = new SelectItem(("LQ"), new String(("LQ")));
          qtdList.add(selectItem);
          selectItem = new SelectItem(("MTD"), new String(("MTD")));
          qtdList.add(selectItem);
          selectItem = new SelectItem(("LM"), new String(("LM")));
          qtdList.add(selectItem);
          selectItem = new SelectItem(("PM"), new String(("PM")));
          qtdList.add(selectItem);
          //selectItem = new SelectItem(("YTD"), new String(("YTD")));
          //qtdList.add(selectItem);
          selectItem = new SelectItem(("LY"), new String(("LY")));
          qtdList.add(selectItem);
          //selectItem = new SelectItem(("BYTD"), new String(("Brand YTD")));
          //qtdList.add(selectItem);
          selectItem = new SelectItem(("LBY"), new String(("Brand LY")));
          qtdList.add(selectItem);
          return qtdList;
and my JSFcode is
     <f:facet name="header">
                                        <h:selectOneMenu value="#{selectListVluesBean.mtdStr}"
                                             valueChangeListener="#{storeReportBean.doMonthtodate}"
                                             onchange="submit();" styleClass="tableheader2" immediate="true" rendered="true">
                                             <f:selectItems value="#{selectListVluesBean.mtdList}" />
                                        </h:selectOneMenu>
                                   </f:facet>
<f:facet name="header">
                                        <h:selectOneMenu value="#{selectListVluesBean.qtdStr}"
                                             valueChangeListener="#{storeReportBean.doQuartertodate}"
                                             onchange="submit();" styleClass="tableheader2" immediate="true" rendered="true">
                                             <f:selectItems value="#{selectListVluesBean.qtdList}" />
                                        </h:selectOneMenu>
                                   </f:facet>
-------faces.config
<managed-bean>
          <managed-bean-name>selectListVluesBean</managed-bean-name>
          <managed-bean-class>com.limited.smg.reportsBean.SelectListVluesBean</managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
     </managed-bean>
     <managed-bean>
          <managed-bean-name>storeReportBean</managed-bean-name>
          <managed-bean-class>com.limited.smg.reportsBean.StoreReportBean</managed-bean-class>
          <managed-bean-scope>session</managed-bean-scope>
     </managed-bean>
Thanks
Srikanth

Similar Messages

  • Revenue values are not flowing into COPA

    Dear Experts,
             We are processing the MTS normal scenario. Here the revenue values are not flowing into COPA when FG sale. But when we process the Raw material Sale values are flowing to COPA smoothly. Here the SD condition Type, Revenue Account and COPA value Field same for RM and FG.
    May I know the exact reasonu2026.
    Please suggest me in right wayu2026.
    Regards,
    Balaji Bhonsle.

    Hi Balaji bhau
    I guess the issue might be with your Item Category in SD.. Is it set relevant for billing??
    See if the Billing Type has been entered in KE4W and the VF reset for it
    Check in VFX3 if the invoice is lying there for any error.... Try to release the Billing to accounting and you may get the error message
    br, Ajay M

  • GR/IR A/c Amount and Amount in local Curreny values are not matching

    Hello Gurus
    When we are doing MIGO for some Scheduling Agreement PO's the Amount and Amount in local currency columns are mismatching with  paise (+/-), eventhough PO belongs to Local Currency (INR). Because of this GR/IR account is not cleared after MIRO through F.13. Both MIGO and MIRO amount are showing as Open items.
    Why it is happening and what is the way to clear GR/IR A/C. (F.13 with Tolerance limit is also not workout).
    Thanks & Regards
    Venkat.P

    Hi sridhar
    Thanks for reply
    Through MR11 also these values are not cleared.
    Regards
    Venkat.P

  • While Creation Of SaleOrder Char Values are not getting saved.(V C)

    Hi SAP gurus,
    One of my client can able to create a saleorder but when we go and see in VA03 Display mode,we found Charactrestic values getting miised out.What could be the probale reasons.
    Note: I Have stimulate the required combination as per my client requirement in CU50,here i can able to indentify the Green Sign,but While Creation Of SaleOrder Char Values are not getting saved.
    Awaiting for your valuable reply.
    Cheers,
    Kumar.S

    Kumar ,
    If you assign values in classification view or configuration profile  they will become default for the product, and it willnot be changed in sales order.
    another thing if the item category is incorrect you will not get the configuration pop up at all .
    problem what i understand from your thred is at the time of sales ordeer creation there is some inconsistances in the configuration , may be some condition is not fullfilling.
    If in CU50 the result shown are error free, same configuration should owrk properly in sales configuration process, please again try to create it in sales order with same value assignment also check all the messages.
    see the result of configuration before saving the sales order , i hoep it will work for you.
    I am assuming all the things from SD are properly configured ie item catageory, varient pricing etc.
    Check and revert back.
    Regards
    Ritesh

  • Values are not getting updated in sales report

    I have configured sales information system, and i have been trying to run sales report but values are not getting updated in sales report, System will through message that no data exists.
    regards,
    thooyavan

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Values are not getting updated in 'stocks App' in my i4 phone.  What is the solution?

    values are not getting updated in 'stocks App' in my i4 phone.  What is the solution?

    you have encountered activation lock.  Read iCloud: Activation Lock

  • Excise values are not flowing  in MIGO

    Dear All,
    I am facing a problem during MIGO.
    THERE IS STOCK TRANSFER BETWEEN 2 PLANTS AND 2 PLANTS ARE UNDER DIFFERENT COMPANY CODES.
    1 I have created a PO.
    2.Delivery through VL10D
    3.Picking-vl02n
    4.Created Bill-VF01
    5.Created Invoice and saved it
    When I am doing MIGO the excise values are not following.in migo SCREEN.I I want to know do i need to post EXCISE INVOICE and how to do the same.
    Pl let me know anything is missed out so that excise invoice is not flowing in MIGO screen.
    Regards
    Manash

    Hi,
    Have you miantained Tax code in STO ? if yes, then have you mainatained Settoff as 100% for that Tax Code in FV11 for which combination you are using
    SETOFF Must Be Maintained:-
    JMX1 --     IN: A/P BED setoff
    JEX1 ---      Ecess Setoff Sta
    HX1     IN: A/P SECess SOTot       
    If it is there please follow the Following steps for STO
    1.     Create Purchase Order(STO)  using ME21N
    2.     Create Outbound Delivery using VL10B
    3.     Create Billing Document using VF01
    4.     Create Excise Invoice using J1IIN
    5.                   GR with respect to Inbound delivery and in Excise Invoice give number of VF01.
    Hope Help U !
    Regards,
    Pardeep Malik

  • Screen values are not retained in Tcode BP, onclick of SAVE button

    Hi,
    In Tcode BP, I am selecting a Role with the Business Partner number. COMPANY CODE Push button on the Top is Enabled and Click on that.
    Enter the Company Code and provide the Account management tab by providing Reconciliation Acct 120113, Sort key as 035, Planning Group as E1. Go to Payment Transaction Tab, Enter the Payment terms as Z003, check Record payment history. Now, Click on SAVE Button on the TOP.
    The issue is that, The screen values are not retained in the Payment terms tab and Customer is not Created after saving of a BP Number which is related to a Customer.
    Regards,
    Deepthi.

    OSS Note 1254214 is applied and it is solved.

  • CRM 7.0 WEB IC - context node values are not seen in webIC

    Hi
    can anyone help me in resolving my problem in CRM WEB IC.
    Actually i have added a new context node Using wizard , by right clicking the context nodes. i have four custom fields in that node, these i have to show on the View Account overview and the context node for this is Account where i have to fetch data based on the BP_number i have in Account, i have to  display custom fields from the context node BALANce which i have created .
    I gave all my coding in do_prepare_output method. But the values are not passing to my custom fields as a result the view in WEB IC dissappears saying
    &NBSP;
    Cannot display view IUICOVW/AccInfo of UI Component IUICOVW
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    Method:  ZL_IUICOVW_ACCINFO_IMPL=>DO_PREPARE_OUTPUT 
    Source Text Row:  82
    Edited by: nelachinni on Dec 16, 2010 10:04 PM

    Hi,
    Could you please share what are you trying to access at line 82 in do_prepare_output ? sharing code snippet might help in understanding the issue.
    Cheers,
    Sumit Mittal

  • Forms values are not displayed correctly

    This is happening on the client view. I have a custom form and after some Windows updates on user's laptop, the text field values started stopping to display in the form. If I click on View mode then the text values shown and change back to Edit the form
    now text values show up in the text field.
    Another thing is when trying to print the view out, text values are not shown up at all. I tried to upgrade user to IE11 and same issue. Using Firefox then text values are shown in print preview but not in Editing. I don't want users to use different browser
    rather than IE.
    Any thoughts on this would be much appreciated.

    Hi,
    Since the issue happens after some Windows Updates, I would suggest the user log on another machine and see if the issue persists. If the issue only happens on this laptop, you can manually uninstall the update patch you doubt to test
    the issue. Go to Control Panel->Programs and Features->View installed Updates->”right click” and “uninstall”.
    Meanwhile, add the SharePoint sites to a trusted zone in IE settings.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Updated (VORowImpl ) values are not reflected in inline POPUP table

    Hi Expert,
    Currently i am getting exception when i try to update my iterator binding,
    Here is my use case,
    I have view object displayed inside the inline popup as a table. When i modify one of the cell i am firing the value change listener and it is called the ViewObjectRowImpl class method. Inside the method i do some computation (i am executing some DB query to get back some value). After the query execution i am updating the other columns data based on the changes.
    First i have PPR the table and check out the update values. Unfortunately the change values are not reflected.
    Then i used the following code
    DCIteratorBinding itrBinding = findIteratorBinding("EmployeeVO1Iterator");
    if (itrBinding != null) {
    itrBinding.executeQuery();
    itrBinding.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
    Now i am getting the " JBO-25003: Object EmployeeMgmtAM of type ApplicationModule is not found."
    May i know what went wrong? Am i missing anything. May i know how can i refresh the UI table based on the updated VORowImpl. Looking forward hints.
    Thanks

    Thanks Frank, Actually i am accessing the client method as follows,
    DCIteratorBinding itrBinding = findIteratorBinding("EmployeeVO1Iterator");
    if (itrBinding != null) {
    EmployeeVORowImpl employeeVO = (EmployeeVORowImpl)itrBinding.getCurrentRow();
    empoyeeVO.methodName();
    May i know what is the different between accessing the method as shown above and access via the MethodBinding?
    How about access the attribute of the View object using the above approach? i.e empoyeeVO.getName() like ....
    Also i have configure the ADF looger to finest level and found the primary reason to "Applicaiton module not found" was some entity validation. But this not always happened. Same test case works fine and fails sometimes. I am clueless. Could you please throw some light.
    Thanks
    Edited by: user1022639 on Feb 7, 2012 5:24 PM

  • AET Generated field values are not saved.

    Hi Gurus,
    I have created two AET fields on the screen (marked below) and that should store values in table CRMD_CUSTOMER_H. When I create a new service request and enter the values and save, AET field values are not saved. Again, when I edit the same service request and enter the values and save , AET field values are saved on the database.
    While  debugging  I found that, relationship BTHeaderCustExt does not exist for the first time and second time onward its appearing. Due to this, data is not being saved at first time (Line no 27 : current is empty).
    When tried to create realtionship using create_related_entity , it throwing exception cx_crm_genil_model_error.
    Please advice me the soution for the same.
    Regards,
    Anand

    there should be a context node at your view level. Please check ON NEW FOCUS method is implemented or not.
    If not, you can implement that method with below code.
        DATA: lv_collection TYPE REF TO if_bol_bo_col,
              entity        TYPE REF TO cl_crm_bol_entity.
    *   get collection of dependent nodes
        entity ?= focus_bo.
        TRY.
            lv_collection = entity->get_related_entities(
                   iv_relation_name = 'BTHeaderCustExt' ).
            IF lv_collection IS NOT BOUND or lv_collection->size( ) = 0.
              IF entity->is_changeable( ) = ABAP_TRUE.
                TRY.
                    entity = entity->create_related_entity(
                     iv_relation_name = 'BTHeaderCustExt' ).
                  CATCH cx_crm_genil_model_error cx_crm_genil_duplicate_rel.
    *               should never happen
                ENDTRY.
                IF entity IS BOUND.
                  CREATE OBJECT lv_collection TYPE cl_crm_bol_bo_col.
                  lv_collection->add( entity ).
                ENDIF.
              ENDIF.
            ENDIF.
          CATCH cx_crm_genil_model_error.
    *       should never happen
            EXIT.
          CATCH cx_sy_ref_is_initial.
        ENDTRY.
        me->set_collection( lv_collection ).

  • Parameter values are not showing in in the Organization Parameter form

    We have done a setup for an Inventory Organization.
    Everything was working fine.
    Values were showing everywhere.
    We have lot of transactions done in the org also.
    But suddenly yesterday when I was trying to open the Organization Parameter form for that specific organization, the form came up as blank and in the bottom the error is Query caused no records.
    I have checked data is there in the base table mtl_parameters.
    Value is coming for other organizations. Only one specific organization is having this issue.
    Even in Examine, I have taken the last query run on that form and ran the same in back end database, I can see all values are there in the database.
    But in frontend screen the values are not showing. even organization code also not showing.
    Navigation is: Inv Super user --> Setup --> Organization --> Parameter

    Have you checked Organization Access to ensure that no one restricted that org?
    Or shipping grants and roles?
    I think there are quite a few places that you can restrict access.

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • Excise Values are not flowing from J1IJ to VF01

    Hi All,
    I am facing the problem in Invoice to Customer(from Depot). Excise Values are not flowing from J1IJ. I maintained Alt Cal type as 356 in Pricing procedure for Excise condition types. Even though its not flowing. I am using Tax Procedure TAXINN.
    I have gone through SDN, everybody is suggesting about 356 routine.
    My scenario is STO from Plant to Depot and Sale from Depot to Customer.
    ME21N->VL10B->VF01(Proforma)->J1IIN->MIGO->VA01(from Depot)->VL01N->J1IJ(Depot Excise)->VF01(Invoice to Customer)
    In J1IJ, excise values are coming but in VF01 it is not coming.
    Kindly help me.
    With Regards
    Azeez.Mohd

    Hi,
    in j1ig initial screen which excise group/series group i need to enter
    is it of supplying plant or depot --- Enter Your Excise group
    If i enter material document no say 5000000265 (corresponds to migo-101 at depot )& year
    it'm getting error message excise invoice already exists for5000000265 --> Check the Year of material document
    You can also use the Excise Invoice Details tab
    Enter Vendor's Ex.Inv.No. , enter your STO's Excise Invoice No. and Click on Own factory and enter factory's Series Group in n case of STO from factory,
    use Depot Excise Invoice in case of transfer from another depot
    and Excise Inv. Date
    On next screen,
    In case of non availability of Internal Excise No., select the line item and click on button. On next screen, enter Excise Inv. No., Date, Challan Qty, Excise Base value, ensure that Excise Duty rates are maintained in respective duty rates column, you can also manually enter the excise duty amount and press Enter . System will give warning messages, press Enter for each message and press Back button. System will display the excise duty amount, check the same and click on Save button.
    Hope this will resolve your issue.
    Regards,
    Krishna O

Maybe you are looking for