<?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: line selection using class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-selection-using-class/m-p/4216616#M1007554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u cannot use Hide statement inside the class. To use hide u can define ur final table in class as public and read only. Then from outside the class use write statement to display the table. Here u can use hide statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_test.&lt;/P&gt;&lt;P&gt;class lcl_mara definition.&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;data: i_mara type standard table of mara read-only.&lt;/P&gt;&lt;P&gt;methods: fetch_data.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lcl_mara implementation.&lt;/P&gt;&lt;P&gt; method fetch_data.&lt;/P&gt;&lt;P&gt;  select * from mara&lt;/P&gt;&lt;P&gt;  into table i_mara&lt;/P&gt;&lt;P&gt;  up to 100 rows.&lt;/P&gt;&lt;P&gt; endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; data: dref type ref to lcl_mara.&lt;/P&gt;&lt;P&gt; data: w_mara type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; create object dref.&lt;/P&gt;&lt;P&gt; dref-&amp;gt;fetch_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;loop at dref-&amp;gt;i_mara into w_mara.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;write:/ w_mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;hide w_mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at line-selection.&lt;/P&gt;&lt;P&gt;  write:/ w_mara-matnr.&lt;/P&gt;&lt;P&gt;  window starting at 0 10 ending at 20 60.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 06:14:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T06:14:57Z</dc:date>
    <item>
      <title>line selection using class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-selection-using-class/m-p/4216615#M1007553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;experts,&lt;/P&gt;&lt;P&gt;how to use hide statement to display the line items of the selected row on the basic list using classes  without using alv reporting.&lt;/P&gt;&lt;P&gt;since the syntactical error states that " hide is not supported with the attributes of a class ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 05:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-selection-using-class/m-p/4216615#M1007553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T05:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: line selection using class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-selection-using-class/m-p/4216616#M1007554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u cannot use Hide statement inside the class. To use hide u can define ur final table in class as public and read only. Then from outside the class use write statement to display the table. Here u can use hide statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_test.&lt;/P&gt;&lt;P&gt;class lcl_mara definition.&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;data: i_mara type standard table of mara read-only.&lt;/P&gt;&lt;P&gt;methods: fetch_data.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lcl_mara implementation.&lt;/P&gt;&lt;P&gt; method fetch_data.&lt;/P&gt;&lt;P&gt;  select * from mara&lt;/P&gt;&lt;P&gt;  into table i_mara&lt;/P&gt;&lt;P&gt;  up to 100 rows.&lt;/P&gt;&lt;P&gt; endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; data: dref type ref to lcl_mara.&lt;/P&gt;&lt;P&gt; data: w_mara type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; create object dref.&lt;/P&gt;&lt;P&gt; dref-&amp;gt;fetch_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;loop at dref-&amp;gt;i_mara into w_mara.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;write:/ w_mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;hide w_mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;endloop.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at line-selection.&lt;/P&gt;&lt;P&gt;  write:/ w_mara-matnr.&lt;/P&gt;&lt;P&gt;  window starting at 0 10 ending at 20 60.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 06:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-selection-using-class/m-p/4216616#M1007554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T06:14:57Z</dc:date>
    </item>
  </channel>
</rss>

