How can i create list box and  dropdown in my report?

dear experts
how can i create list box and  dropdown in my report?
thanks  in advance

Pl. see the code given below.
REPORT Z_LISTBOX.
Data declaration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE-POOLS: VRM.
DATA: NAME  TYPE VRM_ID,
      LIST  TYPE VRM_VALUES,
      VALUE LIKE LINE OF LIST.
Selection screen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION SCREEN OUTPUT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AT SELECTION-SCREEN OUTPUT.
  NAME = 'PS_PARM'.
  VALUE-KEY = '1'.
  VALUE-TEXT = 'Line 1'.
  APPEND VALUE TO LIST.
  VALUE-KEY = '2'.
  VALUE-TEXT = 'Line 2'.
  APPEND VALUE TO LIST.
  CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            ID     = NAME
            VALUES = LIST.
START-OF-SELECTION.
Regards,
Joy.

Similar Messages

  • Creating List box and check box in structure

    Hi
    I have to include List box(Drop down) of lenght 20 and check box in a screen area.
    The fields on screen are to be transported from structure CI_PROJ in table PROJ.
    How can i Include List box and check box in my structure CI_PROJ.
    Also wat data type is required

    Hi,
             For the list box if you have the data element along with the search help then you can use that dataelement. If you dont have search help at dataelement level then for the structure you have to assign a search help directly. If you dont have data element it self then domain's fixed values will be shown in the drop down. For the check box you have to use a data element with a domain having CHAR and length 1.
    For the list box you will KEY and VALUES. Key is the one that is transfered to your program data and VALUE is the one that is shown to the user. You have to use the data element of your KEY for the list box.
    Regards,
    Sesh

  • How can we use list box on selection screen

    hi, howe can we use list box on selection screen and how can we populate the dat ainto the list box and how can we retrive data based on list box from ther database.
    thanks in advance
    raju

    Use the VRM_SET_VALUES function module.
    DATA: list              TYPE vrm_values,
          value             LIKE LINE OF list.
               AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      name = 'P_OBJECT'.
      CLEAR list.
      REFRESH list.
      CLEAR value.
      value-key = '1'.
      value-text = 'Development Class'.
      APPEND value TO list.
      CLEAR value.
      value-key = '2'.
      value-text = 'Program'.
      APPEND value TO list.
      CLEAR value.
      value-key = '3'.
      value-text = 'Function Module'.
      APPEND value TO list.
      CLEAR value.
      value-key = '4'.
      value-text = 'Database Table'.
      APPEND value TO list.
      CLEAR value.
      value-key = '5'.
      value-text = 'Structure'.
      APPEND value TO list.
      CLEAR value.
      value-key = '6'.
      value-text = 'View'.
      APPEND value TO list.
      CLEAR value.
      value-key = '7'.
      value-text = 'Data Element'.
      APPEND value TO list.
      CLEAR value.
      value-key = '8'.
      value-text = 'Table Type'.
      APPEND value TO list.
      CLEAR value.
      value-key = '9'.
      value-text = 'Class / Interface'.
      APPEND value TO list.
      CLEAR value.
      value-key = '10'.
      value-text = 'Type Group'.
      APPEND value TO list.
      CLEAR value.
      value-key = '11'.
      value-text = 'Domain'.
      APPEND value TO list.
      CLEAR value.
      value-key = '12'.
      value-text = 'Search Help'.
      APPEND value TO list.
      CLEAR value.
      value-key = '13'.
      value-text = 'Lock Object'.
      APPEND value TO list.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = name
          values          = list
        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.

  • How can i create a new and tableless database using database configuration

    How can i create a new and tableless database using database configuration

    How can i create a new and tableless database using database configuration
    Just don't install the sample schemas. See the installation guide
    http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm
    Using the Database Configuration Assistant
    When you install Oracle Database with the Oracle Universal Installer, the sample schemas are installed by default if you select the Basic Installation option. Selecting the sample schemas option installs all five schemas (HR, OE, PM, IX, and SH) in the database. If you choose not to install the sample schemas at that time, you can add them later by following the instructions in section "Manually Installing Sample Schemas".
    Choose a custom install and don't install the sample schemas.
    All other schems/tables installed are REQUIRED by Oracle

  • HT2731 I am from Nepal how can i create Apple Id and don't have VISA card?

    I am from Nepal how can i create Apple Id and don't have VISA card?

    Refer to this article:
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534

  • How can I create a DVD and/or share (email, etc.) a slideshow I created with iPhoto?

    How can I create and/or share a slideshow I made with iPhoto?...Thanks!

    I am sure there is a way however I don't use iPhoto, you may want to repost on the iPhoto forums which is where the iPhoto gurus hang out.

  • How can I create new carriforwarede and Brodforwarded wage types

    Hi Gurus
    We had one wage as special compensation.that has been done for to update in IT0014. 
    Now new requirement is came that special compesation was type they would like to update in IT0008.  I have all the necessary configuration. its working fine.  now client wants to create Brodfowarded and Carryforwarded wage types for this wage type.
    Pls let me know how can I create these.?
    And where should I have to map this?
    Is it scheema level job or not?
    pls asap.
    Regards
    suresh

    Hi Navya
    Thanks for your replay
    Can you pls some elobarate this.  becasue of I have not all done schema changes till now.  here we have been using IN00 schema.
    Can give some brief explanatation how can I do this.  I have been wiating for you valuable replay. pls
    Regards
    Suresh

  • How can I create a box in the toolbar to dispaly cursor coordinates

    I would like to create a box in the acrobat toolbar to display cursor position coordinates relative to a user specified origin. How can this box be created and added to the toolbar? I'm just getting started with writing acrobat plugins.

    OK...
    You can create a floating palette using the ADM APIs that are documented in the SDK, and for which there are samples.
    Or use your OS platform APIs for doing windows...
    Leonard

  • How can I create a box with the option of either a check or "N/A"?

    Hi there guys, just a quick question which has been bugging me for days now!
    I have a form in which I need to have a check box, but when the box is not checked I need it to show up as "N/A", is that possible?
    I have tried using a dropdown box instead. Making one of the options a capital "P" and setting the font to Wingdings 2 makes it appear as a check. This however makes it impossible for me to type in "N/A" as the other option because the font is set to Wingdings 2!
    Any help would be greatly appreciated
    I am using Adobe Acrobat X Pro on Windows 7
    Thank you
    Clint

    Have you ever seen a paper form work this way?
    Have you ever seen an electronic form work this way?
    You can have a text field next to the check box that show "N/A" when the check box is not selected.
    Or if you like to do a lot of coding, use a check box and then overlay the check box with a text box to display the "N/A" and you can work out how switch between the 2 fields if one wants to uncheck the item.

  • How can I creat virtual channel and traditional devices while my card installed,I can not do?

    I installed PCI-6220 card,and I also installed DAQmx and Traditional DAQ in my computer,
    but I cannot creat virtual channel at the last step(attachment:TDAQ6220.jpg).
    Maybe this is the reason I didn't creat traditional NI-DAQ Device,but I can not creat it.
    (see attachment: DAQ Device.jpg,there is no PCI-6220 on list).
    What's wrong?What shall I do?
    Junwei You

    Hello Rainer,
    You can see this attachment(6024E.jpg),the 6024E card appears on Traditional NI-DAQ Devices,
    but I don't know how can it be created(I don't creat it,we buy the whole system together with the machine).
    I tried create a new traditional Device(I want to confirm 6024E), but still I can not see any NI-DAQ device in traditional NI-DAQ device
    lists. See the 'Create New....' interface.How can do it?
    Thanks!
    Attachments:
    6024E.JPG ‏128 KB

  • How can I create a black and white image similar to what I see in the "Replace Color" tool?

    Hi all, I'm just wondering how I can create a black and white image similar to what I see in the preview window of the "Replace Color" tool. See attached screenshot for clarification -- I need the grass to be black while the soil is white or vice versa. Any tips?

    One way is to use Select>Color Range
    Make a new Color Fill Layer>White
    (Layer>New Fill Layer>Solid Color)
    Put a new color fill layer below>black
    Just invert the layer mask on the top fill layer for the opposite effect.

  • How can I create a scene and move 3D models in INSIGHT with Labview?

    Hi!
    I need some help in doing a LabView application. What i have to do is controlling a 3D model represented in Insight with Labview. Something similar like the six-axis-robot example. I follow the insight configuration wizard, but nothing moves. Comparing the ".cis" files in my program and the one from the six-axis-robot, i found that in the six-axis-robot file contains something called localsystem and the one made by me, doesn't. Can be this the problem? How can I make it work? I would need some kind of step-by-step response, because i'am a beginner with Insight and 3D models. Thanks in advance!
    Regards!
    Juan

    Thanks for the advice!
    I'm actually finding the next problem. Although in my VRML file the objects are defined separately in a jerarchy tree, I can't move(rotate, translate) each object individually. I have noticed that when i define a new local system and asign it the points of the object i want move in the way you explain (right click, and then dragging the points to the new local axis), the movement of this object is dependent of the other local systems i have defined for other objects , specially if the slave  nodes of the .cis file has a lower numeration than the object i want to move. The fact is, the movements assigned , for example to the nodes 1 to 100, will affect to the rest of the nodes if i also define for the rest of the nodes other movements. How can i solve this? I send you my .cis file, just in case my explanation is not enough clear. In this file you can see that movements assigned to nodes 1 to 4078, will also affect to nodes 4079 to 7168, and what i would like to do is define a movement for each obeject independently.
    Thanks again!
    Attachments:
    ring.zip ‏2 KB

  • How can I create a black and white table for Write BMP File.vi?

    I just want to create a black and white array to create the picture in B'n W

    You can use this VI, which outputs an 8-bit Greyscale Color Table.
    Good luck,
    Jim
    Attachments:
    8-bit_Greyscale_Color_Table.vi ‏11 KB

  • How can I create list of permutations

    Hi Everyone,
    I need to create a 2 d array which will contain all of the permutations of a 1d input array, specifically, I have a 1 d array of colour boxes and I want to return a 2 d array of colour boxes.  This is too mathematical for me!  Is there a combination of functions that will help me achieve this?  From my days at college I remember something about factorials, but as for coding it...
    If anyone has any suggestions I would be very grateful.
    Thank you,
    Michael.
    Solved!
    Go to Solution.

    Assuming that all colors in the input array are unique, here's a simple algorithm (LabVIEW 8.5). (see also)
    The permutation algorithm is from wikipedia:
    For every number k, with 0 = k < n!, the following algorithm generates a unique permutation of the initial sequence sj, j = 1, ..., n:
    function permutation(k, s) {
         for j = 2 to length(s) {
            swap s[(k mod j) + 1] with s[j]; // note that our array is indexed starting at 1
            k := k / j;        // integer division cuts off the remainder
         return s;
    NOTE: Indexing in LabVIEW starts at 0, so the code is changed accordingly.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    permutate.PNG ‏19 KB
    permutate.vi ‏13 KB

  • APEX Report - how can i create column with serial numbers in a report

    Need help
    I have created a report with displaying no of rows resticted to 43, every time i genarate this report i would like to add serial numbers from 6 to 48
    apear in additional column. How can i do this?

    This is not really an APEX question, and would have been better posted on the {forum:id=75} forum.
    Note also that the best way to get fast, effective answer to questions is to provide sufficient information for people to fully understand them:
    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    You should also ensure that your forum profile is updated with a better handle than "user8308442".
    Getting back to the question, one way to do this is using the analytic function ROW_NUMBER():
    with t as (
    -- Test data. Replace with actual query. ---------------------------------------
      select
                dbms_random.string('a', 10) query_data
      from
                dual
      connect
                by rownum <= 43)
    select
              5 + row_number() over (order by query_data) sn -- use required ordering here
            , t.query_data
    from
              t
    order by
              sn
    SN                     QUERY_DATA
    6                      CApoRenlch
    7                      CDiUiSYdMo
    8                      FsjsWFpTMT
    9                      KbbzXvYmQv
    10                     MrjEPqAzFs
    11                     QKOPSdVWpr
    12                     REIXjjdLtD
    13                     RijqpNTzmv
    14                     RngzthgaFv
    15                     SKcPxsdlBE
    16                     SuqFKzMqbB
    17                     TxlglIYENC
    18                     TyWlxKbDIg
    19                     VdRbUOUOPz
    20                     XIQxzkBuKY
    21                     YVcWUJrswt
    22                     aVoYNlMkfx
    23                     cHZPsOlzYM
    24                     cTUEztIOae
    25                     etdNGqQasP
    26                     fVGoGWmdLL
    27                     gHANXpbvMW
    28                     gRNBnwtEhO
    29                     iyefgszgLT
    30                     jRaliUJjKS
    31                     jpzAvQXBwY
    32                     kJifAaetUN
    33                     kfbTWGGCpR
    34                     mTPtqYGvrG
    35                     mhAPgdzezZ
    36                     pdXidmikRX
    37                     pwNdAsqpIV
    38                     rPTBTObdKg
    39                     sFoNLHLeMH
    40                     squTbOYVUM
    41                     tPxSMqPpnQ
    42                     uJtqCybjXB
    43                     vEvrwnGnyJ
    44                     xOOseicRRy
    45                     xqqXBKURog
    46                     ydOPurqyvo
    47                     yqEZvoNsbg
    48                     zsWFLHjVLK
    43 rows selected

Maybe you are looking for