Drop down list for User ID's and SAP List viewer format

Couple of quick questions. Any help will be greatly appreciated.
1) I need to put User ID on the selection criteria screen. And also, I need to build a dropdown list for user ID selection by finding all user IDs in the Finance department and put it on the list.
2) I need to display the report in the SAP List viewer format, which enable these functions including sorting, hiding fields, filtering, exporting to an excel file as necessary. My output is currently plain vanilla as follows
loop at ibkpf where belnr = ibseg-belnr.
       read table iskat with key saknr = ibseg-hkont.
       read table icepct with key prctr = ibseg-prctr.
       read table icskt with key kostl = ibseg-kostl.
       write:/
       iBKPF-BELNR,     " Accounting document number
       iBKPF-BUKRS,    " Company code
       iBKPF-GJAHR,     " Fiscal Year Range
       iBKPF-MONAT,     " Period
       iBKPF-USNAM,     " Username
       iBSEG-BELNR,      "Document #
       iBSEG-BUZEI,      "Item #
       iBSEG-BSCHL,      "Posting Key
       iBSEG-SHKZG,      "Debit/credit indicator
       iBSEG-PRCTR,      "Profit Center
       icepct-ktext,
       iBSEG-KOSTL,      "Cost Center
       icskt-ltext,
       iBSEG-HKONT,      "G/L Account
       iskat-TXT20,
       iBSEG-DMBTR,      "Local currency
       iBSEG-WRBTR,      "Document currency
       iBSEG-SGTXT,      "Explanation
       iBSEG-KOART.      "Account type

Hello Syed
Here is a sample coding for a dropdown listbox:
*& Report  ZUS_SDN_DROPDOWN_LIST
REPORT  zus_sdn_dropdown_list.
TYPE-POOLS: vrm. " Value Request Manager: Typen und Konstanten
DATA:
  gt_values   TYPE vrm_values.
PARAMETERS:
  p_usrid    TYPE xubname AS LISTBOX VISIBLE LENGTH 13.
INITIALIZATION.
* Select the allowed values for dropdown listbox
  SELECT bname AS key FROM  usr02 INTO TABLE gt_values
         WHERE  bname  LIKE 'S%'.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id              = 'P_USRID'
      values          = gt_values
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
START-OF-SELECTION.
END-OF-SELECTION.
You have two fields for the listbox available:
- KEY (obligatory)
- TEXT (optional)
Regards
  Uwe

