<?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: Error handling transaction manager in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117592#M1904476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tilmann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one thing is not optimal on this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not ensured that all messages have an origin location. So I can only try to find for all error messages the root node based on the origin location filter then the correct forwarding orders and do a mass creation again.&lt;/P&gt;&lt;P&gt;If there is at least one error message where I can’t find the root node, then I have to do a sequential creation to find the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to find the incorrect root nodes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 09:04:38 GMT</pubDate>
    <dc:creator>frankmueller9</dc:creator>
    <dc:date>2015-06-16T09:04:38Z</dc:date>
    <item>
      <title>Error handling transaction manager</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117589#M1904473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;Dear BOPF experts,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;I want to develop an interface to create a mass of SAP TM Forwarding Orders. &lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;I learned that BOPF is designed to handle mass data. All validations, determinations, actions and so on have a table of keys as importing parameter to do something for a mass of data.&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;I want to use this performance advantage in the interface. I want to pass the modify method of the service manager a package of forwarding orders to create them and call then the save method of the transaction manager. This seems to work fine, but I’m facing issues with the error handling. The transaction manager saves by default nothing if an error occurs during the consistence validation.&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;I need another error handling:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;When the service manager creates the nodes then errors can occur based on validations. In this case I want to protocol the errors and remove these corrupted forwarding orders from the transactional changes, but the correct forwarding orders shall be created. When I call the save method of the transaction manager then it executes the consistence validation again. If errors occur at this time then I want to save the correct forwarding orders, protocol the errors and discard the corrupt ones.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;Is there a way to do this with BOPF, or do I have to create all forwarding orders one by one?&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;Best regards&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="text-align: left; margin-top: 0.00in; margin-bottom: 0.00in;"&gt;&lt;SPAN style="font-family: 'Arial'; font-size: 9pt;"&gt;Frank&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117589#M1904473</guid>
      <dc:creator>frankmueller9</dc:creator>
      <dc:date>2015-06-15T15:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling transaction manager</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117590#M1904474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transactions are stored in the one-or-nothing principle, that means you can't save only a part of the instances modified during the same transaction. However you do not have to single process your instances. I recommend to package your workload - e.g. take packages of 100 instances depending on the size of a BO instance - and create those in a transaction and save. In case of error messages returned, retry the package again without the instances having caused the errors. Otherwise continue with the next package. To filter out instances causing issues check the message's origin location to identify the failing instance. Processing your workload in that way is usually quite fast especially if errors are not occur frequently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Tilmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117590#M1904474</guid>
      <dc:creator>former_member190794</dc:creator>
      <dc:date>2015-06-16T06:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling transaction manager</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117591#M1904475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tilmann,&lt;/P&gt;&lt;P&gt;thank you very much for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will do it this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117591#M1904475</guid>
      <dc:creator>frankmueller9</dc:creator>
      <dc:date>2015-06-16T06:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling transaction manager</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117592#M1904476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tilmann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one thing is not optimal on this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not ensured that all messages have an origin location. So I can only try to find for all error messages the root node based on the origin location filter then the correct forwarding orders and do a mass creation again.&lt;/P&gt;&lt;P&gt;If there is at least one error message where I can’t find the root node, then I have to do a sequential creation to find the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to find the incorrect root nodes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-handling-transaction-manager/m-p/11117592#M1904476</guid>
      <dc:creator>frankmueller9</dc:creator>
      <dc:date>2015-06-16T09:04:38Z</dc:date>
    </item>
  </channel>
</rss>

