<?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 report by using OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018945#M1167892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but still am not getting page numbers in all pages its displaying only in 1st page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u help me out how to get the page no dynamically using&lt;/P&gt;&lt;P&gt;SET_TOP_OF_LIST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2009 17:52:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-06T17:52:18Z</dc:date>
    <item>
      <title>ALV report by using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018943#M1167890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using cl_salv_table=&amp;gt;factory( IMPORTING r_salv_table = l_table&lt;/P&gt;&lt;P&gt;CHANGING t_table = IT_EMPS ).&lt;/P&gt;&lt;P&gt;to display my alv.&lt;/P&gt;&lt;P&gt;I want to display a row with text as total records value: some value&lt;/P&gt;&lt;P&gt;at the end of the alv result and at the same time i want to display page no dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2009 21:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018943#M1167890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-02T21:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report by using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018944#M1167891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srilakshmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use SET_TOP_OF_LIST and SET_END_OF_LIST methods in the Class Interface CL_SALV_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For value you can use SET_TOP_OF_LIST method and for Page Number you can use SET_END_OF_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 07:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018944#M1167891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T07:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report by using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018945#M1167892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but still am not getting page numbers in all pages its displaying only in 1st page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u help me out how to get the page no dynamically using&lt;/P&gt;&lt;P&gt;SET_TOP_OF_LIST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 17:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018945#M1167892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV report by using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018946#M1167893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I know this is an old post, but I was looking for the same thing and found the following solution.&amp;nbsp; So I thought I would reply in case any one needs to know how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a method to handle your page header&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* Definition&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; top_of_page_handler &lt;SPAN class="L0S52"&gt;FOR &lt;SPAN class="L0S52"&gt;EVENT&lt;/SPAN&gt; top_of_page &lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt; cl_salv_events_table&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;METHODS:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; top_of_page_handler &lt;SPAN class="L0S52"&gt;FOR &lt;SPAN class="L0S52"&gt;EVENT&lt;/SPAN&gt; top_of_page &lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt; cl_salv_events_table&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* Implementation&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp; METHOD top_of_page_handler.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;WRITE&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;SPAN class="L1S33"&gt;'Page No:'&lt;/SPAN&gt;, sy-pagno.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDMETHOD&lt;/SPAN&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S31"&gt;"top_of_page_handler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Get the current event table (cl_salv_events_table) instance for your alv table (cl_salv_table)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="L0S52"&gt;DATA: lo_event &lt;SPAN class="L0S52"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;REF&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;TO&lt;/SPAN&gt; cl_salv_events_table.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lo_event = im_alv_table-&amp;gt;get_event( ).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Set your method as handler for the top of page event&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;SET&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;HANDLER&lt;/SPAN&gt; top_of_page_handler &lt;SPAN class="L0S52"&gt;FOR&lt;/SPAN&gt; lo_event.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;Now when the list is output to spool.&amp;nbsp; This code will trigger at each new page.&amp;nbsp; Take a look at the other events in &lt;/SPAN&gt;cl_salv_events_table.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Katan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 05:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report-by-using-oops/m-p/5018946#M1167893</guid>
      <dc:creator>Katan</dc:creator>
      <dc:date>2012-07-31T05:11:12Z</dc:date>
    </item>
  </channel>
</rss>

