<?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: REGARDING functionmodules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058132#M724332</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;&lt;/P&gt;&lt;P&gt;There are three types of function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal&lt;/P&gt;&lt;P&gt;Remote enabled&lt;/P&gt;&lt;P&gt;Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are one element. There are no types. However sometimes an RFC enabled function module is referred to as RFC Function module, but really it is just a function module. Also BAPIs are function modules, but are usually referred to as just BAPI as opposed to BAPI Function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no different function module types , but calling the function module will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this function calls syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Calls a function module: &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call a function module in a different mode (asynchronous Remote Function Call): &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func STARTING NEW TASK taskname. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Call a function module in the update task: &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func IN UPDATE TASK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Call a function module in a remote system (Remote Function Call, RFC &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func DESTINATION dest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Asynchronous call to a function module with transactional processing (transactional Remote Function Call): &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func IN BACKGROUND TASK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qRFC with output queue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Call a function module that can be activated in the context of enhancements: &lt;/P&gt;&lt;P&gt;- CALL CUSTOMER-FUNCTION func. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Open any FM in SE37.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Attributes Tab:&lt;/P&gt;&lt;P&gt;in The Processing Type you can see the Types of FMs&lt;/P&gt;&lt;P&gt;1.Normal FM - Can be called within the Same SAP System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;NAME&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Remote Enable FM : Can be called from External (SAP or NON SAP) system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;NAME&amp;gt;' DESTINATION '&amp;lt;RFC DESTINATION&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Update Module: Only for Updating database tables . processed in Update work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;FM&amp;gt;' IN UPDATE TASK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Nov 2007 05:43:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-25T05:43:23Z</dc:date>
    <item>
      <title>REGARDING functionmodules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058130#M724330</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;How many types of function modules are there in sap.what is the use of when u select the update function module,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 15:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058130#M724330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-24T15:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING functionmodules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058131#M724331</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;There are three types of function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt;Normal&lt;/P&gt;&lt;P&gt;2&amp;gt;Remote enabled&lt;/P&gt;&lt;P&gt;3&amp;gt;Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through the below links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update Techniques &lt;/P&gt;&lt;P&gt;The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION ... IN UPDATE TASK. This section describes various ways of updating the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A program can send an update request using COMMIT WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        To the update work process, where it is processed asynchronously. The program does not wait for the work process to finish the update (Asynchronous Update).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        For asynchronous processing in two steps (Updating Asynchronously in Steps.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        To the update work process, where it is processed synchronously. The program waits for the work process to finish the update (Synchronous Update).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        To its own work process locally. In this case, of course, the program has to wait until the update is finished (Local Update.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2007 04:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058131#M724331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-25T04:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING functionmodules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058132#M724332</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;&lt;/P&gt;&lt;P&gt;There are three types of function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal&lt;/P&gt;&lt;P&gt;Remote enabled&lt;/P&gt;&lt;P&gt;Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules are one element. There are no types. However sometimes an RFC enabled function module is referred to as RFC Function module, but really it is just a function module. Also BAPIs are function modules, but are usually referred to as just BAPI as opposed to BAPI Function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no different function module types , but calling the function module will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this function calls syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Calls a function module: &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call a function module in a different mode (asynchronous Remote Function Call): &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func STARTING NEW TASK taskname. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Call a function module in the update task: &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func IN UPDATE TASK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Call a function module in a remote system (Remote Function Call, RFC &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func DESTINATION dest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Asynchronous call to a function module with transactional processing (transactional Remote Function Call): &lt;/P&gt;&lt;P&gt;- CALL FUNCTION func IN BACKGROUND TASK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qRFC with output queue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Call a function module that can be activated in the context of enhancements: &lt;/P&gt;&lt;P&gt;- CALL CUSTOMER-FUNCTION func. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Open any FM in SE37.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Attributes Tab:&lt;/P&gt;&lt;P&gt;in The Processing Type you can see the Types of FMs&lt;/P&gt;&lt;P&gt;1.Normal FM - Can be called within the Same SAP System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;NAME&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Remote Enable FM : Can be called from External (SAP or NON SAP) system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;NAME&amp;gt;' DESTINATION '&amp;lt;RFC DESTINATION&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Update Module: Only for Updating database tables . processed in Update work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '&amp;lt;FM&amp;gt;' IN UPDATE TASK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2007 05:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058132#M724332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-25T05:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING functionmodules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058133#M724333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Function Modules:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Function modules are ABAP routines that are administered in a central function library. They apply across applications and are available throughout the system. &lt;BR /&gt;&lt;BR /&gt;We must assign function modules to a function pool that is called a function group. A function group is nothing but a container for the function modules. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Function Module types:&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Normal, Remote enabled &amp;amp; Update&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Creating Update Function Modules&lt;/P&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to one of the following values:&lt;BR /&gt;&lt;BR /&gt;Update with immediate start&lt;BR /&gt;Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions can be restarted by the update task in case of errors.&lt;BR /&gt;&lt;BR /&gt;Update w. imm. start, no restart&lt;BR /&gt;Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions may not be restarted by the update task.&lt;BR /&gt;&lt;BR /&gt;Update with delayed start&lt;BR /&gt;Set this option for low priority ("V2") functions that run in their own update transactions. These functions can be restarted by the update task in case of errors.&lt;BR /&gt;&lt;BR /&gt;To display the attributes screen in the Function Builder, choose Goto ® Administration.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Defining the Interface&lt;/P&gt;&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function modules that run in the update task have a limited interface: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result parameters or exceptions are not allowed since update-task function modules cannot report on their results.&lt;/P&gt;&lt;P&gt;You must specify input parameters and tables with reference fields or reference structures defined in the ABAP Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2007 08:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-functionmodules/m-p/3058133#M724333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-25T08:42:01Z</dc:date>
    </item>
  </channel>
</rss>

