<?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/2754012#M640676</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;&lt;/P&gt;&lt;P&gt;Creating Update Function Modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a function module, you first need to start the Function Builder. Choose Tools ® ABAP Workbench, Function Builder. For more information about creating function modules, refer to the ABAP Workbench Tools documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with immediate start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update w. imm. start, no restart&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with delayed start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the attributes screen in the Function Builder, choose Goto ® Administration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining the Interface&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;REWARD IF HELPFUL&lt;/P&gt;&lt;P&gt;VIVEKANAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 07:38:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T07:38:26Z</dc:date>
    <item>
      <title>function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754011#M640675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      can anyone explain types of update function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754011#M640675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754012#M640676</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;&lt;/P&gt;&lt;P&gt;Creating Update Function Modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a function module, you first need to start the Function Builder. Choose Tools ® ABAP Workbench, Function Builder. For more information about creating function modules, refer to the ABAP Workbench Tools documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with immediate start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update w. imm. start, no restart&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with delayed start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the attributes screen in the Function Builder, choose Goto ® Administration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining the Interface&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;REWARD IF HELPFUL&lt;/P&gt;&lt;P&gt;VIVEKANAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754012#M640676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:38: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/2754013#M640677</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;Update Fm is of two types V1 and V2&lt;/P&gt;&lt;P&gt;V1 will return the control to the prog after execution but V2 will not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754013#M640677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754014#M640678</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;Have a look at the below thread..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if you find useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754014#M640678</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-09-05T07:49: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/2754015#M640679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update Function Modules Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a function module, you first need to start the Function Builder. Choose Tools ® ABAP Workbench, Function Builder. For more information about creating function modules, refer to the ABAP Workbench Tools documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Update with immediate start&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Update w. imm. start, no restart&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Update with delayed start&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the attributes screen in the Function Builder, choose Goto ® Administration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining the Interface&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&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;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&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;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754015#M640679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:52: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/2754016#M640680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These Function module are executer in update-task after COMMIT WORK in main luw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under update module&lt;/P&gt;&lt;P&gt;- Start immed (V1) used to update database with lock&lt;/P&gt;&lt;P&gt;- Immediate start, no restart  (V1) but no re-treatment in case of error&lt;/P&gt;&lt;P&gt;- Start delayed (V2) update statistical data with no lock and not critical update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V1 FM are executed&lt;/P&gt;&lt;P&gt;- If KO&lt;/P&gt;&lt;P&gt;- - Locks are released and database changes rollbacked&lt;/P&gt;&lt;P&gt;- If OK&lt;/P&gt;&lt;P&gt;- - Locks are released and database changes commited&lt;/P&gt;&lt;P&gt;- - V2 FM are executed&lt;/P&gt;&lt;P&gt;- - If KO&lt;/P&gt;&lt;P&gt;- - - database update from V2 only is rollbacked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at documentation &amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf"&amp;gt;Updates in the R/3 System (BC-CST-UP)&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754016#M640680</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-09-05T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754017#M640681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Creating Update Function Modules&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with immediate start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update w. imm. start, no restart&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update with delayed start&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the attributes screen in the Function Builder, choose Goto ® Administration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2754017#M640681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:58:31Z</dc:date>
    </item>
  </channel>
</rss>

