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

dropdown field in alv

Hi,everyone.

I have a problem with dropdown field in alv .

When i set some fields dropdown in alv created by oo.

i can't input words in this field . can anyone give me some advice?

ths!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jun 13, 2006 at 01:26 PM

    Hi,

    Check these programs.

    BCALV_EDIT_06

    BCALV_EDIT_07

    Regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2006 at 01:27 PM

    Hi,

    Please check the code but first try to increase the field lenghts of the ALV column to adjust to the full visible length of the filed.

    Hope this helps

    Anirban

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2006 at 01:33 PM

    Hi,

    First create a drop down list of type lvc_t_drop.

    Append the values and assign it to the dropdown list of the alv grid.

    DATA: lt_dropdown TYPE lvc_t_drop,

    ls_dropdown TYPE lvc_s_drop.

    ls_dropdown-<b>handle = '1'.</b>

    ls_dropdown-value = 'X'.

    APPEND ls_dropdown TO lt_dropdown.

    ls_dropdown-handle = '1'.

    ls_dropdown-value = ' '.

    APPEND ls_dropdown TO lt_dropdown.

    CALL METHOD g_grid->set_drop_down_table

    EXPORTING

    it_drop_down = lt_dropdown.

    In your fieldcatalog set the drop down handle<b>( drdn_hndl) </b> to the field that you want to assign the dropdown to...

    ls_fcat-fieldname = 'FIELD'.

    ls_fcat-<b>drdn_hndl = '1'.</b>

    Regards,

    Wenceslaus.

    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.