<?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 Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762587#M643175</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;Ideally RFC in this case should have IMPORT parameters . It should be the fields which are on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the requirement is not to have ny import parameters, then you need to decide how to retrieve data i.e. based on what condition as selection screen fields would be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get the selection screen field values, simply use SUMBIT statement.&lt;/P&gt;&lt;P&gt;In any case, ALV output wont be displayed, but a spool would be generated. If you wish, you can read the spool &amp;amp; send the output in internal table as EXPORT/TABLES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont want to get into spool etc, then simply copy paste the report program in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to enable Remote Enabled radio button in the ATTRIBUTES tab of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2007 04:03:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T04:03:26Z</dc:date>
    <item>
      <title>Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762585#M643173</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 have a Program, which has paramters, select options and the output is an ALV Grid and a File. Now , I have to incorporate this in  a Function Module which is Remotely enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, there should be no input parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 21:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762585#M643173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T21:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762586#M643174</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 hard code the values and can put the same in the program. If there is no input parameters then I think this is only possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also save the variant of the program and can pass the same. The rest of the code you can put in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful answers.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 03:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762586#M643174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T03:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762587#M643175</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;Ideally RFC in this case should have IMPORT parameters . It should be the fields which are on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the requirement is not to have ny import parameters, then you need to decide how to retrieve data i.e. based on what condition as selection screen fields would be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get the selection screen field values, simply use SUMBIT statement.&lt;/P&gt;&lt;P&gt;In any case, ALV output wont be displayed, but a spool would be generated. If you wish, you can read the spool &amp;amp; send the output in internal table as EXPORT/TABLES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont want to get into spool etc, then simply copy paste the report program in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to enable Remote Enabled radio button in the ATTRIBUTES tab of FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 04:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762587#M643175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T04:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762588#M643176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is when i use SUBMIT statement in the Function module which is remotely enabled, and when i click on execute in the Function module, i am able to see the selection screen of the program .....how can i avoid the selection screen ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 13:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2762588#M643176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T13:49:14Z</dc:date>
    </item>
  </channel>
</rss>

