<?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: oo transaction with parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354871#M804914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi UWE,&lt;/P&gt;&lt;P&gt;  can you give me sample code ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 08:40:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T08:40:06Z</dc:date>
    <item>
      <title>oo transaction with parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354869#M804912</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 would like to create a "OO transaction" for a public class method . The method is having an one import parameter. Is it possible to call OO transaction with the method argumnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: class1-&amp;gt;method1(arg1). is it possible to wrap this method with oo transaction . if so ,how can i call the transaction to pass value to the method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 04:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354869#M804912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: oo transaction with parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354870#M804913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, you cannot. &lt;/P&gt;&lt;P&gt;The only way is to use the same mechanism for "normal" transactions: &lt;STRONG&gt;SET/GET parameters&lt;/STRONG&gt;. However, you cannot pass the GET value during the method call but have to retrieve it &lt;U&gt;within&lt;/U&gt; your method.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 05:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354870#M804913</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-25T05:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: oo transaction with parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354871#M804914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi UWE,&lt;/P&gt;&lt;P&gt;  can you give me sample code ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354871#M804914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: oo transaction with parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354872#M804915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter ID 'BUK' is used to set the company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, in your MAIN method (which is started by the OO-transaction) you could code at the beginning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
GET PARAMETER ID 'BUK' field me-&amp;gt;md_company_code.  " instance attribute of your class
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would place this coding into the CONSTRUCTOR method of your class.&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;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oo-transaction-with-parameters/m-p/3354872#M804915</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-25T09:27:41Z</dc:date>
    </item>
  </channel>
</rss>

