<?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: Movement types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272626#M493778</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;can you check mard-LABST for that material whether its greater than EQUAL TO 1. - you have to see the unrestricted use when you are seeing MMBE ,THATS WHAT IS IMPORTANT IT SHOULD BE GREATER THAN 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get error  Locked by you because you might opened the tansaction in other sesiion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure that you won't get if you close alll other sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just increase the wait time to10 seconds that should be ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 20:27:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T20:27:36Z</dc:date>
    <item>
      <title>Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272625#M493777</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;I am trying to move the stock using 'BAPI_GOODSMVT_CREATE'. I have 2 issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. i get a msg deficit in SL for material in plant BP01. I see the error in the 143 rd record of my file which moves stock for this material from storage location X to Y. I am only moving quantity 1 from X to Y and I see in MMBE that the stock in X is 144. Then why am i getting this error when there is stock? What else could be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I am running multiple files with one material in each file from different storage locations. In this process after executing few files in b/w i get a msg that the plant data is locked by me. Again few of them are processed and i see the msg in my error file like these. After BAPI_TRANSACTION_COMMIT i have written wait 3 seconds. Is this not sufficient. There are approximately 900 records in each file and one material document will be created for each file. Should i increase the wait time ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 19:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272625#M493777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T19:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272626#M493778</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;can you check mard-LABST for that material whether its greater than EQUAL TO 1. - you have to see the unrestricted use when you are seeing MMBE ,THATS WHAT IS IMPORTANT IT SHOULD BE GREATER THAN 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get error  Locked by you because you might opened the tansaction in other sesiion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure that you won't get if you close alll other sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just increase the wait time to10 seconds that should be ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 20:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272626#M493778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T20:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272627#M493779</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;Thanks for hte response venki, I am sure i have nto opened any other sessions, as i ran it at night as a background job and went to sleep :). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The saw the stock under unrestricted use only. I got the answer for the 1st one though, there is 144 stock in location X and in the file it filled up to 143 record and the stock is more than 144 i.e, 145 so is the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the second one may be i think i have to increase the wait time. If there is any other solution please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 20:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272627#M493779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T20:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272628#M493780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess your looping the Bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then increase the wait time to 45 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same error when i opened the t-code in another session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you suing different movement types or single movement types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 20:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272628#M493780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T20:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272629#M493781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lv_try TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR lv_try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_try = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO lv_try TIMES.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   wait          = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt; WAIT UP TO 5 SECONDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 20:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272629#M493781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T20:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Movement types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272630#M493782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i am looping at the no. of files and for each file i am calling the BAPI once, may be because each file has approximately 900 records it takes time to process and before that it tries to fetch another file and process it. I have already incorporated a wait tiem of 3 seconds, which i guess still is not sufficient. lemme increase it but i wonder how much should i increase to...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 20:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/movement-types/m-p/2272630#M493782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T20:45:08Z</dc:date>
    </item>
  </channel>
</rss>

