Select-options are not destroyed while calling view of used component popup

Hi Friends ,
I'm facing a unique problem. I'm calling a view of a component within another component. the view that I'm calling has some select-options. When I close the popup window ( using close 'X' of popup ) and then try to reopen the popup system give me a dump. I debugged and found that select-options are not destroyed by system and once it tries to create the select-options again it dumps because they are already there.  
This is the source code extract of that dump for your reference .
1 method if_wd_select_options~add_selection_field.
2
3   data:
4     lr_table_descr       type ref to cl_abap_tabledescr,
5     lr_struct_descr      type ref to cl_abap_structdescr,
6     lr_value_field_descr type ref to cl_abap_elemdescr,
7     added_field          like line of mt_added_fields,
8     dfies                type dfies,
9     description          type string,
10     complex_restrictions type if_wd_select_options=>t_complex_restrictions.
11
12   field-symbols:
13     <it_result> type index table.
14
15 * check of someone wants to add a field that already exists
16   read table mt_fields
17        with key m_id = i_id
18        transporting no fields.
19   if sy-subrc = 0.
20 *   might be deleted - recreating a field with different setting is of course allowed
21     read table mt_all_removed_fields
22          with key table_line = i_id
23          transporting no fields.
24     if sy-subrc <> 0.
>>>       message x000(00).
26     endif.
27
28 *   remove the existing field in order to avoid duplicates
29     delete table mt_fields with table key m_id = i_id.
30   endif.
I've already tried using REMOVE_ALL_SEL_SCREEN_ITEMS( ) method of interface IF_WD_SELECT_OPTIONS before creating new elements ( select-options ). If any one can help me in this It would really help and I'll appreciate it.
Thanks in advance,
Laeeq

I've sloved the problem

