Issue in reselecting an item In JCombo.

Hi
Wishing u a very happy new year..!
I have 5 items in my JCombobox. It’s a customized combo box. When I select any item in the combo, it will paste command related to the selected item in a TextArea. But problem is when I selects any item (e.g. x index) in the combo, it does its action fine, but when I selects same item again (same x index) it is not performing action on this. Any other alternate is there to resolve this issue? Help is appreciated.
Regards
Sreedhar

[email protected] wrote:
when I selects same item again (same x index) it is not performing action on this.That's normal behavior in the current version of Java (1.6). In some earlier version it was not the case.
Any other alternate is there to resolve this issue? Help is appreciated.Just a suggestion. add an item at the top of your list ("Select and one") and set that as the selected item after processing each selection (may need to wrap that in a SwingUtilities.invokeLater).
To get better help sooner, post a SSCCE that clearly demonstrates your problem.
Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
db

Similar Messages

  • Issuing more then one item in free goods

    Hi SD gurus,
    My client is asking to issue more then two items as free goods along the main item. Example material A is sold along with material B and C as free goods.As far as my trails, I'm able to configure only one item as free goods but not the second one. Can any one suggest to configure the above scenario?

    Hi Ravi krishna,
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. if you want to give free goods X & Y for material A, then you need to enter material Y in order, simply change the item category as TANN.
    As of my knowledge there is no alternative to it.
    these are the constraints for free goods:
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    regards
    Sunil

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • Urgent : Issue with deleting Line Item in ME22N

    Hi all,
    I have an issue with deleting line item in ME22N for some Purchase Orders.
    When I try to delete the line item, a warning message comes up saying that " Quantity invoiced or delivered is less than the quantity ordered". And I am unable to proceed further and save the PO. Could anyone let me know as why this is happening?
    Thanks in advance.
    Regards,
    Adapala.

    Hi
    there is no need of group key.
    if any of these 3 are done, payment will be done in total.
    1.In setup all company codes for payment transactions , DESELECT seperate payment per business area check box
    2.In setup paying company codes for payment transactions , DESELECT seperate payment for each reference check box.
    3.In the Vendor Master got to payment transactions tab and below the payment method , there will be individual payment checkbox. DESELECT that check box.
    try again with first two with DESELECT options , i will check out with DME.
    Cheers

  • Unit Price in Issue for Production for Item with wrong UoM

    Dear All,
                In issue for production the item cost being picked does not match either our Last Purchase Price or Price List1. In some cases the price considered is an average:
    Eg:- For Item A with Purchase UoM in Nos. and Inventroy UoM in Gms, we had not enetred the conversion factor i.e 1 No=100g. Thus GRN was made for 25 Nos. @ Rs.450/Unit. But actual stock was 2500g. Hence to rectify the stock we made an OB entry for 2475 as on GRN date with zero Price. Thus total stock was 2500 and Value 25*450=RS.11250
    When we did an Issue for Production for this item: Qty:400g, the unit price considered was Rs.28.125 when the actual price to be considered is Rs.450[Unit Cost]/100 [UoM Conversion]=Rs4.5. We had entered Rs.4.5 in Price List1 and had selected this price list in the BoM as we had not entered a conversion factor in the Item Master Data and SAP does not allow alterations to this tab once the Item is involved in transactions.
    I think the system calculated the price as follows: (25450+14750)/400=Rs.28.175
    How do we avoid/correct this in the future?

    If you need the stock price correct, the only option might be creating a new item with correct information in the first place.  Once you have error data to start with, there is no way to corrected as you wish.
    Thanks,
    Gordon

  • Issue while clearing open items with a payment advice

    I have created a payment advice to clear open items on a customer. As part of testing, I have created 2 items in the payment advice. Both are short payments for the open items.
    In the first line item, I am short paying an open item by entering the reference number. (XBLNR) in AVIP-XBLNR.
    In the second line item, I am short paying an open item by entering the assignment number. ZUONR in AVIP-ZUONR.
    I am using F-28 for my clearing. I have noticed a very strange issue where in the program will place the residual amount in the residual amount column against the appropriate line item for the first item. Where as for the second item, it does recognize the open item and brings it in the clearing screen but does not put the residual amount in the residual amount column. Due to this, the new line item in the clearing document does not have a link to its original line item.
    This has started happening all of a sudden. I am unsure what might have caused this. Please let me know if you need additional information.
    Thanks

    Include - MF05BFO0
    FORM op_pruefen
    Context:
              WHEN 'K'.
               ENHANCEMENT-POINT mf05bfo0_02 SPOTS es_sapmf05b.
    Create an enhancement here and add this code
                   IF SY-TCODE = 'FB1K'.
                         T041A-AUGLV = 'AUSGZAHL'.
                   ENDIF.

  • Different issues with file browse item

    Hi everybody,
    I'm trying to create a file upload page using the file browse item. To achieve this I followed the how-to document :
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b16376/up_dn_files.htm.
    I've created my own table to store the documents as I store some extra information.
    When I test this functionality I discovered many issues.
    - If I upload a PDF file this gives me HTTP 404. When I go back, choose the same file with the browse button and upload again this will pass.
    - If I upload a file with spaces in it's name this file will be uploaded twice. (I see the same file two times in the table with 2 different names.
    - At random times I will just arrive at a blank page after clicking the upload button. It appears to me as this will happen more often when I use a double-click to select the file in the browser dialog compared to selecting the file and clicking open. However, I suppose this is just coincidence. It happens in both cases. I'm confronted with the problem with small files (1k, 4k) as well as with larger files (6m)
    - Like I said before, I store some extra information as well. In some cases this information is stored with the document. In some other cases he takes the description from a previous document to store along with the new document. I suppose this is some kind of session problem probably caused by the other problems I currently have and the fact I press back quite often in my browser (each time I arrive at a blank page)
    Version of HTML DB 2.1.0.00.05
    (Included with Oracle 10g express edition)
    I read several posts on this forum before creating my own thread.
    -> I found several discussions about the size of the file but the problem exists for files of 1K as well so I don't see a link with those discussions.
    -> I found several discussions about security and tablespace quota. I granted unlimited tablespace to each and every user : flows_020000, flows_020100, flows_files, htmldb_public_user and the user who is used in the application.
    Tx very much for your help!
    Kris

    Hi Kris,
    I think you're problem is coming from local session info... using the back button is not that good. Put a back button in your application ;-)
    An other thing I wonder is; are you developing and testing on the same machine and at the same time? - I did that before and that gave me some problems. Now I'm developing in Firefox and test with IE or vice-versa.
    Dimitri

  • Ipad mini syncing issues with itunes : (x) items could not be synced

    I'm using ipad mini (non retina) 16GB with itunes 11.2.2.3. I had downloaded some games from itunes like asphalt 8, GT racing 2, infinity blade, real racing 3, dead trigger 2, and apps like garageband. When i tried to sync these games with my ipad. everything happened normally like
    syncing apps to 'superhornet's ipad' (step 6 of 6)
    copying 1 of 8: asphalt 8
    and later 'finished syncing'
    but after syncing is finished on itunes. A message appears on the ipad saying '14 items could not be synced. see itunes for more information'
    there is no message in the itunes that would tell what issue happened here.
    Due to this, the games i mentioned above does not get installed on my ipad. all i get is their greyed out icons which shows their name below them, when i touch any of those greyed icons they start showing 'installing' which never really completes.
    I have also tried to install apps by ifunbox, but it showed some error when i tried to sync those games.
    This issue doesn't happen with all the games. I had also downloaded games like 'the sandbox, ACR drift, shadow gun and they were installed without any issues.
    I had never played any game on my ipad. so far i had only used it as an ebook reader, video player and internet browser. so i have no idea if this problem existed before.
    and yes my computer is authorized, and i successfully sync all videos, music, ebooks with it.
    my PC's specs:
    AMD phenom II X4 B25
    4GB RAM DDR3 133MHz
    AMD radeon HD6770 1GB GDDR5
    Gigabyte GA78LMT-S2P
    my ipad is running iOS 7.1
    and itunes version is 11.2.2.3 (updated yesterday expecting it would solve the issues)
    I would appreciate if anyone could help me with this

    Found another thread with a few possible solutions. The one that worked for me was to delete the ipod photo cache in the "Pictures" folder. Here's the thread: https://discussions.apple.com/thread/3390697

  • Issue on TDS line item reversal paid through J1INCHLN

    Dear Experts,
    I have an issue for which I need your inputs.
    Vendor invoice is paid through F-53 and TDS line items are paid using J1INHLN for a section (i.e.,194C etc) for all
    Business Places.We have multiple business places. Now the TDS line item only for this vendor payment is to be reversed.
    Reversing the clearing document generated through J1INCHLN reverses all TDS payments for a section for all Business Places
    Is there any solution to this porblem. How can I reverse the TDS amount in the above case. Kindly guide.
    Regards
    Harika

    Hi,
    You cannot reverse only one item when the remittance challan is already made. You will have to reverse the entire remittance challan for that section code, reverse the incorrect transaction and then report the remittance challan. Alternatively, if you have already made the payment to the bank try using J1INJV to reverse the tds amount in subsequent months.
    Rgds
    Shivram.

  • Issue in Delivery Line Item through VL01N

    Hi,
    During Delivery creation through VL01N, in Line Item details under Financial Processing Tab, Cost Center is showing as non-changable... We cann't enter any value in this field..
    We have two options--
    1. By make the field as changable, so that we can enter the related cost center.
    2. Automatic Cost center should should according to Profit center...
    Please provide the best solution...
    Thanks..

    hi
    cost center its comes from setting related , it related with business area , it delivery its not possible to enter cost center ,
    it is totally related with fico ,
    so first you maintain the cost element , it cost element you can check previous delivery document accounting , goto delivery goods issue document document( mb03), click on display document , ofter click on accounting document , her double click on accounting document , system sows , accounting for debit and credit here g/l account and cost element  account you can find,
    goto okb9 , and select your company and cost element ,click on valuation area/business area based , here you plant and business area ,cost center find,
    in delivery no need direct enter the cost center , its automatic picking when you click on PGI,Updating at mb03,
    please check this , and also you contact your fico consultant

  • Issue with Setting Application Item

    Hi All,
    I have an issue with setting the value of application item G_USER_ID as part of the login process.
    I use customized authentication for login. I have created an application item G_USER_ID, and in my CUSTOM_AUTH procedure, I am setting its value as APEX_UTIL.SET_SESSION_STATE('G_USER_ID', l_user_id);
    For some reason, the value is not set to G_USER_ID the first time I login. When I log out and login again without closing the browser, the value is set. Note that I even tested with a static value instead of l_user_id like APEX_UTIL.SET_SESSION_STATE('G_USER_ID', '5555555'); but still fails to set during the first login.
    I hope someone can guide me as to what I am doing wrong here.
    Thanks!
    JMcG

    What does this do?
    :SVR_FLAG := NVL(l_mult_svr,'N');
    Scott

  • Skype setup UI issues with enlarged desktop item s...

    The issue is with the latest automatic update.
    With enlarged size of desktop items and fonts (Control Panel->Appearance and Personalization->Display->Change the size of all items) the text in the setup window overlaps with some setup options, effectively making them impossible to see and click. I'm using Windows 8.1 (Russian). Screenshot attached.
    Setting desktop item size back to 100% fixes the window.
    Attachments:
    skype_setup2.png ‏135 KB

    That's been a known issue for quite some time they have yet to address.  Higher than normal DPI settings will cause that issue.  The only solution is to set your DPI settings to normal temporarily or disable DPI scaling for the executable.

  • Issue in lot controlled items reservation API

    Hi,
    When I am going to reserved the lot controlled item thru following API, it is giving an error message.  Can anyone help me to resolve this issue as it is not showing an detail error message .
    Following is the Error message :
    =======================================================
    Calling INV_RESERVATION_PUB.Create_Reservation API
    =======================================================
    Return Status: E-INV
    Error Message :INV
    =======================================================
    Following API we are using for the same:
    DECLARE
            -- Common Declarations
            l_api_version         NUMBER      := 1.0;
            l_init_msg_list       VARCHAR2(2) := FND_API.G_TRUE;
            x_return_status       VARCHAR2(2);
            x_msg_count           NUMBER      := 0;
            x_msg_data            VARCHAR2(255);
            l_row_cnt        NUMBER := 1;
            -- API specific declarations
            l_rsv_rec                   INV_RESERVATION_GLOBAL.MTL_RESERVATION_REC_TYPE;
            l_serial_number             INV_RESERVATION_GLOBAL.SERIAL_NUMBER_TBL_TYPE;  
            l_partial_reservation_flag  VARCHAR2(2) := FND_API.G_FALSE;
            l_force_reservation_flag    VARCHAR2(2) := FND_API.G_FALSE;
            l_validation_flag           VARCHAR2(2) := FND_API.G_TRUE; 
            l_partial_reservation_exists BOOLEAN := FALSE;       
            x_serial_number             INV_RESERVATION_GLOBAL.SERIAL_NUMBER_TBL_TYPE;
            x_quantity_reserved         NUMBER := 0;
            x_reservation_id            NUMBER := 0;
    BEGIN
            FND_GLOBAL.APPS_INITIALIZE(  user_id      => 5707,
                                         resp_id      => 50158,
                                         resp_appl_id => 401);
            -- Initialize the variables
                  l_rsv_rec.organization_id               :=   51; --NULL; --itm.organization_id;
                  l_rsv_rec.inventory_item_id             :=   52587;--NULL; --itm.inventory_item_id;
                  l_rsv_rec.requirement_date              :=   NULL; --sysdate + 3;
                  l_rsv_rec.demand_source_type_id         :=   INV_RESERVATION_GLOBAL.G_SOURCE_TYPE_INV;
                  l_rsv_rec.supply_source_type_id         :=   INV_RESERVATION_GLOBAL.G_SOURCE_TYPE_INV;
                  l_rsv_rec.demand_source_name            :=   NULL; --'RSV_ITM_SRL_'||itm.segment1;
                  l_rsv_rec.primary_reservation_quantity  :=   100; --NULL; --l_primary_reservation_qty;
                  l_rsv_rec.primary_uom_code              :=   'MTR'; --NULL; --itm.primary_uom_code;
                  l_rsv_rec.subinventory_code             :=   NULL; --l_subinventory_code;
                  l_rsv_rec.demand_source_header_id       :=   306842; --NULL ;
                  l_rsv_rec.demand_source_line_id         :=   2288893; --NULL ;        
                  l_rsv_rec.reservation_uom_code          :=   'MTR' ;
                  l_rsv_rec.reservation_quantity          :=   100; --NULL ;
                  l_rsv_rec.supply_source_header_id       :=   NULL ;
                  l_rsv_rec.supply_source_line_id         :=   NULL ;
                  l_rsv_rec.supply_source_name            :=   NULL ;
                  l_rsv_rec.supply_source_line_detail     :=   NULL ;
                  l_rsv_rec.lot_number                    :=   'ABC100'; --NULL ;
                  --l_rsv_rec.serial_number                 :=   NULL ;
                  l_rsv_rec.ship_ready_flag               :=   NULL ;
                  l_rsv_rec.attribute15                   :=   NULL ;
                  l_rsv_rec.attribute14                   :=   NULL ;       
                  l_rsv_rec.attribute13                   :=   NULL ;
                  l_rsv_rec.attribute12                   :=   NULL ;
                  l_rsv_rec.attribute11                   :=   NULL ; 
                  l_rsv_rec.attribute10                   :=   NULL ;
                  l_rsv_rec.attribute9                    :=   NULL ;     
                  l_rsv_rec.attribute8                    :=   NULL ; 
                  l_rsv_rec.attribute7                    :=   NULL ;
                  l_rsv_rec.attribute6                    :=   NULL ; 
                  l_rsv_rec.attribute5                    :=   NULL ;      
                  l_rsv_rec.attribute4                    :=   NULL ;  
                  l_rsv_rec.attribute3                    :=   NULL ;
                  l_rsv_rec.attribute2                    :=   NULL ;  
                  l_rsv_rec.attribute1                    :=   NULL ;  
                  l_rsv_rec.attribute_category            :=   NULL ;
                  l_rsv_rec.lpn_id                        :=   NULL ;
                  l_rsv_rec.pick_slip_number              :=   NULL ;
                  l_rsv_rec.lot_number_id                 :=   NULL ;
                  l_rsv_rec.locator_id                    :=   NULL ;
                  l_rsv_rec.subinventory_id               :=   NULL ;
                  l_rsv_rec.revision                      :=   NULL ;
                  l_rsv_rec.external_source_line_id       :=   NULL ;     
                  l_rsv_rec.external_source_code          :=   NULL ;     
                  l_rsv_rec.autodetail_group_id           :=   NULL ;    
                  l_rsv_rec.reservation_uom_id            :=   NULL ;    
                  l_rsv_rec.primary_uom_id                :=   NULL ;   
                  l_rsv_rec.demand_source_delivery        :=   NULL ; 
                  -- call API to create reservation
                 DBMS_OUTPUT.PUT_LINE('=======================================================');
                 DBMS_OUTPUT.PUT_LINE('Calling INV_RESERVATION_PUB.Create_Reservation API');       
                 INV_RESERVATION_PUB.Create_Reservation(
                          P_API_VERSION_NUMBER     => l_api_version  
                        , P_INIT_MSG_LST         => l_init_msg_list
                        , P_RSV_REC             => l_rsv_rec           
                        , P_SERIAL_NUMBER         => l_serial_number           
                        , P_PARTIAL_RESERVATION_FLAG => l_partial_reservation_flag
                        , P_FORCE_RESERVATION_FLAG     => l_force_reservation_flag  
                        , P_PARTIAL_RSV_EXISTS     => l_partial_reservation_exists
                        , P_VALIDATION_FLAG         => l_validation_flag     
                        , X_SERIAL_NUMBER         => x_serial_number             
                        , X_RETURN_STATUS         => x_return_status
                        , X_MSG_COUNT         => x_msg_count   
                        , X_MSG_DATA              => x_msg_data              
                        , X_QUANTITY_RESERVED     => x_quantity_reserved
                        , X_RESERVATION_ID         => x_reservation_id);           
                 DBMS_OUTPUT.PUT_LINE('=======================================================');
                 DBMS_OUTPUT.PUT_LINE('Return Status: '||x_return_status||'-'||x_msg_data);
                 IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
                    DBMS_OUTPUT.PUT_LINE('Error Message :'||x_msg_data);
                 END IF;
                 IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
                     DBMS_OUTPUT.PUT_LINE('Reservation ID :'||x_reservation_id||' Quantity Reserved:'||x_quantity_reserved);
                     COMMIT;
                 END IF;
                 DBMS_OUTPUT.PUT_LINE('=======================================================');
    EXCEPTION
            WHEN OTHERS THEN
              DBMS_OUTPUT.PUT_LINE('Exception Occured :');
              DBMS_OUTPUT.PUT_LINE(SQLCODE ||':'||SQLERRM);
              DBMS_OUTPUT.PUT_LINE('=======================================================');
    END;
    regards & thanks in advance
    sanjay

    Hi,
    SAP does availability check based on IM stock and not on WM stock.
    So I dont think there are any such reports available that shows WM stock with considering delivery and sales order quantity.
    regards,

  • Issue account assignment at item level.

    Hi Experts,
    I have an issue, because I have created a new order type that has to work the same that the one I have used as model however this new order type doesnu2019t work the same at item level in the view Account assignment. The new has the field Order as optional and in the old this field was hide. All related with account assignment at item level is different. Probably is related with the item category that is also a new one but copy from the order that we use with the other order type.
    Thank you and best regards.

    Hi,
    Are these in different servers? If so, you would need to transport the settings (say from dev. to QA server).
    Otherwise, the settings are common for all item catergories and document types... Screen variants are specific to TCodes only.
    In case this doesn't help, please clarify question some more... old doc type, item category and new doc type item category.
    Cheers.

  • Subcontract PO item withdrawal issue when alternative BOM item used

    Hi,
    As title mentioned, when we issue alternative material for a subcontract PO in BOM, but it still shows the quantity from primary item.
    (For example, we have a product, let's say it as Product-A, it's combined by material-B1 and Material-C1
    And the BOM for Product-A for item material-B1 has an alternative item, material-B2
    Now the issue is when we issue material-B2 instead B1, but the PO usage/withdrawal listed in B1)
    Because we are making a list for China custom for material usage, the issue listed above makes our list not available for custom department.
    Please let us know how we could make the withdrawal in PO shows B2.
    thanks,
    Steven

    Dear Steven,
    As explained by our forum friend maintain this data.
    1.Create 2 different BOM for the same header material with the respective BOM components.
    2.Create production version for the header material using T COde MM02--->MRP4 view and click on prod.version,enter the same
    as 0001,text as prod version 1,default valid from date will be the current date and the valid to date will be 31.12.9999.
    3.Enter the lot size for which this prod version is valid and then in the alternative BOM select the BOM and save the data.
    4.Prdo.version can also be maintained through C223.
    5.Assign this prod version in the sub-contracting purchase info record in ME11,under prod version under purch org data(not sure
    check this alone).
    6.Likewise assign the prod version that is linked to the BOM to be picked for each sub-contracting vendor.
    Check the results after MRP and revert.
    Regards
    S Mangalraj

Maybe you are looking for