<?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 Re: ALV Events - Modify Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942212#M63390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MODIFY statement will modify the internal table from the work area. But did you fill the field NAME before the modify statement. Please try filling NAME as well and use the WHERE condition or INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab [FROM wa] TRANSPORTING f1 ... fn WHERE cond. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2005 06:13:58 GMT</pubDate>
    <dc:creator>Vinod_Chandran</dc:creator>
    <dc:date>2005-08-22T06:13:58Z</dc:date>
    <item>
      <title>ALV Events - Modify Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942211#M63389</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;While dealing with events in ALV we use FM  'REUSE_ALV_EVENTS_GET' which returns gt_eventtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when we need to provide the corresponding processing routine for an event we modify the gt_eventtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do it this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :    wa_event    TYPE slis_alv_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'TOP_OF_PAGE' TO wa_event-form.&lt;/P&gt;&lt;P&gt;MODIFY gt_eventtab FROM wa_event transporting form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does this stmt gives me dump ? How should I go about it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942211#M63389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T06:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Events - Modify Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942212#M63390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MODIFY statement will modify the internal table from the work area. But did you fill the field NAME before the modify statement. Please try filling NAME as well and use the WHERE condition or INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab [FROM wa] TRANSPORTING f1 ... fn WHERE cond. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942212#M63390</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-22T06:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Events - Modify Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942213#M63391</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; Try out in this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          i_list_type     = 0&lt;/P&gt;&lt;P&gt;     importing&lt;/P&gt;&lt;P&gt;          et_events       = i_events&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;          list_type_wrong = 1&lt;/P&gt;&lt;P&gt;          others          = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSiY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_events&lt;/P&gt;&lt;P&gt;with key name = slis_ev_top_of_page&lt;/P&gt;&lt;P&gt;into wa_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move 'TOP_OF_PAGE' to wa_events-form.&lt;/P&gt;&lt;P&gt;  modify i_events from wa_events index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope it helps you.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Ruthra.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942213#M63391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T06:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Events - Modify Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942214#M63392</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;Before modifying you have to read the event in gt_eventtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ls_event type slis_alv_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            i_list_type = 0&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            et_events   = gt_eventstab[].&lt;/P&gt;&lt;P&gt;  read table gt_eventtab with key &lt;/P&gt;&lt;P&gt;    name =  slis_ev_end_of_page into ls_event.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;     move 'END_OF_PAGE' to ls_event-form.&lt;/P&gt;&lt;P&gt;     modify gt_eventtab from ls_event &lt;/P&gt;&lt;P&gt;     transporting form index sy-tabix.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942214#M63392</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-22T06:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Events - Modify Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942215#M63393</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;use -  APPEND wa_event to gt_eventtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use modify-transporting you have to use either WHERE or INDEX.. otherwise it will give dump only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradhiba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-events-modify-statement/m-p/942215#M63393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T06:20:18Z</dc:date>
    </item>
  </channel>
</rss>

