<?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 - Movement type 309 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681387#M1100831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the Table MCHB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;material/Plant/StorageLocation/Batch&lt;/STRONG&gt; combination  go to the table MCHB and see what is the value of &lt;STRONG&gt;CLABS&lt;/STRONG&gt; . you can post the quantity what ever there in &lt;STRONG&gt;CLABS&lt;/STRONG&gt;. if you post more than that you get that error. now in your case it is zero . so it is not possible to post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 15:51:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T15:51:43Z</dc:date>
    <item>
      <title>BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681386#M1100830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using  this BAPI to do a 309 movement.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error message M7 E021                                                                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deficit of SL Unrestricted-use .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not get the error message for the same data when i use MB1b.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem exists in program LMBMVFV0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The online tcode assigns a value using this code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;        ASSIGN (t156f-felds) TO &amp;lt;m&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the BAPi executes there is no value here.  It is 0. This causes the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot find an OSS note. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Canybody have any experience mapping a move 309 using this BAPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 15:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681386#M1100830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681387#M1100831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the Table MCHB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;material/Plant/StorageLocation/Batch&lt;/STRONG&gt; combination  go to the table MCHB and see what is the value of &lt;STRONG&gt;CLABS&lt;/STRONG&gt; . you can post the quantity what ever there in &lt;STRONG&gt;CLABS&lt;/STRONG&gt;. if you post more than that you get that error. now in your case it is zero . so it is not possible to post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 15:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681387#M1100831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T15:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681388#M1100832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved on my own. was calling bapi incorrectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 16:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681388#M1100832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T16:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681389#M1100833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved on my own. was calling bapi incorrectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 16:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681389#M1100833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T16:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681390#M1100834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how did you solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 12:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681390#M1100834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-27T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681391#M1100835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Calibri Light', sans-serif; text-align: justify;"&gt;Updating the thread as it appears in google search and has no solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Calibri Light', sans-serif; text-align: justify;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Calibri Light','sans-serif';"&gt;Came across same issue when posting goods movement 309 on same material/batch twice. &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri Light','sans-serif';"&gt;Problem is with function module that fetches data from MCHB table. If called two or more times it will pass data from local internal table instead of reading from database. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Calibri Light','sans-serif';"&gt;MB_PREFETCH_MATERIAL calls MATERIAL_PRE_READ_MBEF to read data from MCHB. Function module MATERIAL_PRE_READ_MBEF maintains buffer for MCHB. Unless calling program specifically request data from database, it (MATERIAL_PRE_READ_MBEF) tries to full-fill from internal table. Within function module MB_PREFETCH_MATERIAL there is a bit of logic which tells fm MATERIAL_PRE_READ_MBEF to use buffer if late exclusive block is activated (field TCURM-MBEQU transaction OMJI).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: 'Calibri Light','sans-serif';"&gt;Note 194070 resolves the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 12:59:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681391#M1100835</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2012-08-06T12:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681392#M1100836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your help in similar regards, i was using the same BAPI in my program for posting 201 mvt and it is giving me error of stock defecit whereas stock exists in the system tables MARD,MCHB etc etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you let me know any way to correct the same , as you have mentioned some buffer can we not clear or re run the program or any way to deal with the problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i need to post 201 mvt &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681392#M1100836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-24T09:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_GOODSMVT_CREATE - Movement type 309</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681393#M1100837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its been while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have tried note 194070?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 14:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-goodsmvt-create-movement-type-309/m-p/4681393#M1100837</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2014-04-24T14:36:34Z</dc:date>
    </item>
  </channel>
</rss>

