<?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 Converting Report into Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362877#M1732403</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;i have a requirement to convert the interactive alv report into a function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know how to do this so i simply pasted the code of report into function module source code&lt;/P&gt;&lt;P&gt;has any idea about how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Reply soon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 11:31:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-12T11:31:38Z</dc:date>
    <item>
      <title>Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362877#M1732403</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;i have a requirement to convert the interactive alv report into a function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know how to do this so i simply pasted the code of report into function module source code&lt;/P&gt;&lt;P&gt;has any idea about how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Reply soon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 11:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362877#M1732403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362878#M1732404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transforming a report into a function module means that you will eliminate all the writes (or ALV call).&lt;/P&gt;&lt;P&gt;Your parameters and select-options will be the import variables and the result list will have to be a table.&lt;/P&gt;&lt;P&gt;All your work is around that more or less.&lt;/P&gt;&lt;P&gt;It depends who calls the module. If it is supposed to be called by external system then it has to be RFC and handle error messages by table (see BAPIRETURN) avoiding exceptions.&lt;/P&gt;&lt;P&gt;This is a start...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 11:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362878#M1732404</guid>
      <dc:creator>Phillip_Morgan</dc:creator>
      <dc:date>2013-04-12T11:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362879#M1732405</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;You can pass selection screen parameters as import parameters to FM.The o/p of report can be passed to table in tables parameter.The interactive content can be store in another table.&lt;/P&gt;&lt;P&gt;You will finally have 2 tables one with actual O/P and other with interactive one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362879#M1732405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362880#M1732406</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;Firstly determine the scope of the report whether it will be used by a driver program.&lt;/P&gt;&lt;P&gt;Determine what will be the importing parameters for the function module from your report.&lt;/P&gt;&lt;P&gt;If a driver program wants to call this FM then what are the parameters that the driver program will input to FM so that FM will display ALV data.&lt;/P&gt;&lt;P&gt;If you have to display ALV report then you dont have exporting parameters.&lt;/P&gt;&lt;P&gt;In table tab you have to enter the internal tables that you have formed in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Varun D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362880#M1732406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T12:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362881#M1732407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know what a function module is? Do you know how to program? If not - best hand the job over to someone who's been trained. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362881#M1732407</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-04-12T12:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362882#M1732408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if yes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then please comment &lt;/P&gt;&lt;P&gt;&amp;lt;text removed by moderator&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362882#M1732408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-12T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Report into Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362883#M1732409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Moderator message&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;Please note that use of phrases like "urgent" is against the Rules of Engagement. &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;These discussion spaces are not meant to be a substitute for training&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;Questions that are general in nature are not particularly encouraged&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In answer to your question, you need to analyse the program and decide what its inputs and outputs are. Then modify the program so that instead of taking input from a selection screen or the like, and displaying it in an ALV, rather does this through the function module parameters. Which is effectively what everyone else has said.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I fail to see how anyone can assist you further in this task, as it is a basic programming task, requiring only a basic understanding of ABAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you do know how to program and do know what a function module is then I do not understand why you posted the question. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 14:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-report-into-function-module/m-p/9362883#M1732409</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-04-12T14:04:01Z</dc:date>
    </item>
  </channel>
</rss>

