<?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: Update Method in BADI Implementation Triggering twice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-method-in-badi-implementation-triggering-twice/m-p/11611434#M1941105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable IM_SHIPMENTS_IN_UPDATE-FLAG_TRA_COMPLETE is shipment complete indicator.&lt;/P&gt;&lt;P&gt;The below are the values for this variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shipment data incomplete&lt;/LI&gt;&lt;LI&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Changed shipment data complete, incomplete data missing&lt;/LI&gt;&lt;LI&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All shipment data complete and available&lt;/LI&gt;&lt;LI&gt;Space&amp;nbsp;&amp;nbsp; No statement on completeness&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the values in variable IM_SHIPMENTS_IN_UPDATE-FLAG_TRA_COMPLETE in debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Learner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 04:15:07 GMT</pubDate>
    <dc:creator>Mohamed_Mukhtar</dc:creator>
    <dc:date>2016-03-17T04:15:07Z</dc:date>
    <item>
      <title>Update Method in BADI Implementation Triggering twice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-method-in-badi-implementation-triggering-twice/m-p/11611433#M1941104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented BADI BADI_LE_SHIPMENT and&amp;nbsp; using IN_UPDATE method. I put my code in IN_UPDATE method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to create a new task in separate session after shipment is saved. In new session(FM new task) we are updating billing docs and sending outputs and DRP. It works fine but not all the times .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an Sales Order is locked , and shipment is saved, implementation is called twice. Triggering two new sessions and executes the FM in each session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp; setting flag with Class variable ,&amp;nbsp; export/import to memory options. It did not work .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Could you please help me how to restrict implementation execution for the second time which stops triggering the FM in new task for the second time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 19:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-method-in-badi-implementation-triggering-twice/m-p/11611433#M1941104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-03-16T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update Method in BADI Implementation Triggering twice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-method-in-badi-implementation-triggering-twice/m-p/11611434#M1941105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable IM_SHIPMENTS_IN_UPDATE-FLAG_TRA_COMPLETE is shipment complete indicator.&lt;/P&gt;&lt;P&gt;The below are the values for this variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shipment data incomplete&lt;/LI&gt;&lt;LI&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Changed shipment data complete, incomplete data missing&lt;/LI&gt;&lt;LI&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All shipment data complete and available&lt;/LI&gt;&lt;LI&gt;Space&amp;nbsp;&amp;nbsp; No statement on completeness&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the values in variable IM_SHIPMENTS_IN_UPDATE-FLAG_TRA_COMPLETE in debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Learner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 04:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-method-in-badi-implementation-triggering-twice/m-p/11611434#M1941105</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2016-03-17T04:15:07Z</dc:date>
    </item>
  </channel>
</rss>

