<?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 grid using Classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917979#M381624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem while displaying data using ALV grid by the method of classes.I am not able display data for the top-of-page event (which is  a protected method in the ALV class - Z class).How do I access this method for display of information in Top of Page and feed the data there? The Display ALV grid( all data from an  internal table ) meanwhile is a Public method in the same class.&lt;/P&gt;&lt;P&gt;Moreover I am also not able to provide any description for field headings(columns) just as we do while filling field catalog in the normal AL grid display.They appear only if they are dictionary fields.How do I provide my own descriptions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2007 12:08:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-06T12:08:05Z</dc:date>
    <item>
      <title>ALV grid using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917979#M381624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem while displaying data using ALV grid by the method of classes.I am not able display data for the top-of-page event (which is  a protected method in the ALV class - Z class).How do I access this method for display of information in Top of Page and feed the data there? The Display ALV grid( all data from an  internal table ) meanwhile is a Public method in the same class.&lt;/P&gt;&lt;P&gt;Moreover I am also not able to provide any description for field headings(columns) just as we do while filling field catalog in the normal AL grid display.They appear only if they are dictionary fields.How do I provide my own descriptions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 12:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917979#M381624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T12:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917980#M381625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Savitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the print events have a look at the posting of Judith in thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2924017"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following fields of the fieldcatalog (LVC_S_FCAT) are used for column texts:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;COLTEXT&amp;lt;/b&amp;gt;		ALV control: Column heading&lt;/P&gt;&lt;P&gt;SCRTEXT_L	Long Field Label&lt;/P&gt;&lt;P&gt;SCRTEXT_M	Medium Field Label&lt;/P&gt;&lt;P&gt;SCRTEXT_S	Short Field Label&lt;/P&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>Wed, 07 Feb 2007 04:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917980#M381625</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-02-07T04:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917981#M381626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Savitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer also to sample report &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;BCALV_GRID_01&lt;/P&gt;. Below is shown part of the documentation in the program header.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;program bcalvc_print.
*&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;
* Purpose:
* ~~~~~~~~
* This program illustrates how the events for print processing
*   - PRINT_TOP_OF_PAGE
*   - PRINT_END_OF_PAGE
*   - PRINT_TOP_OF_LIST
*   - PRINT_END_OF_LIST
*
* are handled. The corresponding handler methods control the
* appearance of the list printed.
*-----------------------------------------------------------------
* To check program behavior
* ~~~~~~~~~~~~~~~~~~~~~~~~~
* Print the list shown (It has got only three pages).
* Remark: If you choose "Druckansicht" (preview?!) before printing,
*         the output for event PRINT_END_OF_PAGE is left out due
*         to scrolling.
*         Create a spool entry and preview your printout by calling
*         TA sp01 to reduce paper output please.
*-----------------------------------------------------------------
* Essential steps (Search for '§')
* ~~~~~~~~~~~~~~~
* 1. Define a (local) class for event handling
* 2. Define a method for each print event you need.
* 3. Implement your event handler methods. Use WRITE to provide output.
* 4. Link used print events and event handler methods.
* 5. In case of PRINT_END_OF_PAGE, you must set 'reservelns' to
*    the number of reserved lines at the end of a page.
*&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 04:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-classes/m-p/1917981#M381626</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-02-07T04:24:23Z</dc:date>
    </item>
  </channel>
</rss>

