<?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: BADi / User exit after MIGO COMMIT ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726218#M316541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting the value for the field 'BYPASS_LOCK' to 'X', I am able to avoid the exception 'lock_on_plant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP says that it is not possible to create a batch and change it's characteristic values, other than the batch expiration date, in MIGO using BADi 'MB_DOCUMENT_UPDATE', as the create and change would be part of the same LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 92550 lists the inconsistencies that can occur if a separate COMMIT is called in the user exit / BADi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 09:40:23 GMT</pubDate>
    <dc:creator>Ash_ok</dc:creator>
    <dc:date>2006-12-05T09:40:23Z</dc:date>
    <item>
      <title>BADi / User exit after MIGO COMMIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726215#M316538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to populate some characteristic values for a batch of a material while running txn. code MIGO, after the MIGO COMMIT. We have used BADi 'MB_DOCUMENT_UPDATE' to write the bespoke code. However, while updating the characteristic values, using FM 'VB_CHANGE_BATCH', we are getting EXCEPTION 'lock_on_plant'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like FM 'VB_CHANGE_BATCH' is COMMITting at the same time / before MIGO is COMMITting. Is there a BADI / user exit that works after MIGO COMMIT ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 12:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726215#M316538</guid>
      <dc:creator>Ash_ok</dc:creator>
      <dc:date>2006-10-25T12:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: BADi / User exit after MIGO COMMIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726216#M316539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;Following are the exits and BADI for update in MIGO transaction &lt;/P&gt;&lt;P&gt;	EXIT : MB_CF001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	BADI : 1. MB_CIN_LMBMBU04&lt;/P&gt;&lt;P&gt;	       2. MB_DOCUMENT_UPDATE 	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try these..see if this helful to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 12:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726216#M316539</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-10-25T12:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: BADi / User exit after MIGO COMMIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726217#M316540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently using BADi 'MB_DOCUMENT_UPDATE' and it doesn't seem to do the job we want as we are getting the EXCEPTION 'lock_on_plant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't BADi 'MB_CIN_LMBMBU04' for creating excise documents ? Is it a CIN version BADi by any chance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other inputs ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 13:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726217#M316540</guid>
      <dc:creator>Ash_ok</dc:creator>
      <dc:date>2006-10-25T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: BADi / User exit after MIGO COMMIT ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726218#M316541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting the value for the field 'BYPASS_LOCK' to 'X', I am able to avoid the exception 'lock_on_plant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP says that it is not possible to create a batch and change it's characteristic values, other than the batch expiration date, in MIGO using BADi 'MB_DOCUMENT_UPDATE', as the create and change would be part of the same LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note 92550 lists the inconsistencies that can occur if a separate COMMIT is called in the user exit / BADi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-user-exit-after-migo-commit/m-p/1726218#M316541</guid>
      <dc:creator>Ash_ok</dc:creator>
      <dc:date>2006-12-05T09:40:23Z</dc:date>
    </item>
  </channel>
</rss>

