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

Change the funcionality y a ALV button

Hi, I need to change the funcionality of the buttons "+" and "-" in an ALV.

I need to throw a function when I push the button "+" or "-" (add line, delete line).

What events do I have to use ?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 11:55 AM

    REUSE_ALV_GRID_DISPLAY

    The important parameters are :

    I. Export :

    i. I_callback_program : report id

    ii.<b> I_callback_pf_status_set</b> : routine where a user can set his own pf status or <b>change the functionality of the existing pf status</b>

    iii. I_callback_user_command : routine where the function codes are handled

    iv. I_structure name : name of the dictionary table

    v. Is_layout : structure to set the layout of the report

    vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE

    vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.

    II. Tables :

    i. t_outtab : internal table with the data to be output

    Regards

    vasu

    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.