Skip to Content

ALV grid f4 help

Hi,

I am using ALV OOPs for grid display.for editable field I used ref_field and ref_tabname for f4 help.It works fine and gives me the list.But when i double click on one of the values it doesn't get copied to the cell in ALV. Can anyone tell me what might be the issue.

thanks

Suganya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 08:40 PM

    Hi Saganya,

    When you call the method set_table_for_first_display you pass an internal table it_outtab. I usually define an associated structure in the data dictionary using se11. You can also define search help in the data dictionary using se11 and associated it it to the required fields in your structure.

    CALL METHOD o_grid->set_table_for_first_display

    EXPORTING

    is_layout = h_layout

    i_save = 'X'

    it_toolbar_excluding = gt_exclude

    CHANGING

    it_fieldcatalog = t_fieldcat

    it_sort = t_sortcat

    it_outtab = t_screen.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 08:25 PM

    I would define the search help for the fields in the ALV dictionary structure you are using.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2007 at 08:33 PM

    Hi Fred,

    Can you tell me how to do that?

    thanks

    Suganya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2007 at 08:45 PM

    The issue is that I get the search help.But when I double click on the listed values it doesn't get copied to the alv cell.

    thanks

    Suganya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 08:50 PM

    Is the search help that you created have both import and export parameters?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2007 at 10:20 PM

    Hi,

    I did not create any search help.I just gave the ref_field as DOKNR and ref_table as DRAW which is an existing SAP table.

    Anyway how do i check if the search help has import/export parameter?

    thanks

    Suganya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 19, 2007 at 02:37 PM

    Thanks Fred.

    I was able to solve the problem with your answer.

    I have rewarded points.

    thanks

    Suganya

    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.