<?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: Using BAPI_MATERIAL_AVAILABILITY for storage-location-level in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144818#M1367593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I can't really tell you what's wrong without looking at your configuration or the differences in the calls.  If you trace both the BAPI and CO09 with Runtime Analysis, you'llsee that they both call function AVAILABILITY_CHECK.  I would start by checking if rule 'A' produces different results, then by checking for any differences in the two calls or the handling of the results from the calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 13:15:35 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2009-09-09T13:15:35Z</dc:date>
    <item>
      <title>Using BAPI_MATERIAL_AVAILABILITY for storage-location-level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144815#M1367590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine the ATP quantity Iu2019m using the function module &lt;STRONG&gt;BAPI_MATERIAL_AVAILABILITY&lt;/STRONG&gt;. I need to get the ATP quantity on storage-location-level; for this the following parameters are set:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- PLANT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- MATERIAL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- UNIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- CHECK_RULE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- STGE_LOC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result in table &lt;STRONG&gt;WMDVEX&lt;/STRONG&gt; is for different storages locations the same, but in transaction &lt;STRONG&gt;CO09&lt;/STRONG&gt; I have different quantities for the storage locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I determine the ATP quantity on storage-location-level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kurt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 13:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144815#M1367590</guid>
      <dc:creator>Weiskopf</dc:creator>
      <dc:date>2009-09-08T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_MATERIAL_AVAILABILITY for storage-location-level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144816#M1367591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of any differences between the BAPI and CO09 and I've been using the function for quite some time in transactions to pre-determine ATP quantities.  Are you using checking rule 'A' for both?  Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
        EXPORTING
          plant      = gs_docitems-werks
          material   = gs_docitems-matnr
          unit       = gs_docitems-vrkme
          check_rule = 'A'
          stge_loc   = gs_docitems-lgort
        IMPORTING
          return     = ls_return
        TABLES
          wmdvsx     = lt_wmdvsx
          wmdvex     = lt_wmdvex.

      READ TABLE lt_wmdvex INTO ls_wmdvex INDEX 1.

      gs_docitems-atpqty = ls_wmdvex-com_qty.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 18:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144816#M1367591</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2009-09-08T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_MATERIAL_AVAILABILITY for storage-location-level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144817#M1367592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Brad Bohn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your suggestion.&lt;/P&gt;&lt;P&gt;Iu2019m using an own rule (as copy of rule A), the own rule donu2019t use purchase orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CO09 I have the following ATP Quanties:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;09.09.2009	BStand		1,775	0	259 
09.09.2009	LgBest	0001	785	0	459 
09.09.2009	LgBest	0002	989	0	452 
09.09.2009	LgBest	0003	22	0	20&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module provides only 259 for each storage location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another function module &lt;STRONG&gt;AVAILABILITY_CHECK&lt;/STRONG&gt;. Can this function module also be used to determine ATP quantity?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;Kurt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 07:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144817#M1367592</guid>
      <dc:creator>Weiskopf</dc:creator>
      <dc:date>2009-09-09T07:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_MATERIAL_AVAILABILITY for storage-location-level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144818#M1367593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I can't really tell you what's wrong without looking at your configuration or the differences in the calls.  If you trace both the BAPI and CO09 with Runtime Analysis, you'llsee that they both call function AVAILABILITY_CHECK.  I would start by checking if rule 'A' produces different results, then by checking for any differences in the two calls or the handling of the results from the calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability-for-storage-location-level/m-p/6144818#M1367593</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2009-09-09T13:15:35Z</dc:date>
    </item>
  </channel>
</rss>

