<?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: BAPI_GOODSMVT_CREATE behaving differently in development and quality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630401#M1664784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding.&lt;/P&gt;&lt;P&gt;Yes, I have added logic for COMMIT / ROLLBACK according as the return parameter is a success or a error. In this case however, the problem seems to be during the call to the BAPI (not after), as the program seems to be using the earlier material status, during the processing of the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 07:20:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-08T07:20:51Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630398#M1664781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My program is behaving correctly in development system -&lt;/P&gt;&lt;P&gt;1. The program is run&lt;/P&gt;&lt;P&gt;2. Changes are made to material in MM02 transaction&lt;/P&gt;&lt;P&gt;3.  In the program, a button is executed where I am calling a BAPI_GOODSMVT_CREATE, which returns values correctly, as per the material status (be it error or success)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Quality system it behaves incorrectly-&lt;/P&gt;&lt;P&gt;1. The program in run&lt;/P&gt;&lt;P&gt;2. Changes are made to material in MM02 transaction&lt;/P&gt;&lt;P&gt;3. In the program when the button is executed the BAPI_GOODSMVT_CREATE, seems to retain the earlier status. Recent changes to material are not reflected in the return parameter, no matter how many times I try.&lt;/P&gt;&lt;P&gt;4. When I restart the program, the BAPI_GOODSMVT_CREATE shows up the correct return values of the changes made in step 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;Steps taken -&lt;/P&gt;&lt;P&gt;1. I have compared the versions of the code in both the systems and they are identical. &lt;/P&gt;&lt;P&gt;2. To be sure I once again transported the changes to the quality system, yet the problem remains.&lt;/P&gt;&lt;P&gt;3. I tried with a different data thinking it to be a problem with the data rather than the code, but the problem remains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: GhoshA on Mar 8, 2012 8:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630398#M1664781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T07:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630399#M1664782</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;did you commit your changes after BAPI_GOODSMVT_CREATE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dev.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630399#M1664782</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2012-03-08T07:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630400#M1664783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ghosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just to get more clarity, after you make changes to MM02 do you call BAPI_GOODSMVT_CREATE in a separate program or is the BAPI called from within MM02 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630400#M1664783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T07:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630401#M1664784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding.&lt;/P&gt;&lt;P&gt;Yes, I have added logic for COMMIT / ROLLBACK according as the return parameter is a success or a error. In this case however, the problem seems to be during the call to the BAPI (not after), as the program seems to be using the earlier material status, during the processing of the BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630401#M1664784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630402#M1664785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;The BAPI is being called in my custom program.&lt;/P&gt;&lt;P&gt;I am making the changes to the material in MM02 and subsequently, testing my code.&lt;/P&gt;&lt;P&gt;Please let me know if it clarifies your query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630402#M1664785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630403#M1664786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ghosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just guessing here. But just check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I think that in your development system the updates are happening immediately and when you run your program with BAPI, the updated values in MM02 is correctly picked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason there must be a delay in updates in quality system. After doing changes in MM02 check in transaction SM13 to see if any update requests are pending. If update requests are pending from MM02, the updates still has not happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wait for the update to complete and then execute your program and see if the BAPI picks up the updated value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 07:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630403#M1664786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T07:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630404#M1664787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I executed my program.&lt;/P&gt;&lt;P&gt;2. I looked for 'All' requests in SM13 under my user id.&lt;/P&gt;&lt;P&gt;3. Made changes to material in MM02&lt;/P&gt;&lt;P&gt;4. Refreshed the SM13 list&lt;/P&gt;&lt;P&gt;5. Executed 'Repeat Update'. &lt;/P&gt;&lt;P&gt;6. Switched back to my program, executed the button. The problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss any step?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 08:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630404#M1664787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T08:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630405#M1664788</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;Run traces with ST05 in both systems. Maybe the performance is different. Check also the data for material and for customizing settings (tcode OMJJ for movements, OBYC for accounting settings, OB52, see also if there buffering for number ranges (FI and MM),..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 08:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630405#M1664788</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2012-03-08T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630406#M1664789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ghosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In step 5 you said "Executed 'Repeat Update'". So some entry related to MM02 is present in SM13 ? In that case don't press "Repeat update"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know what status it shows. Also refresh till no update records are present. Then you run your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 08:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630406#M1664789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T08:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630407#M1664790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;So some entry related to MM02 is present in SM13 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the quality system in SM13 - &lt;/P&gt;&lt;P&gt;Update module ID	Module name (function)	Type	Update return code&lt;/P&gt;&lt;P&gt;1	MCB_STATISTICS_UPD_V2	V2	Processed&lt;/P&gt;&lt;P&gt;2	MCEX_UPDATE_03	Collective run	Initial&lt;/P&gt;&lt;P&gt;3	AC_DOCUMENT_MM_UPDATE	V2	Processed&lt;/P&gt;&lt;P&gt;4	LIEFERUNG_WRITE_DOCUMENT	V2	Processed&lt;/P&gt;&lt;P&gt;5	SLIM_CNT_INCREASE_COUNTER	V2	Processed&lt;/P&gt;&lt;P&gt;6	MCF_STATISTICS_UPD_V2	V2	Processed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double clicking every entry gave - ' Status: Not yet updated'&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, in the Quality system, even after continuous refresh, the record does not get  removed. However, the records in the Development system for the same situation, get removed, after four or five times refresh.&lt;/P&gt;&lt;P&gt;In Quality even after I restart the transaction, the records do not get removed from SM13, but again the code works correctly for the newly executed instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your opinion ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 11:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630407#M1664790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-08T11:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE behaving differently in development and quality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630408#M1664791</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;Check how you update your LIS tables in both systems. Check with tcode SM50 how type of work process UP2 works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 15:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-behaving-differently-in-development-and-quality/m-p/8630408#M1664791</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2012-03-08T15:02:24Z</dc:date>
    </item>
  </channel>
</rss>

