<?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: Function using factory class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701214#M625569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnk you for prompt reply.&lt;/P&gt;&lt;P&gt;I got the desired output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 13:16:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T13:16:45Z</dc:date>
    <item>
      <title>Function using factory class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701212#M625567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i display the various functions in an alv using factory class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 13:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701212#M625567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function using factory class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701213#M625568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are your referring to the factory class CL_SALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, here is some sample code:&lt;/P&gt;&lt;P&gt; use the CL_SALV_FUNCTIONS class. Create the object reference variable and receive the object using the GET_FUNCTIONS method of the GR_TABLE object.&lt;/P&gt;&lt;P&gt; Call the method SET_ALL to force the ALV grid to show all standard functions.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report zalvom_demo1. 
data: ispfli type table of spfli. 
data: gr_table type ref to cl_salv_table. 
data: gr_functions type ref to cl_salv_functions. 
start-of-selection. 
select * into table ispfli from spfli. 
cl_salv_table=&amp;gt;factory( importing r_salv_table = gr_table changing t_table = ispfli ). 
gr_functions = gr_table-&amp;gt;get_functions( ). gr_functions-&amp;gt;set_all( abap_true ). gr_table-&amp;gt;display( ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Preeti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 13:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701213#M625568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function using factory class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701214#M625569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnk you for prompt reply.&lt;/P&gt;&lt;P&gt;I got the desired output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 13:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-using-factory-class/m-p/2701214#M625569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T13:16:45Z</dc:date>
    </item>
  </channel>
</rss>

