Drop Down shows the values twice

Hi,
In MPP, there is a drop dop which displays all the Infotypes along with the description.
Populated all the Infotype using the FM F4IF_INT_TABLE_VALUE_REQUEST in Process on Value-request.
But the drop down shows the values twice as,
PA000 : Organisation Assignment PA000 : Organisation Assignment
PA001: Actions  PA0001: Actions
In debugging,i have checked the internal table which i pass to the FM, it has only one time.
Could be help me to resolve this.?

Ensure your code follows below logic
PARAMETERS: pa_it TYPE t582s-infty AS LISTBOX VISIBLE LENGTH 40 MODIF ID 2md.
TYPES: BEGIN OF t_infty,
        infty TYPE t582s-infty,
        itext TYPE char40,
       END OF t_infty.
DATA: it_infty TYPE STANDARD TABLE OF t_infty WITH HEADER LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_it.
    REFRESH it_infty.
    SELECT * FROM t582s WHERE sprsl = sy-langu.
      MOVE-CORRESPONDING t582s TO it_infty.
      it_infty-itext = t582s-itext.
      CONCATENATE it_infty-infty t582s-itext INTO it_infty-itext SEPARATED BY ' - '.
      APPEND it_infty.
    ENDSELECT.
    PERFORM dropdown_list_values_create TABLES it_infty USING  'INFTY'.
FORM dropdown_list_values_create  TABLES f_tab
                                  USING retfield TYPE dfies-fieldname.
  "display internal table as a dropdown list,
  "return field 'INFTY' when the event is trigerred
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = retfield
      value_org       = 'S'
    TABLES
      value_tab       = f_tab
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDFORM.                    "dropdown_list_values_create
Regards
Marcin