Similar Messages

  • I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password pro

    I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password protecting the document?

    Is there a setting that needs to be set to allow the annotation features?  I set password protection to open and then password for editing and set it to Any except page extraction, but it still did not give the annotation option

  • My tel Goes after 10 minutes offline, apears à enige Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    My tel Goes after 10 minutes offline, apears à enige Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    Hi Richard,
    You mentioned that 'Apple put the AirPrint spec out there for all printer makers'. I've been looking around but I haven't found any spec. Where did you find it?
    Do printer makers have to buy a license in order to be able to advertise that they've implemented the AirPrint protocol? Is there maybe an Apple review process in place?
    TIA
    Geert

  • My tel Goes after 10 minutes offline, apears à white Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    My tel Goes after 10 minutes offline, apears à white Apple, and i have to unlock again. People are not able to call me while THE Apple apears. Question what can be THE solution ?? It is à 3GS tel iOS 4.2.1

    Hi Richard,
    You mentioned that 'Apple put the AirPrint spec out there for all printer makers'. I've been looking around but I haven't found any spec. Where did you find it?
    Do printer makers have to buy a license in order to be able to advertise that they've implemented the AirPrint protocol? Is there maybe an Apple review process in place?
    TIA
    Geert

  • I am trying to create mobile pages using the steps file new new document page from sample mobile starters jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I

    I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I acquire these options?

    You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
    https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
    Or roll your own with ThemeRoller
    http://themeroller.jquerymobile.com/
    Nancy O.

  • Playbook and Windows XP : Media Options are not available

    Hi, hoping someone can help me as two lengthy calls to RIM have yielded no results.
    I am running Windows XP SP3 with spec well above the min requirements for Blackberry desktop software, of which I downloaded the latest version from RIM's site today.
    Software recognises the PB and connects fine (displays PIN etc) yet I get two different errors:
    1) Device Options > Media
    "Media options are not available". A problem occured while attempting to connect to your Blackberry device
    2) File > Get Started (dragging and dropping files)
    "Media services are not available". A problem occured while attempting to connect to your Blackberry device
    I've redownloaded the BDM software twice (both options for PC > and Sync >) with no result. I've tried different USB ports (same wire) and the same problem.
    I notice when right clicking on the Device Manager > Properties that I see under Volumes "Internal Storage Not Mounted" which I doubt is helping.
    Playbook Storage and Sharing Options have fiel sharing turned on, and UBS connections = Auto Detect (tried "Connect to Windows") and no result.
    Any ideas?

    I may have a workaround for all you fellow sufferers.
    In your playbook tap the information icon (uppermost right corner).  Tap about and where it says view information about your tablet tap the down arrow and select network.  There you will find one or two IPV4 addresses one for usb the other for wifi. 
    In Windows (7 don't know about XP or Vista click on start and in the search bar type the following
    run \\either IPV4 address.
    With any luck, Windows explorer will  pop up giving you access to your playbook for file transfers.
    Once you have done that, and if you prefer a two panel file manager as I do for file transfers, download and install a program called FreeCommander.  This program will allow you to access a network drive from somewhere in its top menu (can't recall where at the moment and I'm not in Windows).  Up will pop a screen asking you for a drive letter to be assigned (take your pick) and a location.  In this area type \\either IPV4 url\media.  You should now be able to access this drive from FreeCommander and easily transfer files to and from your playbook and computer.
    Don't guarantee that this will work for you but it has for me.
    Allan

  • Selection criteria are not applied to summary fields on group footers.

    I wonder if anyone can help me with this problem.  I am using Crystal reports version 11.2, and my data source is a Sql Server view.
    The records on the view have a date field, and I have selected all records within a given date range in "Selection Formulas".
    The records are then grouped, and the Crystal summary facility used to summarise number fields on the group footers.
    So for example, if my view contains four records, one with field "amount" = 2, one with field "amount" = 8, one with field "amount" = 6, one with field "amount" = 3, but only the first two records are within the valid date range, you would expect to see the first two records listed out at detail level, then field "amount" summarised at group level, with a summarised value of 10.
    ie ....                record1                      2
                           record2                      8   
                           group level total         10
    This works fine when I run the report using Crystal's "print preview" facility.  However, when the report is run from within an application written in C#.NET, the selection criteria are not applied to the summary field, so you get ..
                           record1                      2
                           record2                      8   
                           group level total          19
    I tried putting the date selection criteria at both record and group level, but that did not work.
    I googled the problem and found an article explaining that Crystal first performs the record-level selection, then it creates the groups and totals up any summary fields, and only then does it apply the group-level selection criteria, which can lead to problems like the one I have described above.  However, since I have put my date selection criteria at both record and group level, I do not understand why I still get the problem.
    In one report I got round this problem by creating a formula that returned zero if the record date was outside of the valid date range, and returned the number field to be summarised if the date was valid, then summarising that formula, instead of summarising the number field directly.
    In other reports I created one formula to set a shared variable as zero, then another formula to accumulate it at detail record level, then another formula to display the variable at the group footer.  In other words, I did not bother with the Crystal summary facility at all, but created my own summary facility.
    While googling the problem to see what other people did in this situation, I noticed that most fixes used variations of the "shared variables and formulae" fix to get round the problem.
    The problem is that I have lots of complex reports and it will take ages to replace the summarised fields with shared variables and formulae.  The reports were initially tested with "Print Preview" so we did not notice this problem until the C#.Net application was ready to use them.  And I can't believe that you are simply meant to ignore the summary facility and re-invent the wheel by doing it all manually.
    Please tell me that there is something simple that I have been doing wrong!!!  If I have not given enough information for you to answer, please let me know.
    Thanks,
    Anne-Marie

    Hi, Anne-Marie;
    You may be running into a common issue that is docuemented here:
    [SelectionFormula|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303334333833393335%7D.do]
    Regards,
    Jonathan
    Edited by: Jonathan Parminter on Mar 16, 2009 8:03 AM

  • Cant use colours in AI free version.stroke and fill options are not active either

    cant use colours in AI free version.stroke and fill options are not active either

    In the Trial version of Illustrator try this:
    In the top right of your screen, choose 'Essentials' from the workspace menu.
    Then from the same menu, choose Reset Essentials.
    Next, click the Selection tool in the Tools panel (strip on the left side of your screen, it is the black pointer at the top).
    Click on the object you want to change the stroke and fill colour for. Does it display with little handles around it (this is called bounding box)? E.g. can you tell it is selected?
    You should see the Stroke and Fill options in the Control panel (top horizontal strip above your document), if the object you've selected is a path. But if for instance you selected as a placed photo, you won't see the Stroke and Fill options.
    If possible take a screenshot of what you are trying to do, and we can be of more help hopefully.

  • You are not authorized to call up line item display (FB03)

    Hi,
    actually; I am facing a problem; one user is getting error message "You are not authorized to call up line item display" when he is trying to view the payment usage of document no in FB03 transaction code.
    I have checked and found that user is already having display access for the company code which he is putting under company code field.
    Also as per the SU53 screen shot; it is showing
    Authorization check failed for S_CTS_ADMI
    Field - CTS_ADMFCT
    for -  TABL
    I have not run the trace yet..
    Kindly advice on what could be the problem and solution for that...
    Many thanks in advance for your help.
    Regards,
    Anuj

    > Also as per the SU53 screen shot; it is showing
    >
    > Authorization check failed for S_CTS_ADMI
    > Field - CTS_ADMFCT
    > for -  TABL
    Total Questions:      8 (6 unresolved)
    Good match! 

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • Select Option header cleared after FM call

    Hi
    I'm calling an FM in the AT SELECTION SCREEN event in which I'm using some FMs to validate the values entered by the user. However on returning from the FM the header of the select option gets cleared. And the value you entered on the select option thereby also is gone. (However it can be seen in the multiple selection options)
    I export nothing to the FM and only import tyhe name of the select-option/parameter (like s_matnr-low or p_ernam).
    Why is this happening and what could be done about it?
    Pushpraj
    Edited by: Pushpraj Singh on Sep 24, 2009 7:40 PM

    Here's the thing:
    I made an FM which is called in the AT SELECTION SCREEN event of a report.
    This FM is supposed to validate the entries made by the user (whether they belong to the domain of the fields or not).
    It exports the name of the select-option or parameter which is incorrectly filled.
    Now say there is one select-option and one parameter on the selection screen.; and I put a valid value in the select-option and an invalid one in the parameter.
    The FM now returns the name of the parameter (say p_ernam) but also clears the header of the select-option table (not the body). If the FM does not return anything the header is not cleared. However any value in the return parameter makes the header disappear.
    Pushpraj

  • Time Machine options are not working. I am unable to schedule automatic backups.

    Time Machine options are not working. I am unable to schedule automatic backups.  The On-Off button is grayed out. I can perform a backup manually.

    Thanks for responding.  I have an external disk with plenty of room.  It is used only for backup of my computer.  I get a backup by clicking on the Time Machine icon at the top of the page and select "Back Up Now."  When I click on Time Machine Preferences, there is a box labeled "Options" which allows me to exclude items from backup and notify after old backups are deleted.  There is no option to schedule a backup.  The "OFF/ON" box is gray.  For "Next Backup:" it says "Automatic backups off."  I would like to turn it on.

  • Right click on anything opens a distorted image of the website and options are not visible.

    Please help! Every time I right click options are not shown and instead I'm greeted with a distorted image of the current website. This happens when I want to open a link on another tab and when I go onto the firefox settings in the top left corner. When I go in the options in the top left corner, instead of an image of the website, a magnified image of what I clicked appears. This doesn't allow me to see the options and if I'm lucky and move around the mouse they appear for a second and the image reappears. Please help! I've erased Firefox and reinstalled it and nothing, the problem still persists. Thanks for helping! :)

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    When in Safe Mode... <br />
    * The status of plug-ins is not affected.
    * Custom preferences are not affected.
    * All extensions are disabled.
    * The default theme is used, without a persona.
    * userChrome.css and userContent.css are ignored.
    * The default toolbar layout is used.
    * The JIT Javascript compiler is disabled.
    * Hardware acceleration is disabled.
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • I am trying to delete pages from a PDF file. I opened the bookmarks, selected the pages to delete and choose Edit Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    Resolved

  • Errors are not showing in Tasks view

    Hello,
    I dont know why errors are not showing in Tasks view after I click Save All Metada, they only show when a Rebuild de project. This start to happen after a few days, can anyone tell me how to fix this?
    Thanks

    Hi Carol,
    After rebuild all compile time dependency and syntax might be checked and something is missing then errors suppose to come.
    If you have doubt you can re install the NWDS...
    Deepak!!!

Maybe you are looking for