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

ALV events

Hi all

i am new to alv programming. can anybody tell me what r the various events in alv reports.

thanx in advance

manish

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 22, 2005 at 05:33 PM

    There are a few.

    Go to SE24, enter CL_GUI_ALV_GRID and click display, now click on the EVENTS tab. Here are all of the events that you can handle for your ALV.

    Welcome to SDN!!!.

    Please remember to award points for helpful answers and mark your posts as solved when your problem is solved. Thanks.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2005 at 03:47 AM

    Hi,

    Here are some Events for class cl_gui_alv_grid.

    <b>User-defined Text Output</b>

    print_end_of_list - Define output text to be printed at the end of the entire list

    print_top_of_list - Define output text to be printed at the beginning of the entire list

    print_end_of_page - Define output text to be printed at the end of each page

    print_top_of_page - Define output text to be printed at the beginning of each page

    subtotal_text - Define self-defined subtotals texts

    <b>Mouse-controlled Actions in the Grid Control</b>

    button_click - Query a click on a pushbutton in the ALV Grid Control

    double_click - Query a double-click on a cell of the ALV Grid control

    hotspot_click - Query a hotspot click on columns defined for this purpose in advance

    onDrag Collect - information when elements of the ALV Grid Control are dragged

    onDrop Process - information when elements of the ALV Grid Control are dropped

    onDropComplete - Perform final actions after successful Drag&Drop

    onDropGetFlavor - Distinguish between options for Drag&Drop behavior

    <b>Processing of Self-defined and Standard Functions</b>

    before_user_command - Query self-defined and standard function codes

    user_command - Query self-defined function codes

    after_user_command - Query self-defined and standard function codes

    <b>Definition of Self-defined Functions</b>

    toolbar - Change, delete or add GUI elements in the toolbar

    menu_button - Define menus for menu buttons in the toolbar

    context_menu_request - Change context menu

    onf1 - Define self-defined F1 help

    Hope it helps u.

    Thanks&Regards,

    Ruthra

    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.