Reference is lost when updating selection option

Hi all,
In my application, I need to update selection screen according to user input, like update dropdown list. Therefore, I write my coding at view event WDDOMODIFYVIEW to ensure my method UpdateScreen is called at every roundtrip. Everything runs OK except when I click sign/option and choose any sign of selection option following dump occurs:
The following error text was processed in the system ICX : Access via 'NULL' object reference not possible.
The error occurred on the application server pwdf4646_ICX_12 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_ELEMENT~SET_ATTRIBUTE of program CL_WDR_CONTEXT_ELEMENT========CP
Method: SET_SIGN of program CL_WDR_SELECT_OPTIONS=========CP
Method: ON_SIGN_OPTION_LEAVE of program CL_WDR_SELECT_OPTIONS=========CP
Method: ONACTIONON_ENTRY_SELECTED of program /1BCWDY/ALMK9CLI947HVDFYUZV5==CP
Method: ONACTIONON_ENTRY_SELECTED of program /1BCWDY/ALMK9CLI947HVDFYUZV5==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/ALMK9CLI947HVDFYUZV5==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
It losts ref since I call if_wd_select_options~upd_selection_field before choosing sign. If user clicks sign/option, there's no need to update selection screen because no user input changes. But how can I judge this?

Please let me comment more since no attachment can be uploaded. Following are key steps I do:
1) Build selection screen of two select options with this:
  lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_PROCESS_TYPE' ).
  lr_selopt->add_selection_field(
    i_id                       = 'ACT_PROCTYPE'
    it_result                  = lr_range
    i_description              = 'Transaction Type'
  lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_ACTIVITY_CATEGORY' ).
  lr_selopt->add_selection_field(
    i_id                          = 'ACT_CAT'
    it_result                     = lr_range
    i_value_help_structure_field  = 'CATEGORY'
2) At method WDDOMODIFYVIEW, I update the description for example:
  lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_PROCESS_TYPE' ).
  lr_selopt->upd_selection_field(
    i_id                       = 'ACT_PROCTYPE'
    it_result                  = lr_range
    i_description              = 'New Transaction Type'
Then, if I click the sign button before select option and choose a sign, it gets dump.
I know the calling of upd_selection_field interferes something, but I have to update screen in order to complying with user input.

Similar Messages

  • When I select 'Options' I am presented with an empty window; I have used FF from its inception migrating from Netscape. I am using FF 32.3.

    When I select 'Options' from the tools menu the resultant box is completely empty I am using FF 32.3 on Windows 8.1 Pro 64-bit. I prefer the pull-down menu system.

    hello, please try to disable the ghostery addon and see if you can still reproduce the issue then...
    https://getsatisfaction.com/ghostery/topics/problem-with-firefox-32-firefox-option-is-not-displayed-when-ghostery-is-active-in-firefox-32

  • Tarnslation ist lost when updating application

    hello there,
    whenever i update my app at customers site, any translation of my app is lost. the translation of teh apex frameworks stays ok.
    i have to apply & publish the translation files again.
    the application is installed on a customers server,
    i do all the developing stuff at a different server.
    the whole application is translated in a seceond language; lets say french. language is determined by browser language.
    whever i finish a new release i transport the whole application, using the build in export/import features.
    after deployment of the upgraded app, i want the pages/items to be lokalized.
    so i start the translation process from the scratch:
    seeding the translatable text => at this point apex says that all items have to be translated. to me it seems that aplex has lost the old information about translation durung the update proces of my application.
    i can come around this problem by applying & publishing the the formerly uploaded translation files.
    but i think i'm doing somethung wrong during the deleivering process of a new version of the application.
    but what am i doung wrong?
    any help is welcome
    peter

    Please let me comment more since no attachment can be uploaded. Following are key steps I do:
    1) Build selection screen of two select options with this:
      lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_PROCESS_TYPE' ).
      lr_selopt->add_selection_field(
        i_id                       = 'ACT_PROCTYPE'
        it_result                  = lr_range
        i_description              = 'Transaction Type'
      lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_ACTIVITY_CATEGORY' ).
      lr_selopt->add_selection_field(
        i_id                          = 'ACT_CAT'
        it_result                     = lr_range
        i_value_help_structure_field  = 'CATEGORY'
    2) At method WDDOMODIFYVIEW, I update the description for example:
      lr_range = lr_selopt->create_range_table( i_typename = 'CRMT_PROCESS_TYPE' ).
      lr_selopt->upd_selection_field(
        i_id                       = 'ACT_PROCTYPE'
        it_result                  = lr_range
        i_description              = 'New Transaction Type'
    Then, if I click the sign button before select option and choose a sign, it gets dump.
    I know the calling of upd_selection_field interferes something, but I have to update screen in order to complying with user input.

  • Problem with table-indexes when using select-options in select

    Hello experts,
    is it right that table-indexes will not be used if you take select-options to select data from the database?
    in detail:
    i have build up an table-index for one of our db-tables and test it via an test-programm. The first test with '=' comparisons worked fine. Every key of the index was used; checked via ST05!
    e.g.:    SELECT * FROM TABLEA INTO ITAB WHERE keya = '1' AND keyb = '2' AND keyc = '3'.
    Now i startet the test with select-options
    e.g.:   SELECT * FROM TABLEA INTO ITAB WHERE keya IN seltabA  AND keyb IN seltabB AND keyc IN seltabC.
    First of all i just filled the seltabs with only 1 value:    eg:  seltabA=      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'     etc.
    Everything worked fine. Every key of the index was used.
    But now, I putted more than one entries in the seltabs e.g.
    seltabA:      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '2'   
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '3'
    From now on, the indexed was not used completely (with all keys).
    Isn't that strange? How can i use select-options or sel-ranges with using the complete table-indexes?
    Thanks a lot,
    Marcel

    Hi Hermann,
    i hope this helps:
    this is the first one, which uses the complete index:
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" = ? AND "ORGID" = ? AND "KOART_BASIS" = ? AND    
      "STATUS" = ? AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR "STATUS" = ? OR
      "STATUS" = ? )  WITH UR                 
    RESULT: 5 IXSCAN /dbcon/01_con05 #key columns:  4
    And the second one, which does not use the complete index! The 3 ranges are filled each with 2 values. Remember; when i fill them each with only one value, the result is the same as you can see above(/dbcon/01_con05 #key columns:  4):
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" IN ( ? , ? ) AND "ORGID" IN ( ? , ? ) AND        
      "KOART_BASIS" IN ( ? , ? ) AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR 
      "STATUS" = ? OR "STATUS" = ? )  WITH UR                                  
    and here the access-plan
       0 SELECT STATEMENT ( Estimated Costs =  5,139E+01 [timerons] )                                                                               
    5     1 RETURN                                                                               
    5     2 NLJOIN                                                                               
    5     3 [O] TBSCAN                                                                               
    5     4 SORT                                                                               
    5 TBSCAN GENROW                                                                               
    5     6 <i> FETCH /dbcon/01_con                                                                               
    7 IXSCAN /dbcon/01_con05 #key columns:  2   
    As you can see, only 2 keys were taken for indexed selection!
    Any idea?
    Kind regards,
    MArcel
    Edited by: Marcel Ebert on Jul 28, 2009 5:25 PM

  • Updating Select Options via Function Module

    I contrast to the previous posting, I would like to update the single values for a select option.  I am attempting to use the DYNP_VALUES_UPDATE, but I can only update the value on the screen and not the underlying structure.  I have also tried using the RD_SELECTIONSCREEN_UPDATE but with no success either.  Has anyone tried this before?
    I am using a bespoke screen (ALV with multiple row selection) as the F4 dropdown which works fine and I have my values but cannot then update the selection screen.
    I am on 4.6C.
    Thanks in advance
    Ian

    Hello Ian,
    The option of updating the select-options internal tabler seems right for the description of your requirement. However, I would like just give you a word of caution here - <i>Do that in your <b>initialization</b> event</i>.
    Example:
    tables mara.
    select-options s_matnr for mara-matnr.
    initialization.
      s_matnr-sign = 'I'.
      s_matnr-option = 'EQ'.
      s_matnr-low = <Value1>.
      append s_matnr.
      s_matnr-low = <Value2>.
      append s_matnr.
      s_matnr-low = <ValueN>.
      append s_matnr.
    Hope this helps,
    Regards,
    Anand Mandalika.

  • If i downgrade my itunes can i save data lost when updating to iphone OS 4?

    Hi i was one of the masses who lost their data updating from 313 to OS 4 during june 2010. I had itunes version 9.1 where my content was backed up perfectly on that and i had to update it to 9.2 to upgrade my phone to OS 4.
    I got a message saying I have to update to the latest version of itunes to support the latest iphone software for my phone. when I did that and updated, I got the infamous error code my phone crashed everything was erased, when I came to restore from my backup file which is still dated to june 20th 2010, the data was blank.
    so if i downgrade my itunes to 9.1 and my iphone back to OS 3.1.3 would I be able to recover my content?

    That won't work... reason being is you need the following requirements for the iPhone 4.
    Mac system requirements
    Mac computer with USB 2.0 port
    Mac OS X v10.5.8 or later
    iTunes 10.1 or later (free download from www.itunes.com/download)
    iTunes Store account
    Internet access
    Windows system requirements
    PC with USB 2.0 port
    Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.1 or later (free download from www.itunes.com/download)
    iTunes Store account
    Internet access

  • Data on phone lost when updating software

    I have a 3gs - when i get prompted by itunes to update software my phone freezes after the process and I get locked onto the insert usb cable screen. I have to restore to last setting to get it going again which takes hours. can you help please. latest prompt is to update to 4.3.3
    I need to download an app that requires 4.2 software update

    Hi and Welcome to the Forums!
    I am confused as to how a download of DTM would cause this. Downloading DTM to your PC does nothing but download an installation file to your PC. You must launch that installation file in order for anything else to happen...and then do even more in order to cause what you have described. So I am confused as to exactly what you have done.
    In any event, if your BB has been somehow wiped clean, then the only way to get your data back is if you already have previously taken a backup. If you have never done that, then there is no hope.
    Lastly, you might find interest in this article:
    http://hubpages.com/hub/What-People-Think-When-You-Type-in-All-Caps
    Best.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Favourites lost when updating TomTom app

    I have a 16GB iPhone 4 with about 650MB of storage. TomTom released a new version of their app this week, and in order to update the app, I first sync'ed and backed up my iPhone with iTunes. I then downloaded the update in iTunes before trying to sync again. The app didn't sync, probably because of lack of storage on the iPhone, so I deleted the app from the phone and re-sync'ed. The updated app sync'ed correctly after that, but I lost all of my favourites and app settings in the process. I contacted TomTom support about this and there's no way to retrieve them, they're essentially washing their hands off the problem, saying it's an Apple issue.
    I can restore my iPhone using the back up I did before deleting the app, but that doesn't really help me in updating the app. Does anybody know whether it's possible to export the favourites from the app, and re-import them after deleting the app and installing the updated version?
    Note: I don't want to delete my music and put it back after updating the app. Updating to iOS 7 was a disaster, resulting in my music not sync'ing properly. I could never fix it using iTunes and in the end, I had to use CopyTransManager to manually copy the albums one by one. It took me almost 2 months of manually copying songs from computer to iPhone to get my music back as it was prior to updating to iOS 7 (minus a few albums for which I didn't have enough space), so I am not touching it again ever! (I don't sync it through iTunes anymore).

    Well, it looks like I can't restore the backup either because "there's not enough storage"
    Anyway, I browsed through various internet forums and found a solution:
    With iPhone Backup Extractor, I extracted mapsettings.cfg from my last manual backup (to my PC), which I did before deleting the TomTom app and installting the updated version. You need to go in "Expert Mode" to Application\com.tomtom.WEurope\Documents\Western_Europe.
    Once you have found it, click "Extract" and save it somewhere on your PC.
    Now, using iExplorer, I copied the file to the corresponding location on my iPhone (Apps\W. Europe\Documents\Western_Europe)
    Launched TomTom on my iPhone et voila! My favourites are all there and I am running the latest version of the app.
    Don't know why Apple/TomTo, have to make it so hard...

  • Originals of photos lost when updated to 9.3

    I've just installed the iPhoto 9.3 update, and found that I can no longer access edits to any photos more than two years old – which is 80% of my library. Most of those older photos had been cropped or adjusted in some way, and I often need to undo a crop or readjust an edit.
    The message I get is "Image Cannot Be Edited. This photo was previously edited with another application or with an earlier version of iPhoto. Duplicate this photo to edit it."
    Has the iPhoto library upgrade deleted the originals and replaced them with the final edits? Can I retrieve the originals?

    Excellent – thank you.
    It's a bit of a faff, but it works. The original is in there, and it opens with preview, but iPhoto won't accept it into the library (because it thinks it's already there). I duplicated it and saved it under a different name, and it imported correctly into iPhoto with its original date and metadata.
    So all that's lost, it seems, are the settings I used to edit it from the original to the final edit, should I want to recreate most but not all of that editing process. Seems unfortunate (and somewhat needless) but I can cope with that. Thanks for your help.

  • Contacts and notes lost when updating to IOS 7.1.2. Sync ota not working...

    I updated my Iphone5S to IOS 7.1.2 and some contacts disappeared from my phone. I use over the air sync wtih Exchange Server account, and any change in the contacts list from outlook isn't being reflected on my phone.Why is this happening and what can I do to get this right? Any help?

    Hello JPTMartins,
    It may help to delete and re-add the exchange account.
    iOS: Microsoft Exchange data not syncing
    http://support.apple.com/kb/TS1693
    Cheers,
    Allen

  • My contacts were lost when updating to ios5.  How do I restore them?  Verizon could not help me.

    I persuaded my wife to upgrade to an iphone from a blackberry last march.  She upgraded to iphone in March of this year.  It has worked fine until the recent ios5 upgrade.  After upgrading, she lost all of her contacts from the iphone.  She is not happy with me, and I'm in need of help in finding a way to restore her contacts.  She has worked with the Verison rep for several hours to no avail.  It sounds like--as part of the problem solving--she was advised to do a hard reset of her iphone.  She did not purchase an extended warranty from Apple, so she has no current warranty.
    Could anyone help me with restoring the lost contacts to iphone caused by the ios5 upgrade?
    Thanks,
    Dan

    assuming she had backed up the old iphone to itunes all she needs to do is restore from the back up of the old phone via itunes on the computer.

  • Metadata is lost when updating photos from iphone to imac

    Hi! I just got a new iphone 4, and when I try to import photos from it, I see that all metadata is gone. I checked with iPhoto, Aperture and Adobe Bridge and I can only see the metadata in the photos directly imported from the iphone camera (no editing). If I use any app (Hipstamatic, Monochromia, etc.) the metada is gone, I cannot even see the camera that the photo was taken with... I checked the settings for the apps, and the setting are correct.
    I saw plenty of pictures taken/edited with these apps (on Flickr, etc) that still have metada.
    Does someone know how can I keep the metadata in all photos?
    Thanks!!

    Not what I wanted to hear but thanks for your quick response.  Do you know what the problem could have been?  Cheers

  • N72:Videos and Images lost, when updating "phone r...

    Hi
    I had bought N72 1.5 months back. Recently I bought a mem card (1 GB)and copied some audio and video file. On a holiday recorded some videos and images. But suddenly all my audios and videos went missing.
    Then again I recorde some, after some time the previous recorded things again missing.
    I am residing at a remote place in India where net connection is available but care centre is far from here.
    So when I started updatin my s/w through PC and Net. I got all kinds of errors like:
    Internal Module error (so I tried regsvr32 C:\WINDOWS\system32\msxml4.dll)
    then not done.
    Then continuously I am getting phone recovery remove battery and charger, connect battery and charger and retry. I did this too but in-vain.
    I even hard reset it "*#some code 7580 or so don't remember#" but also not working
    Please help me.
    RRS

    Hello JPTMartins,
    It may help to delete and re-add the exchange account.
    iOS: Microsoft Exchange data not syncing
    http://support.apple.com/kb/TS1693
    Cheers,
    Allen

  • When i select option to share apps

    I received a message that I'm only allowed five- and i need to get rid of one. To the best of my knowledge, I only have two laptops (and the other one hasn't had settings changed to share). Anyone know what I need to do??
    Really appreciate your help! This is my first @ using this forum.
    Kenneth

    You'll have to log in to your iTunes Store account. On the Account Information page you will see how many computers are authorized for use with your account. If you already have five then you will have to deauthorize all of them re-authorize the ones that you want to authorize with your account. (See screen shot below.)

  • How do I get the bold, underline, italics editing option for Notes on iPhone 5 iOS 7.0.4? Option is not appearing when I select text.

    When I select text, I don't get an arrow with additional options. What is shown in the image are the only options I get. Is there something I need to do in Settings or something in order to be able to bold, underline and italicize text?
    I     

    I only have an iPod (but it does have the latest software) but I achieved bold text as follows:
    1) touch and hold word to embolden;
    2) touch Select;
    3) touch the arrow head at the right;
    4) touch BIU option section of the option bar;
    5) touch the Bold section of the option bar.
    Having selected the text, the selection can be narrowed or widened using the blue dot.  Also, the Bold, Italics and Underline option bar does not disappear once a section has been made, thus bold and underline can be chosen - touch elsewhere on the screen to remove the option bar.  When the selected option bar section background turns grey the software has accepted your request.  Note that a first go at achieving this might not work if the software has not correctly picked up your touch and may not present you with the correct options - it is intuitively trying to help you and sometimes misunderstands your touch.

Maybe you are looking for