Similar Messages

  • Drop down menu for a list

    Hi, I need to create a type of drop down menu for a
    navigation list. Only one button needs a drop down option. I was
    wondering if anyone had any suggestion on the best way to go about
    it? Is there a way to make the list that drops down to the right
    instead of dropping straight down in order to keep the opening
    window from getting in the way of the button beneath it. I would
    like to do it without changing the order of the navigation list and
    having to make it the last button.
    Thanks

    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "PENONE" <[email protected]> wrote in
    message
    news:fk2jpl$412$[email protected]..
    > Hi, I need to create a type of drop down menu for a
    navigation list. Only
    > one
    > button needs a drop down option. I was wondering if
    anyone had any
    > suggestion
    > on the best way to go about it? Is there a way to make
    the list that drops
    > down
    > to the right instead of dropping straight down in order
    to keep the
    > opening
    > window from getting in the way of the button beneath it.
    I would like to
    > do it
    > without changing the order of the navigation list and
    having to make it
    > the
    > last button.
    >
    > Thanks
    >

  • After navigating (sometimes downloading pictures, sometimes not) for approximately 10 minutes, I can no longer see contents of drop down menues, then Firefox freezes up and I have to use Ctrl/Alt/Delete to end my internet experience.

    After navigating (sometimes downloading pictures, sometimes not) for approximately 10 minutes, I can no longer see contents of drop down menus, then Firefox freezes up and I have to use Ctrl/Alt/Delete to end my internet experience.
    == This happened ==
    Every time Firefox opened
    == After upgrading to 3.6

    Step by step, how did you arrive at seeing this agreement?

  • I've lost my drop down menu for my back and forward buttons. I use them constantly. How do I add this or is that option gone for good?

    There used to be a drop down menu along side the forward and back buttons so you could skip several pages in between. I couldn't find that as an option to customize that feature back is that option no longer available?

    Hi Emclatchy,
    In Firefox 4 you should be able to get the history drop-down menu by left-clicking on the back button or the forward button and holding the mouse button down for a few seconds.
    Or, you can try installing this add-on:
    https://addons.mozilla.org/en-us/firefox/addon/backforedrop/
    I haven't tried it myself but it is supposed to add the history drop-down indicator back to Firefox 4, same as it was in previous versions.
    Hope that helps,
    --Jono Xia, Mozilla

  • I recently downloaded itunes 10.3.1 for MAC.  BUT everytime I go to help to try and find the diagnostic options, there is no drop down option for diagnostic?  Can someone help?

    i recently downloaded itunes 10.3.1 for MAC.  BUT everytime I go to help> to try and find the diagnostic options, there is no drop down option for diagnostic?  Can someone help?

    Why not available in Mac version. We are behind proxy and need this to see why iTunes isn't working?

  • Fire fow will not let me use curtain buttons and drop down menus for web sites. i had version 7.01 and upgraded to verson 8.02b and it did it on both of them. and the web pages work find if i use chrome

    Firefox will not let me use curtain buttons and drop down menus for web sites. i had version 7.01 and upgraded to verson 8.02b and it did it on both of them. and the web pages work find if i use chrome

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 21.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will lose all personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Drop down menu for services button

    This is the code i have for the buttons on the website.
    <div id="cssButton" align="center">
        <a href="index3.html" class="button custom">HOME</a>  
        <a href="news.html" class="button custom">NEWS</a>  
        <a href="services.html" class="button custom">SERVICES</a>    
        <a href="portfolio.html" class="button custom">PORTFOLIO</a>    
        <a href="about.html" class="button custom">ABOUT US</a>    
        <a href="contact.html" class="button custom">CONTACT US</a>            
      </div>
    I'm trying to create a drop down menu for the services button, but not sure how to go about it.
    Any help would be much appreciated.
    Aaron

    Structurally, you really should use unordered lists for menus.  And use sub-lists for your drop-menus.
    <nav>
    <ul id="menu">
    <li>Menu 1</li>
    <li>Menu 2</li>
    <li>Menu 3</li>
    <li>Menu 4<ul>
         <li>Sub-Menu 4.1</li>
         <li>Sub-Menu 4.2</li>
         <li>Sub-Menu 4.3</li>
    </ul>
    </li>
    <li>Menu 5</li>
    </ul>
    </nav>
    With some creative CSS, you can have button styled lists that drop.  See links below for details:
    CSS Menu - JSFiddle
    http://jsfiddle.net/zN7fU/28/
    Nancy O.

  • What is forwarded when " as in-line text" is selected in the drop-down box for forwarding a message. i.e. are attachments forwarded?

    What is forwarded when " as in-line text" is selected in the drop-down box for forwarding a message. i.e. are attachments forwarded with the message or not?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

  • Drop down option for an output field in an ALV display

    hi,
    how to provide a drop down option for a field in the output of an ALV Grid display........
    Thanks in advance

    Hi Deepthi,
    Please refer this program BCALV_EDIT_07 and BCALV_EDIT_06.
    This will help you in your program
    <b>Reward Points if Useful</b>
    Thanks
    Vishwanath Purohit

  • How can i create a drop down menu for set qty in my store?

    I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.

    Hi Chris -
    Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
    First off, toward the top, referring to the initial button, you say to add this interaction:
    ON CLICK; Play Transition to comboBox: selected
    ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
    ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
    However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
    But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
    Again, thank you!
    Amy

  • Drop down values for table in a view not getting populated dynamically

    Hi Experts,
    The problem which i am facing is as follows
    In an existing web dynpro component , i already have a view and it consists of table which has 3 columns.All the three columns are non editable
    MATERIAL     MAT_DESC     MAT_DEL_FLAG
    ABC          
    EFG          
    HIJ
    Now i need to add 2 more columns after the MAT_DEL_FLAG.These two PLANt and STORAGE LOCATION columns must have drop down values
    The context refers to a standard Database ZTABLE to which these two fields are added.
    MATERIAL     MAT_DESC     MAT_DEL_FLAG     PLANT     STORAGE_LOCATION
    ABC                    
    EFG                    
    HIJ                    
    The Plant column must have the drop down values based on Material .
    If we select some value for Plant , then based on the value of plant the storage location drop down values must be populated.
    So as per this logic , the drop down values for plant for each row must be different.
    Please let me know how to achieve this.
    This is a normal table and not an ALV table.
    Also please let me know whether the drop down field must be drop down by key or drop down by index.
    This is very urgent.
    Thanks in advance
    Sindhu

    Refreshing things again for you -
    1. As I have already pointed, create 2 context attributes for VALUESETS for both plant and St.loc.
    2. Create dropdown by indexes for both of them, assign valusets to respective attributes using node information.
    3. Go to the plant dropdown and create the action for it ONSELECT event - when you chagne the dropdown of plant then populate the respective storage loc.
    4.Now, As you are selecting a row (leadselect) you have populated the plant and loc details....write the code for lead selection event of the table
    You will get the lead selection index right using node interface (IF_WD_CONTEXT_NODE)
    LOOP AT ITAB INTO WA_ITAB.
    if sy-tabix eq lv_lead_index.
    clear wa_valuset.
    wa_valueset-key = 'X'.   "plant
    wa_valueset-value = 'X'.
    append wa_valueset to it_valueset1.
    * popultae the storage location valuset based on the plant selected (bydefault it is 1 right in dropdown)
    clear wa_valuset.
    wa_valueset-key = 'XX'.   "storage loc
    wa_valueset-value = 'XY'.
    append wa_valueset to it_valueset2.
    else.
    * Fill the valusets for all other rows as different or as per your requirement.
    endif.
    wa_itab-valuset1 = lt_valueset1.
    wa_itab-valuset2 = lt_valueset2.
    modify itab from wa_itab transporting valuset1 valuset2.
    clear wa_itab.
    ENDLOOP.
    lo_node->bind_table ( it_tab).
    Now for that Row, if a plant value is changed, respective storgae loc has to be filled right...then in that ONSELECT of plnat drodpwon again you need to write a piece of code...using the same code with a little modifications.
    Hope this is clear.
    Check this article on the same - but here ALV is used...the concept is same  use it for your table -
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cbdde3-fe58-2c10-fcbc-8db18e693877?QuickLink=index&overridelayout=true
    the above code you hvae pasted  - i think it fills only for the 1st time....
    Regards,
    Lekha.
    Edited by: Lekha on Dec 20, 2011 12:00 PM

  • Did anyone experience drop down in # of user usage in Apple's weekly report after transitioning?

    Hello,
    Did anyone experience drop down in # of user usage in Apple's weekly report after transitioning to the new structure (or design)?
    We transitioned our public iTunes U site on the first week of April.
    Since then, the number in the apple's weekly report showing the user usage of the site dramatically went down.
    I don't think all the RSS feeds and the URL of our podcasts changed due to the transition.

    Greetings;
    The following previous discussion thread might shed some light on your issue.  All the best...
    Syd Rodocker
    Tennessee Department of Education
    http://discussions.apple.com/thread.jspa?messageID=13000515&#13000515

  • I don't have any drop down menus for burning playlist to disc

    I had a computer crash and reinstalled itunes. Everything works except the burner. I dont have any drop down menus for burning the playlists to disc. What do I do now?

    It has something to do with Segoe fonts in your Windows system.
    Refer to this link from itunesTRK for solution on windows 7:
    https://discussions.apple.com/thread/3782135

  • Drop down required for select-options

    drop down required for select-options as displayed in VT01N 'shipment type'.

    Hi
    Check out..this example
    data: i_value       TYPE vrm_values,
            wa_value      LIKE LINE OF i_value.
    PARAMETERS :  p_field   TYPE dd03l-fieldname AS LISTBOX
                             VISIBLE LENGTH 80 OBLIGATORY.
    INITIALIZATION.
    *-- Populate List Box
    *-- TEMKSV - Legacy Value
      wa_value-key = 'TEMKSV'.
      wa_value-text = 'Legacy Key'.
      APPEND  wa_value TO i_value.
      CLEAR:  wa_value.
    *-- Installation
      wa_value-key = 'INSTLN'.
      wa_value-text = 'Installation'.
      APPEND  wa_value TO i_value.
      CLEAR:  wa_value.
    Setting the selection
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = 'P_FIELD'
          values = i_value.
    Patil

  • Why is extension not a drop down option for me under window (window extension) in Illustrator CC 2014?

    Why is extension not a drop down option for me under window (window > extension) in Illustrator CC 2014?
    I need to open an extension I have downloaded and added to the Adobe Extension Manager CC but the extension option on the window drop down is not present.

    SUCCESS!! I figured out that you need the Application Frame option checked in order to achieve the layout I like. Silly me.

Maybe you are looking for