<?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 Threading in ABAP OO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798020#M40633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I define synchronized method in ABAP class similar to one in Java (I mean method available to different threads subsequently but not simultaneously)?&lt;/P&gt;&lt;P&gt;If there's no real threading in ABAP OO how such behavior can be simulated?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yacov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Oct 2004 09:24:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-10-31T09:24:53Z</dc:date>
    <item>
      <title>Threading in ABAP OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798020#M40633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I define synchronized method in ABAP class similar to one in Java (I mean method available to different threads subsequently but not simultaneously)?&lt;/P&gt;&lt;P&gt;If there's no real threading in ABAP OO how such behavior can be simulated?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yacov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2004 09:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798020#M40633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-31T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Threading in ABAP OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798021#M40634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yacov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you need some parallel processing. OO method call does not support this. However, you can achieve this by calling function modules at background or starting new tasks (&amp;lt;b&amp;gt;CALL FUNCTION STARTING NEW TASK IN DESTINATION GROUP, WAIT, and RECEIVE keywords&amp;lt;/b&amp;gt;). To do this in OO context, call functions via one of these ways within your methods i.e. wrap them with your methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, inspect the following links:&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/fa/096ff6543b11d1898e0000e8322d00/frameset.htm"&amp;gt;Parallel-Processing Function Modules&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/a5/63235f43a211d189410000e829fbbd/frameset.htm"&amp;gt;Background Processing&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2004 10:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798021#M40634</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-10-31T10:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Threading in ABAP OO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798022#M40635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yacov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Update Function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creation: From attributes tab of function module select the option UPDATE FUNCTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax: CALL FUNCTION &amp;lt;FUNCTION NAME&amp;gt; IN UPDATE TASK&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            &amp;lt;paratable 1 = tablename 1&amp;gt;&lt;/P&gt;&lt;P&gt;            ......&lt;/P&gt;&lt;P&gt;            &amp;lt;paratable n = tablename n&amp;gt; .&lt;/P&gt;&lt;P&gt;        COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Limitations: &lt;/P&gt;&lt;P&gt;1. Import, Export and Change parameters are not allowed. All the data should be passed using Table parameter. &lt;/P&gt;&lt;P&gt;2. All the runtime expections should be handled manually otherwise session will terminate.&lt;/P&gt;&lt;P&gt;3. COMMIT statement should not used in Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging: Update functions can't debugged as ordinary ABAP programs or functions. Select the option Update Debugging from setting option of debugging screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2004 07:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/threading-in-abap-oo/m-p/798022#M40635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-01T07:21:41Z</dc:date>
    </item>
  </channel>
</rss>