Similar Messages

  • "Window" drop-down shows no windows, if it's the 'primary' window; works fine with all other windows.

    The first time I opened Firefox after the 'upgrade' to 34.0.5, it restored all of my windows and tabs from the previous session, as it should. But the Window drop-down showed only "Minimize" and "Zoom", and didn't list any windows, not even the one I was in (I'll call it the 'primary', since it's the one that was listed first). If all of the windows were minimized, I would have nothing, but once I made a new window, all of the windows would show up in the Window drop-down. After some trial-and-error, it appears to happen *only* when the active window is the 'primary', it works fine when any other window is active.
    How can this be fixed?

    As I stated I already did this and it was not helpful. The drive is not near capacity, but I could not give you an exact answer on how full it is. I know my data is still there as I can see items but just cannot access any windows or menu items as no text is displayed.

  • On my drop down menus, the items listed are appearing twice.

    On my drop down menus, the items listed are appearing twice.  For instance, there are two "shut down" and two "restart."  How do I fix this?

    Hi Peter, and a warm welcome to the forums!
    See Tom Gewecke's post here...
    http://discussions.apple.com/thread.jspa?messageID=4395251&#4395251
    This problem has been reported serveral times. It seems to be a loss of access to the main system font. I've not heard of any cure except a reinstall.
    It appears to be time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • On basis of drop down by key values i want to enable and disable ui elements is wda

    How to enable and disable ui elements on basis of drop down by key values as i show in screen shot i have 3 values in drop down by key on basis of those values i need to enable and disable ui elements in webdynpro abap kindly reply back

    Hi Sreedhara,
    There are many tutorials on SCN for learning Web Dynpro ABAP. If the following steps don't make sense to you, please do a search for some tutorials and read through the tutorial materials. Hopefully the tutorials will help you to become familiar with some of the basics of Web Dynpro ABAP.
    Here is how to enable or disable a UI element upon selection from a DropDownByKey.
    In your view context, create a context attribute of type wdy_boolean. For now, let's call this attribute IS_ENABLED
    In your view layout, bind the enabled property of the UI element to the context attribute IS_ENABLED.
    In your view actions, create an action-- let's call it SET_ENABLED-- and bind this action to the DropDownByKey element's onSelect event in the view layout.
    In the event handler method for the SET_ENABLED action, use the Code Wizard to read the value of the DropDownByKey selected value, then use the Code Wizard again to set the value of context attribute IS_ENABLED to either true or false.
    Now when a value is selected from the DropDownByKey, the SET_ENABLED action will be triggered and the IS_ENABLED context attribute will be set to either true or false. Since your UI element's enabled property is bound to this true or false value via the context binding, the UI element will change to enabled or disabled.
    Good luck!
    Cheers,
    Amy

  • Width tool presets drop down, extend the box

    just wanted to extend the box of the width tool preset drop down. in the control panel.

    Yes we can achieve this. But you need to use internal table in dropdownlist as show below:
    <b>Onintialization</b>
             entry-name = 'IC'.   entry-value = 'IC Text'.
             APPEND entry TO itab.
             entry-name = 'PM'.  entry-value = 'PM Text'.
             APPEND entry TO itab.
    <b>Layout</b>
          <htmlb:dropdownListBox id                = "LIST"
                                  nameOfKeyColumn   = "NAME"
                                   nameOfValueColumn = "VALUE"
                                   width             = "300"
                                   selection         = "<%= doc_type %>"
                                   onSelect          = "DDLB1Event"
                                   table             = "<%= itab %>" />
    <b>Page attribute:</b>
    entry     TYPE     IHTTPNVP
    itab     TYPE     TIHTTPNVP
    <b>OnINputprocessing:</b>
    CALL METHOD REQUEST->GET_FORM_FIELD
              EXPORTING
                NAME  = 'LIST'
              RECEIVING
                VALUE = doc_type.
    delete itab where name = doc_type.  " This will remove selected entry from Itab.
    if doc_type = 'IC'
             entry-name = 'IC'.   entry-value = 'IC Text'.
    else.
             entry-name = 'PM'.  entry-value = 'PM Text'.
    endif.
    insert entry to itab index 1.
    <i>* Reward each useful answer</i>
    Raja T

  • I need to open up the same web site in two separate tabs. Since I upgraded to Firefox 6 when I try to open the web page in a new tab from the list in the drop down in the address window it only gives be the option to switch to the tab already have open.

    When I go the drop down from the address window, rather than showing the URL of the website I want open in a second tab it says "Switch to tab." But I don't want to switch to the tab - I want to open a second tab on the same URL. If I want to open it a second time I have to manually key in the address. Is there some way to turn this off so I can open up the second tab using the same address from the drop down? I have always been able to do this with previous versions of Firefox.

    '''''"Is there some way to turn this off so I can open up the second tab using the same address from the drop down?"'''''
    You can install this Add-on: https://addons.mozilla.org/en-US/firefox/addon/switch-to-tab-no-more/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Drop down in the selection for the field from the table

    Hi.
    i want to put the drop down for the field from the table fo which i dont know the number of entries for the field zregion1 of the table zbwcntry.
    please tell me how to use the function module and what could be the line of codes.
    the drop down is for the select option on the slection screen of the classical report.
    please help .

    HI,
    Check below code..it may help you.
    REPORT Zbunu .
    TYPES :BEGIN OF STR ,
           MATNR TYPE MATNR ,
           END OF STR .
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
           VAR TYPE MARA-MATNR .
    PARAMETERS : S_MATNR TYPE MATNR ,
                  P_MATNR TYPE MATNR.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MATNR .
    SELECT MATNR FROM MARA INTO
    CORRESPONDING FIELDS OF TABLE ITAB UP TO 1000 ROWS.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        retfield               = 'MATNR'
      PVALKEY                = ' '
       DYNPPROG               = SY-CPROG
       DYNPNR                 = SY-DYNNR
       DYNPROFIELD            = 'S_MATNR'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = 'X'
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      tables
        value_tab              = ITAB
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Ansumesh

  • How can I enable the automated drop down for the subject line on the email page

    How can I enable the automated drop down for the subject line on the email page as I send more than 300 emails everyday with the same subject line. Before it use to happen in my gmail account but now its not. Please help me as its increasing my work time because I have to type the subject line again and again on each email I send. Please help me guys.

    This is usually caused by one or more bookmarks having a long title.
    You can check that folder in the Library and shorten long names.
    * Bookmarks > Show Al Bookmarks
    *Bug 626066 - History, Bookmarks menus too wide because of pages with long titles on 64bits
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • How can I restore my bookmarks, and the Firefox drop-down in the top left?

    I cannot use Firefox as I always used to.
    It has lost all of my Bookmarks Bar, so I cannot go to, for example, my email link.
    It goes straight to a full screen display of my (Google) homepage and won't let me see the old Firefox drop-down in the top left corner.
    How can I get any Firefox help?
    I can just about survive using Internet Explorer - is that what Mozilla want?
    oh, it's back now. what happened?

    Hello,
    you can easily move the Bookmark icon to left using the Customize feature from the Menu [[Image:New Fx menu]] button on the Right top corner.
    please also see:
    *Classic Theme Restorer. https://addons.mozilla.org/hu/firefox/addon/classicthemerestorer/
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox

  • I would select a link from the drop down on the address bar but the page would not open. I would select it again but the page does not open. I could only reach website by selecting google on most visited list.

    After updating AVG anti-virus, I encountered a problem on Firefox. I would select a link from the drop down on the address bar but the page would not open after clicking on it. I would select it again, even double click, but the page does not open. I could only reach website by selecting google or yahoo from my dropdown on the most visited list and then click the website that I want to visit. I would like to do this in one step by just selecting a link from my history on the address bar and select a link instead of going to google and then writing the page I want to visit. What could be the problem? When going to the address bar to select a link to open, why does the site not open? Any help would be appreciated.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode.]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • Creation of a Query to show the values for the current month and the last 12 months data.

    Dear All,
    Good day!
    I have to create a Query with the below requirement.
    I have to create a Query to show the values for the current month and the last 12 months data.
    Can you please guide me how to achieve this ??
    thank you,
    Regards,
    Hema

    Hema
    explain the exact problem..? as you mentioned you want to create query to show values for current month and last 12 months.. so I think you want to show values for 12 months from current data.. you can achive this by multiple way..
    you can have selection screen and field with date .. and restrict based on system current date and 12 months before or you can handle this at your target.. .. I mean there are multiple ways to restrict data by date range..
    for some more hints..
    http://www.forumtopics.com/busobj/viewtopic.php?t=34393&sid=7fba465d0463bf7ff5ec46c128754ed6
    http://businessintelligence.ittoolbox.com/groups/technical-functional/cognos8-l/how-to-display-last-12-months-in-report-based-on-todays-date-3231850
    http://scn.sap.com/thread/3217381
    search on SDN you will get many other ways..
    Thanks,
    Bhupesh

  • Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator

    Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
    involving all list items) are currently prohibited.
    Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
    Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
    Prashanth

    Reorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Showing the Values as 0 in Sales Queries

    Hi,
    I configured Sales in my BI server with the help of SAP Best Practices.
    In the initial steps while activating the Data Sources it has give me a warning message " R8281".
    I neglected that warning and i completed the configuration.Now am trying to execute Incoming Order Query but it is showing the Values as 0 for all the Key Figures and Characteristics.
    Not only for 1 query for all the querire it is showing the Values as 0.
    Please guide me with a solution.
    With Regards,
    Praveen

    Hi Savitha,
    As it is a Preconfigured Solution given in SAP Best Practices,
    These are the Steps i followed
    1) Transferring Business Content DataSources
    2) Logistics Extract Structures Customizing Cockpit
    3) Deleting the Contents of the Setup Table
    4) Performing Setup - SD Sales Orders
    5) Performing Setup - LE Deliveries
    6) Performing Setup - SD Billing Documents
    7) Replicating DataSources from the SAP ERP System
    8) Assigning Source System for Activation
    9) Activating Business Content: InfoObject Catalogs
    10) Loading Master Data Attributes/ Texts/Hierarchies
    11) Activating Business Content: InfoCubes and
         MultiProvider
    12) Activating Business Content: Queries
    13) Activating Business Content: Query Views
    14) Maintaining DataStore Objects
    15)  Loading Transaction Data
    So i created InfoPackages and i did all these steps.
    But as per our discussion when i right click and select manage on Sales Overview Info Cube in RECONSTRUCTIONS tab i found most of the InfoPackages Load Status as Red.
    I hope you two will guide me to get a solution.
    Thanks and Regards,
    Praveen

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

  • I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    You are absolutely right.  Thought Enter meant Enter.  I was wrong.  Thank you for the help.
    Rod Rogers, Broker
    Accredited Land Consultant (ALC)
    Metcalf Land Company, Inc.
    Office: 864-585-0444
    Mobile: 864-316-0297
    Fax: 864-583-6000
    <http://www.metcalfland.com> www.metcalfland.com

Maybe you are looking for