<?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: Calling a Function in SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892093#M373297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a check - have you tried changing the update-mode in the call-transaction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 15:43:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T15:43:44Z</dc:date>
    <item>
      <title>Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892092#M373296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm calling a Transaction form my Function module like&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZLVSCRAP' USING i_bdcdata&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODE v_mode&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;UPDATE c_s&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGES INTO i_messages.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But when I&amp;#146;m in the PGM, i can not do commits, because it jumps back into my Function, and dose not finish the rest of the logic in the called pgm? And with me doing commits it thinks i have hold on orders that were created in the called pgm which also hangs me up?&lt;/P&gt;&lt;P&gt;Please help?????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 15:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892092#M373296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T15:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892093#M373297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a check - have you tried changing the update-mode in the call-transaction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 15:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892093#M373297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T15:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892094#M373298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after CALL TRANSACTION , try this and check out if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 15:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892094#M373298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T15:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892095#M373299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change Wich one ?&lt;/P&gt;&lt;P&gt;MODE v_mode    &lt;/P&gt;&lt;P&gt;   UPDATE c_s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 16:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892095#M373299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T16:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892096#M373300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Mode is to select whether Foreground or Background or only when Errors,&lt;/P&gt;&lt;P&gt;Update is to inform whether the update is synchronous or asynchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do a commi and wait after the Call Transaction. Sometimes the system takes some time to commit the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 18:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892096#M373300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T18:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892097#M373301</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 try that,  but is dose not help.&lt;/P&gt;&lt;P&gt;i have a problem when i',m in the calling pgm and it hangs up in the pgm when it needs to do a commit. Is there any command that can be use that it will not jump out of the pgm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 18:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892097#M373301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T18:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892098#M373302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an intended behaviuor of 'Call transaction'. To avoid this you should use the addition 'call transaction...options from opt' ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the options table there is a field called 'RACOMMIT', this has to be set to 'X"..then it will not return to the calling program on encountering a commit.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 18:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892098#M373302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T18:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892099#M373303</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 try this optons but i can not make it work&lt;/P&gt;&lt;P&gt; getting error on call&lt;/P&gt;&lt;P&gt; CALL TRANSACTION 'ZLVSCRAP' USING i_bdcdata&lt;/P&gt;&lt;P&gt;  OPTIONS FROM RACOMMIT&lt;/P&gt;&lt;P&gt;   MODE v_mode&lt;/P&gt;&lt;P&gt;   UPDATE c_s&lt;/P&gt;&lt;P&gt;   MESSAGES INTO i_messages.&lt;/P&gt;&lt;P&gt;give me and error that you can not use mode and update with options ?&lt;/P&gt;&lt;P&gt;  any idea's&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 20:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892099#M373303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892100#M373304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; DATA: ctu_params_tmp LIKE ctu_params.&lt;/P&gt;&lt;P&gt;  CLEAR: ctu_params_tmp.&lt;/P&gt;&lt;P&gt;  ctu_params_tmp-dismode = 'N'.&lt;/P&gt;&lt;P&gt;  ctu_params_tmp-updmode = 'S'.&lt;/P&gt;&lt;P&gt;  ctu_params_tmp-defsize = 'X'.&lt;/P&gt;&lt;P&gt;  ctu_params_tmp-racommit = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'MB01' USING i_bdcdata3 OPTIONS FROM ctu_params_tmp&lt;/P&gt;&lt;P&gt;       MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 20:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892100#M373304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892101#M373305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; thank you very very much, this help me out a lot. This was the answer i was looking for. This will solve any other calls that are in my Function.&lt;/P&gt;&lt;P&gt;  If you ever need any thing from me just let me know.&lt;/P&gt;&lt;P&gt;   Richard H ARellano &lt;/P&gt;&lt;P&gt;  Sikorsky Aircraft&lt;/P&gt;&lt;P&gt;  203-386-4348&lt;/P&gt;&lt;P&gt;   again Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 16:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892101#M373305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892102#M373306</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 did use your idea but when i excute the statment in the v_mode "a" it works fine but when i set it back to "N" mode it give me 1001 error in the message which its telling me that ther is  00 344 No batch input data for screen &amp;amp; &amp;amp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: ctu_params_tmp LIKE ctu_params.&lt;/P&gt;&lt;P&gt;CLEAR: ctu_params_tmp.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-dismode = v_mode.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-updmode = c_s.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-defsize = 'X'.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-racommit = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'ZLVSCRAP' USING i_bdcdata&lt;/P&gt;&lt;P&gt;  OPTIONS FROM ctu_params_tmp&lt;/P&gt;&lt;P&gt;   MESSAGES INTO i_messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 16:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892102#M373306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T16:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Function in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892103#M373307</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 did use your idea but when i excute the statment in the v_mode "a" it works fine but when i set it back to "N" mode it give me 1001 error in the message which its telling me that ther is 00 344 No batch input data for screen &amp;amp; &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ctu_params_tmp LIKE ctu_params.&lt;/P&gt;&lt;P&gt;CLEAR: ctu_params_tmp.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-dismode = v_mode.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-updmode = c_s.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-defsize = 'X'.&lt;/P&gt;&lt;P&gt;ctu_params_tmp-racommit = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZLVSCRAP' USING i_bdcdata&lt;/P&gt;&lt;P&gt;OPTIONS FROM ctu_params_tmp&lt;/P&gt;&lt;P&gt;MESSAGES INTO i_messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 16:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-in-sap/m-p/1892103#M373307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T16:48:37Z</dc:date>
    </item>
  </channel>
</rss>

