Changing a item in a JComboBox

I must change the text in the JComboBox of an Item at the runtime. Is theree a way to change it without delating and adding it new?
Greatings
Sven

Note that this has anything to do with Swing, but rather with the fact that Strings are immutable. Also note that you can put other things than Strings in a combobox, and if you put something that is mutable in there you should be able to change its appearance in the combobox without deleting and re-adding it.

Similar Messages

  • Change of Item Categoy in Sales Order - AFS

    Hi Gurus,
    I am working on AFS. In the sales order for which delivery has not been created, system is not allowing to change the item category. From TAN to TAQ.
    I have maintained the Manual item category in VOV4. Still the item category field in sales order is in grey mode.
    Please let me now how to make it editable.
    Regards,
    Naren Dev

    Hi Naren,
    Can you please check if that item has any associated Purchase Requisitions?
    Standars SAP does allow change of item category if alternative item categories are configured and subsequent document are not yet created.
    Thank you
    Chaitanya

  • How to control Changing of item category in sales order Manually

    Hello Gurus,
    How to restrict manual changing of item category in sales order?
    Reason for it:
    When ever they want to give some free goods to customer , they are changing Item category in  Standard Sales order at item level  then deliverying free goods to  customer
    looking for your inputs
    Thanks in advance
    Regards
    Venkat

    Hello,
    There are two possible ways:
    1. In Item Caterogy Determination remove the Manual Item Categories so that system will determine the Item Category only from defined options.
    2. Use T-SHDO - create Screen Variant & make the item Category Feild as Display only.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Printing of changed line item in scheduling agreement  smart form.

    Hi experts,
    I am facing problem in printing of changed line item in schedule agreement.
    can any body tell me how to find the line item has been changed through programming?what is the procedure to fetch the data for new line item.its
    very urgent for me.
    Please help me in this regard.
    Priti Shrivastava

    Hi
    with the help of  T180-TRTYP field you know if that doc has been changed or created.
    If it is not equal to H it is changed. H means created.
    pass the TCODE of Sched Agreement and check this field.
    You can use the CDHDR and CDPOS table s to get the changed values of new item.
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Unable to change the item category in existing Scheduling Agreement

    HI,
    I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
    I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
    My question is :
    Is there a way to edit/change the Item category field without deleting the item?
    Whethere is it possible to do it in bulk update for group of items in SA?
    If it is possible, pls provide how to do it with steps.
    Kindly advice.
    Thanks. in advance!
    -Umesh

    Please try using MASS tcode with object BUS2013
    or MEMASSSA
    Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
    Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
    Refer for Mass upload function it is common for all
    [Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
    Edited by: Karthik on Jul 29, 2011 2:44 PM

  • Cannot delete login item "You cannot change this item because it's managed by your system administrator"

    We migrated a server (ldap and file serving) to some new machines, which have new names.  We've got all of the login and file sharing functionality working on the new machines, but wherever we have a mount of a share in the Login Items for a user, we can't get the old machine out of the Login Items.  It's not fatal, but it does make login take a lot longer because it has to fail first.
    We can mount the share from the new server, and save THAT in a NEW Login Item just fine -- it's just that when you click on the old defunct one the minus sign is greyed out, and the mouseover says "You cannot change this item because it's managed by your system administrator."  There is a yellow triangle next to the item in the list.  Went into the user's ~/Library/Preferences/com.apple.loginitems.plist and it's not in the file.  The /Library/Preferences don't have anything that looks like a plist of the right name.
    Where do I find it and how do I get rid of it?

    In response to ManishBhatt94's post today, I may have some information that may be useful to you. I called Microsoft's 800-642-7676 and spoke with a technical representative with questions pertaining to my particular issue. I also have friend that has the
    same issue with her computer running windows 8. A representative from my ISP told me how to go into 1)Tools, 2)Internet Options, 3)Connections, 4)LAN settings and uncheck the proxy settings box. However after restarting or shutting down my computer it reappears.
    It will also reappears while I play games on Facebook not allowing me continue until I go back into the proxy settings in LAN and uncheck the box AGAIN and AGAIN. A local owner of a computer repair shop told my friend that it was a virus. After speaking with
    Microsoft today I was told the same thing/it was more than likely a virus on my personal PC at home. As most people likely do,  I use wireless internet in my home on the affected computer. Solution; as suggested by Microsoft rep was to have the virus
    professionally removed either by someone or to use their remote service for a fee of $149 which comes with several guarantees and does not require you to re-install software or documents. I hope that my response was of some help to you. I also kept trying
    to fix this problem but wasted a lot of time. He also suggested to Google the proxy problem to see if ANYONE has any alternatives to fixing this problem!
     

  • Deriving/ change the item category from handling unit

    Hi SAP GURUS,
    In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
    Please let me know the required configuration or the development for this.
    Thanks

    i need ur help regarding the Sales order item category redetermination.
             we are having two item categories YNAE and YNAG and it contain schedule  line categories CP and CB ( i.e for item category  YNAE schedule line category is CP and 
             for item category  YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
             For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
             which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
    i am using UPDKZ = U  in both xvbap and xvbep for changes
    I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

  • How to change Service Item using BAPI_ENTRYSHEET_CREATE.

    Hi All,
    There's a requirement for me to upload/ Create Entry Sheet using BAPI_ENTRYSHEET_CREATE from the source file.
    The Header was given to me but the Service Item, they would like the flexibility to change the existing lines that was adopted from ML81N.
    Eg of the file.
    Header given:-
    PO NO
    Po Item
    Short Text
    Ext Entry Sheet No
    Service Location
    Period Start
    Period End ....n so on
    Service Item given:-
    Service Line (Extrow)
    Service Order Qty (Memge)
    Ext Service No (EXTSRVNO)
    The objective of this file is
    1) Create Service Entry Sheet (using Header)
    2) Adopt the Service Item
    3) Change Service Item (using Service Item)
    Could anyone guide me how to do it? If Using BAPI_ENTRYSHEET_CREATE...is actually creating it with full details of the upload file. but given to me, t requrement is they would like to create n change the item.
    Appreciates your help.
    Thank you.
    Regards,
    Sheena Wee

    Hi ,
    If you are trying to test the FM through TCode SE37 then it will not give you the desired output.Do one thing create a test program and there you call the FM with your data.I hope in this way you can solve the issue.
    Regards,
    Sarbajit.

  • Change in Item category in Sales order

    Hi,
    We have one requirement to change the quantity in the Billing document
    our requirement goes like this,
    Order was created with 10 Qty and PGI also done with 10qty, But physically customer receives 9 qty and Billing done with 10qty.
    Now customers will not accept for the Billing and Business has to change the quantity in the Billing without reversig PGI
    As per the legal regulations, we cannot reverse the PGI and change the quantity in Billing
    But as per the standard, we cannot  change the ITEM category in the sales order once the subsequent document is created.
    can you please let me know is there any solution to change the Item category in the sales order using User exit of any other way
    regards,
    santosh

    Since I was handling similar scenarios quite frequently when I was in domain, from my experience, I can share the same.
    It is known to customer also that billing cannot be changed once it is generated.  Hence, the client can request the customer to either deduct the amount to that extent while releasing the payment against that billing document or the client can give one number extra or credit in the subsequent shipment.  Any customer will accept for this.
    Meanwhile, I also dont understand why you want to change the item category after billing and what you would like to achieve over this.  If the above options is not acceptable to client, then the best approach would be generating a credit note straightaway against that billing document and set right the records.
    thanks
    G. Lakshmipathi

  • Changing the  item categories of Sales order in web IC

    Hi experts,
    We are working on CRM 5.0 with Web IC
    We have a scenario where we need to change the item categories of some of the items in sales order.
    But in a standard sales order I cant see the item categories of line items in WebIC.
    Now the issue are
    1. How to make the item categories available in web ic?
    2. Is there any standard config to do this or we have to go for development ?
    3.Is it possible to change the itemcategories in Web IC?
    Can any body suggest me with suitable solution
    Points shall be rewarded for sure
    Regards,
    Madhu

    Hi,
    you dont change the item category at the header level. The item category will be changed at the item level and the code to do this is
    lv_entity_items->set_property( EXPORTING iv_attr_name = 'ITM_TYPE' iv_value = lv_itemcat ).
    here lv_entity_items is one of the entity in the collection for AdminI . lv_itemcat is the value you want your item category to be set to.
    hope this helps.
    Reward useful answers.
    Regards,
    S Sarma.

  • Change of item cat TAC in Sales order

    Dear experts,
    while creating sales order which is with variant configuration ... in the sales order line item item cat TAC is in greyed mode.. but i wanna change the item cat....
    regards
    abhi

    Hi,
    The item category is defined by SO type, item category group, usage and item category of the higher level item. The item category for configurable material is TAC. pl check the path SPRO-IMG-sales and distribution-sales-sales document item-assign item categories...execute....check in the item category assignment overview which item categories are allowed for the combination of order type,item category group, usage and higher level itemcategory. if only TAC is maintained then add the other item categories that you want to be manually entered for this combination in the field MItCa.upto 11 manually allowed item categories can be maintained.
    Hope this helps....
    Regards,
    vijay kumar

  • Changing the item category in the order

    Hi Experts,
    According to my rek,
    I need to change the item category based on a condition, for this For this in the order_save BADI I used the FM crm_order_maintain and passing the ct_input_fields as item_category and ct_orderadm_i.
    But the values is not changing the order , do I need to pass any other import or chanage tables.
    Thankn in Advance,
    Praveen

    Pls use the BADI CRM_ORDERADM_I_BADI. Wtire you condition and populate the field
    cs_orderadm_i_badi-ITM_TYPE. Use the method CRM_ORDERADM_I_MERGE

  • In Blackberry Z 10 "HUB MANAGEMENTS", automatically changes the items that are included in my main View of the Hub Managements.

    In Blackberry Z 10 “HUB MANAGEMENTS”, automatically changes the items that are included in my main View of the Hub Managements.
    I really don’t know how it happens, “Off or On” thing, without knowing me.  When any Email hits to my device and not shows in my “HUB MANAGEMENTS”, at that point of time I come to know, it’s Off again.
    Then whole process again, I go in “HUB MANAGEMENTS” and switch it on again and again.
    I need Blackberry Z10 OS developers focus on this issue…  

    I can confirm this behaviour and it defeats the purpose of having a hub.
    Could a BBTA confirm that this has been filed or even solved internally?
    Olivier - interfaSys ltd
    Developing for BlackBerry 10 devices using the Sencha Touch framework.

  • Item master - change inventory item also as a purchase item

    hi all,
    How to change inventory item for which BOM is created already also as a purchase item ?

    You will need to delete the Components of the BOM / delete the BOM itself.  Change the Item type and re-define the BOM.
    Suda

  • BAPI_PO_CHANGE Changing line Item

    Hi All,
    My requirement is like this I need to changed line item of a purchase order using BAPI_PO_Change is it required to pass header data other than po Number?I have to change only the Batch Number(POITEM-BATCH) can some body throw some idea on this?
    Thanks&Regards
    Mahesh

    Hi,
       PO number may solve your purpose. Just try filling
       PO number in your BAPI header structure and
       relevent field for your batch number.
    Regards
    Amole

Maybe you are looking for