Drop down in slis_t_fieldcat_alv

Hi,
How to enable drop down using type slis_t_fieldcat_alv. I have done drop down for a field in the ALV using types lvc_t_fcat. What is the equivalent like the drop down we have in types lvc_t_fcat.
Thanks,
Vijay V

Hi vijay
in the field-catalog LVC_S_FCAT there is a field named DRDN_FIELD
to make individual cells as dropdown.
Pass the name of the new field
to the field "DRDN_FIELDE of the field catalog structure for the column.
Are there still further fields in the fieldcatalog to use them for such purposes..
Regards
Divakar

Similar Messages

  • Drop down in REUSE_ALV_GRID_DISPLAY

    Hi,
    I am using REUSE_ALV_GRID_DISPLAY function module,
    I am facing a problem with drop down list used for the fields that are displayed in ALV.
    To get the search help or drop down for the field I am using the below code in field catalogue.
      wa_p_i_fieldcat_alv-fieldname = 'VBTYP'.
      wa_p_i_fieldcat_alv-ddictxt = 'M'.
      wa_p_i_fieldcat_alv-seltext_m = 'VBTYP' .
      wa_p_i_fieldcat_alv-seltext_l = wa_p_i_fieldcat_alv-seltext_s  =  wa_p_i_fieldcat_alv-seltext_m.
      wa_p_i_fieldcat_alv-reptext_ddic = wa_p_i_fieldcat_alv-seltext_s.
      wa_p_i_fieldcat_alv-ddic_outputlen = 1 .
      wa_p_i_fieldcat_alv-col_pos    = 4.
      wa_p_i_fieldcat_alv-edit = 'X'.
    wa_p_i_fieldcat_alv-ref_fieldname  = 'VBTYP' .
      wa_p_i_fieldcat_alv-ref_tabname = 'ZVBOOKING'.
      APPEND wa_p_i_fieldcat_alv TO p_i_fieldcat_alv.
    But for the field VBTYP the values are maintained in domain level  value range.
    So when I enter any value in the field 'VBTYP' and save the value, and try to deleted that value, FM is poping me an error message 'Enter an valid value', which should not happen, since its not a mandatory field in ZVBOOKING table.
    Please any one guide me how to over come it.
    Correct answer, points will be rewarded.
    Regards,
    Nithya

    check this sample program this will help you
    *& Report  Z_PRA_16                                                     *
    *&                classical & alv with  header line                                                     *
    REPORT  z_pra_16   NO STANDARD PAGE HEADING
          LINE-COUNT 20 " no of records in a single page
          LINE-SIZE 100."no of colons in a page.
    DECLARING STRUCTURE.
    TYPES:
          BEGIN OF type_wa,
            carrid LIKE sflight-carrid,
            connid LIKE sflight-connid,
            fldate LIKE sflight-fldate,
            price LIKE sflight-price,
            currancy LIKE sflight-currency,
            seatsmax LIKE sflight-seatsmax,
            seatsocc LIKE sflight-seatsocc,
            carrname LIKE scarr-carrname,
          END OF type_wa.
    FOR TYPE DECLARING INTERNAL TABLE
    DATA :
            wa TYPE type_wa,
            itab TYPE STANDARD TABLE OF type_wa.
    *For selection option
    DATA:    pp TYPE sflight-carrid,
              pp1 TYPE sflight-connid,
              pp2 TYPE sflight-price.
    DECLARING SELECTION BLOCK.
    SELECTION-SCREEN BEGIN OF BLOCK pra WITH FRAME TITLE text-001.
    Declaring selection options IN SELECTION.
    SELECT-OPTIONS :
                    s_carrid FOR pp,                    " declaring variables from table pp.
                    s_connid FOR pp1,                   " declaring variables from table pp1.
                    s_fldate FOR sy-datum,              " declaring variables from table .
                    s_price FOR pp2.                    " declaring variables from table pp2.
    SELECTION-SCREEN END OF BLOCK pra.
    PARAMETERS:
                alv   TYPE c RADIOBUTTON GROUP g1,        " option for selecting ALV REPORT
                class TYPE c RADIOBUTTON GROUP g1.        " option for selecting CLASSICL REPORT
    **FOR CARRID MESSAGE GIVING CONDITION FOR A FIELD
    AT SELECTION-SCREEN ON s_carrid.
      SELECT SINGLE
              carrid INTO s_carrid
      FROM sflight
      WHERE carrid IN s_carrid.
      IF sy-subrc <> 0 .
        MESSAGE i000(zp).                        " message for information
        MESSAGE w000(zp).                        " message for warringing
      ENDIF.
    for connid MESSAGE
    AT SELECTION-SCREEN ON s_connid.
      SELECT SINGLE
              carrid INTO s_connid
      FROM sflight
      WHERE connid IN s_connid.
      IF sy-subrc <> 0 .
        MESSAGE i001(zp).
        MESSAGE w001(zp).
      ENDIF.
    FOR DATE MESSAGE
    AT SELECTION-SCREEN ON s_fldate.
      SELECT SINGLE
              carrid INTO s_fldate
      FROM sflight
      WHERE fldate IN s_fldate.
      IF sy-subrc <> 0 .
        MESSAGE i002(zp).
        MESSAGE w002(zp).
      ENDIF.
    START-OF-SELECTION.
      IF class = 'X'.                          " FOR CLASSICAL REPORT OPTION.
        PERFORM kumar.                        " SUBROUTINE for select statement fetching data.
    Getting output.
        LOOP AT itab INTO wa.
          WRITE: /
                      wa-carrid,
                      10 wa-carrname,
                      30 wa-connid,
                      40 wa-fldate,
                      55 wa-price LEFT-JUSTIFIED,
                      70 wa-currancy,
                      75 wa-seatsmax,
                      90 wa-seatsocc.
        ENDLOOP.
        FORMAT COLOR OFF.  "SCREEN COLOR
        CLEAR itab.
      ENDIF.
    TOP-OF-PAGE. "
      FORMAT COLOR 1.
      WRITE: / 'Page ', syst-pagno,'REPORT NAME', sy-repid,'Date / time',
                syst-datum, syst-uzeit.
      SKIP.
      WRITE: /
                   text-010,                        " FOR CARRID
                 15 text-008,                       " FOR CARRNAME
                 30 text-002,                        "CONNID
                 40 text-003,                       "FLDATE
                 55 text-004,                         "PRICE
                 70 text-005,                       "CURRENCY
                 80 text-006,                       "SEATSMAX
                 90 text-007.                       "SEATSCONN
      FORMAT COLOR OFF.
      ULINE.
    FOR ALV OPTION
    START-OF-SELECTION.
      IF alv = 'X'.                       "FOR ALV REPORT OPTION.
        TYPE-POOLS: slis.                  " declaring slis.
    DATA:
          gt_fieldcat      TYPE slis_t_fieldcat_alv.
                                          " declaring  field catalog with internal table
        PERFORM kumar.                  "for select statement fetching data
        PERFORM praveen.                " subroutine
    DATA :     prahead TYPE slis_t_listheader,
                              " DECLARING INTERNAL TABLE FOR HEADER FROM SLIS
               praevent TYPE slis_t_event.
                               " DECLARING INTERNAL TABLE FOR EVENT FROM SLIS
    CONSTANTS: praconst(30) TYPE c VALUE 'TOP_OF_PAGE'.
        PERFORM pra. "  DECLARING SUBROUTIN FOR HEADER
    *CALLING FUNCTIONAL MODULE
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
           i_callback_program                = sy-repid       " FOR PROGRAM NAME
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
           it_fieldcat                       =  gt_fieldcat   "FOR FIELD CATAGORI
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
       it_events                         = praevent         " FOR EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
          TABLES
            t_outtab                          = itab       " declaring slfight,scarr in itab
         EXCEPTIONS
           program_error                     = 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.
      ENDIF.
    *&      Form  praveen
          text
    -->  p1        text
    <--  p2        text
    FORM praveen .                             " subroutine
      DATA: pra TYPE slis_fieldcat_alv.         " declaring structure from slis table.
      CLEAR pra.                                " cleaing structure
      pra-fieldname   =   'CARRID'.                " declaring field name for carrid
      pra-tabname     =   'ITAB'.
      pra-seltext_m   =   'CARRID'.                " declaring field heading
      APPEND pra TO gt_fieldcat.
      CLEAR pra.
      pra-fieldname   =   'CONNID'.
      pra-tabname     =   'ITAB'.
      pra-seltext_m   =   'CONNID'.
      APPEND pra TO gt_fieldcat.
      CLEAR pra.
      pra-fieldname   = 'FLDATE'.
      pra-tabname     = 'ITAB'.
      pra-seltext_m   = 'FLDATE'.
      APPEND pra TO gt_fieldcat.
      CLEAR pra.
      pra-fieldname   = 'PRICE'.
      pra-tabname     = 'ITAB'.
      pra-seltext_m   = 'PRICE'.
      APPEND pra TO gt_fieldcat.
      CLEAR pra.
      pra-fieldname   = 'CURRANCY'.
      pra-tabname     = 'ITAB'.
      pra-seltext_m   = 'CURRENCY'.
      APPEND pra TO gt_fieldcat.
    ENDFORM.                    " praveen
    *&      Form  kumar
          text
    -->  p1        text
    <--  p2        text
    FOR FETCHING DATA TO RE-USE.'SUBROUTINE'
    FORM kumar .
      SELECT
                         a~carrid
                         a~connid
                         a~fldate
                         a~price
                         a~currency
                         a~seatsmax
                         a~seatsocc
                         b~carrname
                              INTO TABLE itab
                              FROM
                                  sflight AS a
                              INNER JOIN
                                  scarr AS b
                               ON
                                  acarrid = bcarrid
                      WHERE
                             a~fldate IN s_fldate
                      AND
                             a~carrid IN s_carrid
                      AND
                             a~price IN s_price.
      FORMAT COLOR 5. "adding color
    ENDFORM.                    " kumar
    *&      Form  pra
          text
    -->  p1        text
    <--  p2        text
    FOR HEADER
    FORM pra .
      DATA : praeventstr TYPE slis_alv_event,         "DECLARING EVENT STRCTURE
             praheadstr TYPE slis_listheader.         " DECLARING HEADER STRUCRTUE
      praheadstr-typ = 'H'(009).                           " TYP ='H' THIS IS FOR HEADING SAP-DEFAULT
      praheadstr-info = text-025.                     " INFORMATATION
      APPEND praheadstr TO prahead.                   " STRUCTUCTURE TO INTERNAL TABLE
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'           " CALLING EVENTS
       EXPORTING
         i_list_type           = 0
       IMPORTING
         et_events             = praevent            " DECLARING EVENTS
       EXCEPTIONS
         list_type_wrong       = 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.
      " EVENTS TO STRUCTURE
      READ TABLE praevent WITH KEY
                              name = slis_ev_top_of_page
                              INTO praeventstr.
      MOVE praconst TO praeventstr-form. " MOVING CONSTRANT TO STRYCTUE
      APPEND praeventstr TO praevent.    " STRUCTURE TO EVENTS
    ENDFORM.                    " pra
    *CALLING FUNCTIONAL MODUL FOR HEADER
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = prahead.
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE

  • Drop down text options

    I'm looking for feedback on other options for displaying drop
    down text. I'm getting feedback from my users that they don't
    understand that green italic text (or what ever format is used)
    assumes drop down text. Most people are now used to seeing collapse
    and expand icons to represent drop down information. I have used
    the twisties in some of my projects but in this specific case, i am
    using the Show/Hide All script and there appears to be a conflict
    with the 2 scripts.
    I'm just curious if there are other methods used to represent
    or display that an item on the page is a drop down link, other than
    expand or collapse icons.

    Are you talking about the twisty / show hide methods on my
    site? If so please see the introductory topic that refers to a
    script that does allow both to work together.

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How do I use one drop down list to refresh the list in another drop down?

    I am using a drop down list full of years (i.e. 2008, 2009..etc). When I make my selection from this drop down list (say for instance I select 2009) I want it to update the available data in the second drop down list. I have the query statement set up within the JSP page but it needs to be a dynamic SQL statement based off the value I selected in the first drop down.
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    The variable "year" is the value I need to figure out how to assign. Now this variable is a Java variable (attribute) and Im unsure how to get the value from the previous drop down and assign it to that. Basically I need the JavaScript value from the first drop down assigned to the Java attribute "year".
    Anyone able to help me with this???
    Thanks,
    Jed

    Here are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
    <select name="season">
    <option value='2009' selected>2009</option>
    <option value='2008'>2008</option>
    </select>
    <select name="gameselect">
    <%
    try
    String year = "2009";
    String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    Statement s = con.createStatement();
    s.executeQuery(sql);
    ResultSet rs = s.getResultSet();
    while(rs.next())
    %>
    <option value="1"><% out.print(rs.getString("GameDescription"));%></option>
    <%
    catch(Exception e)
    %>
    </select>
    Thanks,
    Jed

  • Is there a way to create a drop down menu with an automatic answer dependent on what is chosen?

    Is there a way to create a drop down menu with an automatic answer dependent on what is chosen? An if-then statement perhaps?  I am looking to add over 100 drop down options and would like to have a message automatically pop up depending one which option they chose.  Thank you.

    Hi,
    You would use the skip logic to conditionally show form items based on the selection within the drop-down menu. Here's a link to a description of the feature in our help documentation:
    http://help.adobe.com/en_US/formscentral/using/WSd789abd336388b1642c7fce012da94afe4f-8000. html#WS0faeceb8c23f5d60-774f03e3131ddc76d7d-8000
    Regards,
    Brian

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Is there a way to expand all drop-down text in a single topic in the editor?

    I'm going through all the topics in a large RH10 project manually checking various things. A lot of topics contain drop-down text and to view the contents, I'm having to right click on each one and select 'Drop-down text properties'. Which is taking FOREVER. So:
    a) is there an option to expand all drop-down text in the current topic? I'm sure I remember this from a previous version but can't find it now.
    b) is there a keyboard shortcut to open drop-down text?
    Please say yes.

    a] Yes.
    b] No.
    There is nothing in Rh but there is a method on my site and on htttp://wvanweelden.eu The same scripts, just different explanations.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • A custom view in the Edit drop-down

    Hi,
    How could I create a custom view and add it to the Edit List Item drop-down in SharePoint 2013? This screenshot shows what I mean in SharePoint 2010:
    I'd like to have a menu item Custom View below Edit Properties in the drop-down list. When the user clicks the item I'd like to redirect to my layout page.
    Thanks,
    Leszek
    Wiki: wbswiki.com

    Hi ata6502:
    Adding a user custom action for list items
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class CreateUserCustomActionList
    static void Main()
    string urlWebsite = "http://MyServer/sites/MySiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    UserCustomAction oUserCustomAction = collUserCustomAction.Add();
    oUserCustomAction.Location = "EditControlBlock";
    oUserCustomAction.Sequence = 100;
    oUserCustomAction.Title = "My First User Custom Action";
    oUserCustomAction.Url = urlWebsite + @"/_layouts/MyPage.aspx";
    oUserCustomAction.Update();
    clientContext.Load(oList,
    list => list.UserCustomActions);
    clientContext.ExecuteQuery();
    Modifying a user custom action
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class ModifyUserCustomAction
    static void Main()
    string urlWebsite = "http://MyServer/sites/SiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    clientContext.Load(collUserCustomAction,
    userCustomActions => userCustomActions.Include(
    userCustomAction => userCustomAction.Title));
    clientContext.ExecuteQuery();
    foreach (UserCustomAction oUserCustomAction in collUserCustomAction)
    if (oUserCustomAction.Title == "My First User Custom Action")
    oUserCustomAction.ImageUrl = "http://MyServer/_layouts/images/MyIcon.png";
    oUserCustomAction.Update();
    clientContext.ExecuteQuery();

  • Using a variable/drop down list in header of planning layout

    Dear all,
    I have created a simple BPS application for purely GL planning (No CO related objects like cost centre involved). I have the following characteristics in the header of the manuel planning layout.
    Business area
    Chart of accounts
    Company code
    Currency
    Currency Type
    Fiscal year
    Fiscal Year Variant
    Fiscal year/period
    Value type
    Version
    I have created variables for Business area, Fiscal Year, Fiscal Year Period, Posting Period and Version. The client wants either a variable or a drop down list for these characteristics in the header in the web application. When I assign a variable and put the characteristic in header, I get the error message in the web application saying header characteristic can only have a fixed value. Can someone tell me if it is possible and if so than how? I'll be very grateful for any inputs. Thanks a lot.
    Regards,
    Sumit

    Hi,
    When you create a variable, assign some values to the variable. These then become available in the drop down box. Ths first time a Web interface is called, these variable values are initial.As a result, u get the error messages. Select the variable values and then the error message should go away.
    Thanks,
    -NS

  • I installed a new printer and Acrobat Pro is not listing it as an option in the drop down box. Other apps are working. Printer is networked, platform is Windows.

    sorry, other apps are working fine and finding the new printer. HP Officejet 8620.

    I've rebooted numerous times, reloaded the software twice, spent 4 hrs on the phone with HP and 2 with Adobe. No luck. It simply doesn't show the new printer in the drop down menu for Pro or Reader and yet shows time in all in Office, Paint, Web options. Any suggestions would be greatly appreciated! Thanks!

  • I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down eliminate

    I am trying to get space on an external hard drive which has some old time machine back up files that I do not need but can not eliminate, even by going into the time machine, clicking on the backup file to be eliminated and using the drop down menu with the gear box symbol to eliminate

    I cannot find this 300GB "Backup" in the Finder, only in the Storage info when I check "About This Mac".
    You are probably using Time Machine to backup your MacBook Pro, right? Then the additional 300 GB could be local Time Machine snapshots.  Time Machine will write the hourly backups to the free space on your hard disk, if the backup drive is temporarily not connected. You do not see these local backups in the Finder, and MacOS will delete them, when you make a regular backup to Time Machine, or when you need the space for other data.
    See Pondini's page for more explanation:   What are Local Snapshots?   http://pondini.org/TM/FAQ.html
    I have restarted my computer, but the information remains the same. How do I reclaim the use of the 300GB? Why is it showing up as "Backups" when it used to indicate "Photos"? Are my photos safe on the external drive?
    You have tested the library on the external drive, and so your photos are save there.  
    The local TimeMachine snapshot probably now contains a backup of the moved library.  Try, if connecting your Time Machine drive will reduce the size of your local Time Machine snapshots.

  • In the new Pages 5.0, what is the page break shortcut key. I cannot find the key as indicated on the drop down menu.

    in the new Pages 5.0, what is the page break shortcut key (it used to be the Fn + enter). I cannot find the (new) key as indicated on the drop down menu. Please help.

    Hi Bruce and fruhulda,
    ok, I found the keyboard viewer, it only shows the traditional symbol 'return'.  something like a sideway u-turn continued with the arrow under.  This is the Canadian or US keyboard. 
    btw thanks for your suggestion.

  • I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. How can I fix this?

    I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?

    I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.

  • Trying to create a drop down menu in numbers...please help

    Hi
    Can anyone indicate how to go about creating a drop-down menu.
    Thanks in advance

    Hi Meela,
    Welcome to Apple Discussions and the Numbers 08 forum.
    Check page 66 of the Numbers User Guide supplied with your copy of iWork. The guide refers to them as "pop-up" menus, so a search using "pop-up" will be more successful than one using "drop down".
    Essentially the process is:
    Click on the cell to select it.
    Open the Inspector and choose Cell Format (icon is a cell containing 42)
    Click the Cell Format menu and select Pop-up Menu from the bottom of the list.
    Double click an item in the list to edit it. Click the + button to add an item, the - button to delete the selected item.
    Done.
    Regards,
    Barry

Maybe you are looking for