Skip to Content
author's profile photo Former Member
Former Member

list display

hi friends,

i have one doubt please help me

how to display the drop down list in the selection-screen & by using the list id how we can display the data for that id.

naresh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Dec 18, 2008 at 02:51 PM

    Hi,

    Check this link [Dropdown boxes|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm]

    It will give you right information.

    Regards

    Marcin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 02:52 PM

    Hi Naresh,

    Check the following snippet for list disp in selection field,

    TYPE-POOLS: vrm.
    
    DATA: w_param TYPE vrm_id,
          it_values TYPE vrm_values,
          wa_value LIKE LINE OF it_values.
    
    p_rec_ty as listbox visible length 5.
    
    AT SELECTION-SCREEN OUTPUT.
      w_param = 'P_REC_TY'.
      wa_value-key = '1'.
      wa_value-text = 'AAAAA'.
      APPEND wa_value TO it_values.
      wa_value-key = '2'.
      wa_value-text = 'BBBBB'.
      APPEND wa_value TO it_values.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = w_param
                values = it_values.

    Regards,

    Manoj Kumar P

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 03:01 PM

    thanks friends

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.