<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805153#M655449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the event in alv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 12:40:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T12:40:57Z</dc:date>
    <item>
      <title>alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805153#M655449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the event in alv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805153#M655449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805154#M655450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events in alv and their FM    The main events in alv and their FM and why we use these:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SLIS_PRINT_ALV.  &lt;/P&gt;&lt;P&gt;2. SLIS_T_LISTHEADER.  &lt;/P&gt;&lt;P&gt;3. SLIS_T_EVENT.  &lt;/P&gt;&lt;P&gt;4. SLIS_T_SORTINFO_ALV.  &lt;/P&gt;&lt;P&gt;5. SLIS_T_LAYOUT_ALV.  &lt;/P&gt;&lt;P&gt;6. SLIS_T_FIELDCAT_ALV.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in classic reports what is the sequence of events:   === Events are  &lt;/P&gt;&lt;P&gt;At selection-screen output.  &lt;/P&gt;&lt;P&gt;Initialization.  &lt;/P&gt;&lt;P&gt;At selection-screen on field  &lt;/P&gt;&lt;P&gt;At selection-screen on end of field  &lt;/P&gt;&lt;P&gt;At selection-screen on Radiobutton Group R1. (If you have any radio buttons)  &lt;/P&gt;&lt;P&gt;At selection-screen on block b1. (If you have any blocks)  &lt;/P&gt;&lt;P&gt;Start-of-selection.  &lt;/P&gt;&lt;P&gt;Get node. (if the data is retreived from a logical database)  &lt;/P&gt;&lt;P&gt;Get node late. (if the data is retreived from a logical database)  &lt;/P&gt;&lt;P&gt;Top-of-page. (if the write statement is in the end-of-selection event or we can say that before the first write statement)  &lt;/P&gt;&lt;P&gt;end-of-selection.  &lt;/P&gt;&lt;P&gt;and fuction modules are  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LISTHEADER - Is used to print the header information in the ALV List. Name, Date, Time, ALV Name and other details are called as Header information.   EVENT - Basically this is the FM to handle Event's. When the user needs to do some event operation like when double clicking the a particular field we need to perform some operation.   These events are captured by this FM.   LAYOUT - This FM is used to define the layout of the List. There are many options available in this FM to define the Layout style.   FIELDCAT - These are used to populate the List header. We can change them according to our req.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User-defined Text Output Event &lt;/P&gt;&lt;P&gt;    Application &lt;/P&gt;&lt;P&gt;      print_end_of_list &lt;/P&gt;&lt;P&gt;    Define output text to be printed at the end of the entire list &lt;/P&gt;&lt;P&gt;      print_top_of_list &lt;/P&gt;&lt;P&gt;    Define output text to be printed at the beginning of the entire list &lt;/P&gt;&lt;P&gt;      print_end_of_page &lt;/P&gt;&lt;P&gt;    Define output text to be printed at the end of each page &lt;/P&gt;&lt;P&gt;      print_top_of_page &lt;/P&gt;&lt;P&gt;    Define output text to be printed at the beginning of each page &lt;/P&gt;&lt;P&gt;      subtotal_text &lt;/P&gt;&lt;P&gt;    Define self-defined subtotals texts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mouse-controlled Actions in the Grid Control Event &lt;/P&gt;&lt;P&gt;    Application &lt;/P&gt;&lt;P&gt;      button_click &lt;/P&gt;&lt;P&gt;    Query a click on a pushbutton in the ALV Grid Control &lt;/P&gt;&lt;P&gt;      double_click &lt;/P&gt;&lt;P&gt;    Query a double-click on a cell of the ALV Grid control  &lt;/P&gt;&lt;P&gt;      hotspot_click &lt;/P&gt;&lt;P&gt;    Query a hotspot click on columns defined for this purpose in advance &lt;/P&gt;&lt;P&gt;      onDrag &lt;/P&gt;&lt;P&gt;    Collect information when elements of the ALV Grid Control are dragged  &lt;/P&gt;&lt;P&gt;      onDrop &lt;/P&gt;&lt;P&gt;    Process information when elements of the ALV Grid Control are dropped  &lt;/P&gt;&lt;P&gt;      onDropComplete &lt;/P&gt;&lt;P&gt;    Perform final actions after successful Drag&amp;amp;Drop  &lt;/P&gt;&lt;P&gt;      onDropGetFlavor &lt;/P&gt;&lt;P&gt;    Distinguish between options for Drag&amp;amp;Drop behavior &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing of Self-defined and Standard Functions Event &lt;/P&gt;&lt;P&gt;    Application &lt;/P&gt;&lt;P&gt;      before_user_command &lt;/P&gt;&lt;P&gt;    Query self-defined and standard function codes &lt;/P&gt;&lt;P&gt;      user_command &lt;/P&gt;&lt;P&gt;    Query self-defined function codes &lt;/P&gt;&lt;P&gt;      after_user_command &lt;/P&gt;&lt;P&gt;    Query self-defined and standard function codes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition of Self-defined Functions Event &lt;/P&gt;&lt;P&gt;    Application &lt;/P&gt;&lt;P&gt;      toolbar &lt;/P&gt;&lt;P&gt;    Change, delete or add GUI elements in the toolbar &lt;/P&gt;&lt;P&gt;      menu_button &lt;/P&gt;&lt;P&gt;    Define menus for menu buttons in the toolbar &lt;/P&gt;&lt;P&gt;      context_menu_request &lt;/P&gt;&lt;P&gt;    Change context menu &lt;/P&gt;&lt;P&gt;      onf1 &lt;/P&gt;&lt;P&gt;    Define self-defined F1 help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these can be found under type group SLIS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Events &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SLIS_EV_ITEM_DATA_EXPAND        TYPE SLIS_FORMNAME VALUE 'ITEM_DATA_EXPAND', &lt;/P&gt;&lt;P&gt;SLIS_EV_REPREP_SEL_MODIFY       TYPE SLIS_FORMNAME VALUE 'REPREP_SEL_MODIFY', SLIS_EV_CALLER_EXIT_AT_START TYPE SLIS_FORMNAME VALUE 'CALLER_EXIT', &lt;/P&gt;&lt;P&gt;SLIS_EV_USER_COMMAND              TYPE SLIS_FORMNAME VALUE 'USER_COMMAND', &lt;/P&gt;&lt;P&gt;SLIS_EV_TOP_OF_PAGE                     TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE', &lt;/P&gt;&lt;P&gt;SLIS_EV_DATA_CHANGED                TYPE SLIS_FORMNAME VALUE 'DATA_CHANGED', &lt;/P&gt;&lt;P&gt;SLIS_EV_TOP_OF_COVERPAGE       TYPE SLIS_FORMNAME VALUE 'TOP_OF_COVERPAGE', &lt;/P&gt;&lt;P&gt;SLIS_EV_END_OF_COVERPAGE       TYPE SLIS_FORMNAME VALUE 'END_OF_COVERPAGE', &lt;/P&gt;&lt;P&gt;SLIS_EV_FOREIGN_TOP_OF_PAGE TYPE SLIS_FORMNAME &lt;/P&gt;&lt;P&gt;VALUE 'FOREIGN_TOP_OF_PAGE', SLIS_EV_FOREIGN_END_OF_PAGE TYPE SLIS_FORMNAME &lt;/P&gt;&lt;P&gt;VALUE 'FOREIGN_END_OF_PAGE', &lt;/P&gt;&lt;P&gt;SLIS_EV_PF_STATUS_SET                  TYPE SLIS_FORMNAME VALUE 'PF_STATUS_SET', &lt;/P&gt;&lt;P&gt;SLIS_EV_LIST_MODIFY                      TYPE SLIS_FORMNAME VALUE 'LIST_MODIFY', &lt;/P&gt;&lt;P&gt;SLIS_EV_TOP_OF_LIST                       TYPE SLIS_FORMNAME VALUE 'TOP_OF_LIST', &lt;/P&gt;&lt;P&gt;SLIS_EV_END_OF_PAGE                    TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE', &lt;/P&gt;&lt;P&gt;SLIS_EV_END_OF_LIST                      TYPE SLIS_FORMNAME VALUE 'END_OF_LIST', &lt;/P&gt;&lt;P&gt;SLIS_EV_AFTER_LINE_OUTPUT       TYPE SLIS_FORMNAME VALUE 'AFTER_LINE_OUTPUT', SLIS_EV_BEFORE_LINE_OUTPUT     TYPE SLIS_FORMNAME VALUE 'BEFORE_LINE_OUTPUT', &lt;/P&gt;&lt;P&gt;SLIS_EV_SUBTOTAL_TEXT                TYPE SLIS_FORMNAME VALUE 'SUBTOTAL_TEXT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 12:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805154#M655450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805155#M655451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are programming ALV lists then you should use the OO-approach (class CL_GUI_ALV_GRID). Here we have the following events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ONF1	On Help Request
