<?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/4396967#M1045288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  for ur responses,&lt;/P&gt;&lt;P&gt;Yes , i want to transport this Zfunction module to/from one sytem to other...&lt;/P&gt;&lt;P&gt;Is there any way to do this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys ,&lt;/P&gt;&lt;P&gt;Can i do error handling in source code of function module..&lt;/P&gt;&lt;P&gt;if yes , please give a pseudo code... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Aug 2008 10:33:36 GMT</pubDate>
    <dc:creator>Mohamed_Mukhtar</dc:creator>
    <dc:date>2008-08-16T10:33:36Z</dc:date>
    <item>
      <title>function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396962#M1045283</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;Is there any standard program to &lt;STRONG&gt;import/export function modules , like Script(RSTXSCRP)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes , please give me the name of the  standard program and porcedure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your valuable reponses..&lt;/P&gt;&lt;P&gt;With Warm Regards..&lt;/P&gt;&lt;P&gt;Always Learner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 05:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396962#M1045283</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-16T05:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396963#M1045284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think there exists any standard function module for doing that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 09:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396963#M1045284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T09:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396964#M1045285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Import into what?&lt;/P&gt;&lt;P&gt;Export to where?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 09:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396964#M1045285</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-16T09:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396965#M1045286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since he/she mentioned RSTXSCRP, I guess the guy wants to import/export to/from the local system and I dont there exists any standard FM for that. Please correct me if I am wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 09:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396965#M1045286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T09:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396966#M1045287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The report he/she is mentioning, is used to transport documents, styles, scripts, from client 000 into your development client for example. This does not apply to function modules. Standard SAP function modules are available in all the clients and all the systems (development, test, quality and production). If you create a new one, a transport request is created and you can transport it via the standard method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If he/she wants to export/import FM from his/her system into another system which is not part of the regular transport route, he/she can still use the transport request for this or use SAPlink tool (search SDN for this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm not quite sure what the exact requirement is.....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 09:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396966#M1045287</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-16T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396967#M1045288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  for ur responses,&lt;/P&gt;&lt;P&gt;Yes , i want to transport this Zfunction module to/from one sytem to other...&lt;/P&gt;&lt;P&gt;Is there any way to do this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys ,&lt;/P&gt;&lt;P&gt;Can i do error handling in source code of function module..&lt;/P&gt;&lt;P&gt;if yes , please give a pseudo code... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 10:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396967#M1045288</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-16T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396968#M1045289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two methods (I know of):&lt;/P&gt;&lt;P&gt;1. Use the transport request if available. Retrieve the data- and co files from the SAP System. Not quite sure what the exact path is however. should be able to find out via SDN. Copy those from your system into the same folders from other system and import them via transaction STMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Is this other system NOT part of the regular transport route like in Development, Test, Quality and Production? If so, use the regular transport method. Create transport request, add development objects, release request (SE09) and import request in other system (STMS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use SAP Link. Search on SDN and install it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error handling in FM is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define an exception in your FM (tab exceptions), for example NOT_FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your FM you do a select on a table and if the return code &amp;lt;&amp;gt; 0, you can raise exception NOT_FOUND. The calling application will now get a return code = 1, which equals NOT_FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into ls_mara where matnr = '1234'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;raise NOT_FOUND.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Aug 16, 2008 2:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 12:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396968#M1045289</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-16T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: function-module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396969#M1045290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 13:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/4396969#M1045290</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2008-08-16T13:11:25Z</dc:date>
    </item>
  </channel>
</rss>

