<?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 Regarding ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/2063154#M426671</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;DATA : formname_top_of_page  TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  i_list_type           = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_events   with key name = slis_ev_top_of_page&lt;/P&gt;&lt;P&gt;                           into l_i_event.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  MOVE formname_top_of_page TO l_i_event-form.&lt;/P&gt;&lt;P&gt;  APPEND l_i_event TO i_events.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;ERROR MESSAGE&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE EXCEPTION "NAME" MUST BE ASSIGNED TO A NUMBER(LITERAL),&lt;/P&gt;&lt;P&gt;BUT "SLIS_EV_TOP_OF_PAGE"IS NOT NUMERIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe to solve the Error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 19:24:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T19:24:15Z</dc:date>
    <item>
      <title>Regarding ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/2063154#M426671</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;DATA : formname_top_of_page  TYPE slis_formname VALUE 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  i_list_type           = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_events   with key name = slis_ev_top_of_page&lt;/P&gt;&lt;P&gt;                           into l_i_event.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  MOVE formname_top_of_page TO l_i_event-form.&lt;/P&gt;&lt;P&gt;  APPEND l_i_event TO i_events.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;STRONG&gt;ERROR MESSAGE&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE EXCEPTION "NAME" MUST BE ASSIGNED TO A NUMBER(LITERAL),&lt;/P&gt;&lt;P&gt;BUT "SLIS_EV_TOP_OF_PAGE"IS NOT NUMERIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe to solve the Error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 19:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/2063154#M426671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T19:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/2063155#M426672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your function call is missing a line for the exceptions.&lt;/P&gt;&lt;P&gt;Please look in the definition of the function call 'REUSE_ALV_EVENTS_GET' and check there the strip EXCEPTIONS. If you want to catch any of these exceptions add a line in your code, like no_more_lines = 01. This gives you then the value for the sy-subrc if the code of this function module is finsihed. If you don't want to catch any exceptions, omit the line exceptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i_list_type = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;et_events = i_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will do for simplicity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Juergen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 20:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv/m-p/2063155#M426672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T20:18:46Z</dc:date>
    </item>
  </channel>
</rss>