ONF4	On Value Request
DATA_CHANGED	Data was Changed
ONDROPGETFLAVOR	Multiple Flavors Possible at a Drop
ONDRAG	For Drag Source
ONDROP	For Drop Target
ONDROPCOMPLETE	For Drag Source in Case of Success
SUBTOTAL_TEXT	Edit Subtotals Text
BEFORE_USER_COMMAND	Before User Command
USER_COMMAND	User Command
AFTER_USER_COMMAND	After User Command
DOUBLE_CLICK	DoubleClick
DELAYED_CALLBACK	Delayed Callback
DELAYED_CHANGED_SEL_CALLBACK	DELAYED_CHANGED_SEL_CALLBACK
PRINT_TOP_OF_PAGE	Print Mode: TOP_OF_PAGE in List Processing
PRINT_TOP_OF_LIST	Print Mode: TOP_OF_LIST of Classic ALV
PRINT_END_OF_PAGE	Print Mode: END_OF_PAGE in List Processing
PRINT_END_OF_LIST	Print Mode: END_OF_LIST of Classic ALV
TOP_OF_PAGE	Top_of_page
CONTEXT_MENU_REQUEST	Context Menu
MENU_BUTTON	Menu Button
TOOLBAR	Toolbar
HOTSPOT_CLICK	Hotspot was Selected
END_OF_LIST	End_of_list
AFTER_REFRESH	After List Refresh
BUTTON_CLICK	Button Click
DATA_CHANGED_FINISHED	Data in the Output Table was Updated&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 13:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805155#M655451</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-09-07T13:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805156#M655452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;was you interested to know wich events are available for the ALV or what events are at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gianpietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 14:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805156#M655452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T14:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805157#M655453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main events in alv and their significance: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SLIS_PRINT_ALV. to print ALV report&lt;/P&gt;&lt;P&gt;2. SLIS_T_LISTHEADER. Is used to print the header information in the ALV List. Name, Date, Time, ALV Name and other details are called as Header information. &lt;/P&gt;&lt;P&gt;3. SLIS_T_EVENT. Basically this is the FM to handle Event's. When the user needs to do some event operation like when double clicking the a particular field we need to perform some operation. These events are captured by this FM. &lt;/P&gt;&lt;P&gt;4. SLIS_T_SORTINFO_ALV. &lt;/P&gt;&lt;P&gt;5. SLIS_T_LAYOUT_ALV. This FM is used to define the layout of the List. There are many options available in this FM to define the Layout style. &lt;/P&gt;&lt;P&gt;6. SLIS_T_FIELDCAT_ALV. These are used to populate the List header. We can change them according to our req. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User-defined Text Output Event &lt;/P&gt;&lt;P&gt;Application &lt;/P&gt;&lt;P&gt;print_end_of_list &lt;/P&gt;&lt;P&gt;Define output text to be printed at the end of the entire list &lt;/P&gt;&lt;P&gt;print_top_of_list &lt;/P&gt;&lt;P&gt;Define output text to be printed at the beginning of the entire list &lt;/P&gt;&lt;P&gt;print_end_of_page &lt;/P&gt;&lt;P&gt;Define output text to be printed at the end of each page &lt;/P&gt;&lt;P&gt;print_top_of_page &lt;/P&gt;&lt;P&gt;Define output text to be printed at the beginning of each page &lt;/P&gt;&lt;P&gt;subtotal_text &lt;/P&gt;&lt;P&gt;Define self-defined subtotals texts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mouse-controlled Actions in the Grid Control Event &lt;/P&gt;&lt;P&gt;Application &lt;/P&gt;&lt;P&gt;button_click &lt;/P&gt;&lt;P&gt;Query a click on a pushbutton in the ALV Grid Control &lt;/P&gt;&lt;P&gt;double_click &lt;/P&gt;&lt;P&gt;Query a double-click on a cell of the ALV Grid control &lt;/P&gt;&lt;P&gt;hotspot_click &lt;/P&gt;&lt;P&gt;Query a hotspot click on columns defined for this purpose in advance &lt;/P&gt;&lt;P&gt;onDrag &lt;/P&gt;&lt;P&gt;Collect information when elements of the ALV Grid Control are dragged &lt;/P&gt;&lt;P&gt;onDrop &lt;/P&gt;&lt;P&gt;Process information when elements of the ALV Grid Control are dropped &lt;/P&gt;&lt;P&gt;onDropComplete &lt;/P&gt;&lt;P&gt;Perform final actions after successful Drag&amp;amp;Drop &lt;/P&gt;&lt;P&gt;onDropGetFlavor &lt;/P&gt;&lt;P&gt;Distinguish between options for Drag&amp;amp;Drop behavior&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 09:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2805157#M655453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-08T09:15:22Z</dc:date>
    </item>
  </channel>
</rss>

