<?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 ... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134019#M448793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we use it as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_MATERIAL_AVAILABILITY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      plant    = det_entrega-werks "Plant&lt;/P&gt;&lt;P&gt;      material = p_matnr           "Material number&lt;/P&gt;&lt;P&gt;      unit     = det_entrega-meins "Unit of measure to verify&lt;/P&gt;&lt;P&gt;      stge_loc = det_entrega-lgort "Storage&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      wmdvsx   = tabla1&lt;/P&gt;&lt;P&gt;      wmdvex   = tabla_disp.       "Result Available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    read table tabla_disp index 1.&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the avilable quantity it's on tabla_disp-com_qty&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2007 23:23:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-11T23:23:48Z</dc:date>
    <item>
      <title>Using BAPI_MATERIAL_AVAILABILITY ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134018#M448792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I was trying to use BAPI_MATERIAL_AVAILABILITY to get the stock of my material, but I do not sure how to use it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I'm setting&lt;/P&gt;&lt;P&gt;PLANT=POS1&lt;/P&gt;&lt;P&gt;MATERIAL=..&lt;/P&gt;&lt;P&gt;UNIT=...&lt;/P&gt;&lt;P&gt;WMDVSX-REQ_DATE = today&lt;/P&gt;&lt;P&gt;WMDVSX-REQ_QTY  = 99999999&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;this returns me&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AV_QTY_PLT  with the correct value in stock for all warhouses of that plant&lt;/P&gt;&lt;P&gt;WMDVEX-EQ_QTY= 99999...&lt;/P&gt;&lt;P&gt;WMDVEX-COM_QTY  = 222724  // not  a clue what this number represents...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;but if I call it with&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PLANT=POS1&lt;/P&gt;&lt;P&gt;MATERIAL=...&lt;/P&gt;&lt;P&gt;UNIT=...&lt;/P&gt;&lt;P&gt;STGE_LOC=MOS1&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WMDVSX-REQ_DATE = today&lt;/P&gt;&lt;P&gt;WMDVSX-REQ_QTY  = 99999999&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this returns me&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AV_QTY_PLT  with the same value for all warehouses, not just for MOS1 &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;WMDVEX-EQ_QTY= 99999...&lt;/P&gt;&lt;P&gt;WMDVEX-COM_QTY  = 993  // not  a clue what this number represents neither...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to know how much material I had for sale today in just one Plant+Location...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 22:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134018#M448792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T22:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_MATERIAL_AVAILABILITY ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134019#M448793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we use it as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'BAPI_MATERIAL_AVAILABILITY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      plant    = det_entrega-werks "Plant&lt;/P&gt;&lt;P&gt;      material = p_matnr           "Material number&lt;/P&gt;&lt;P&gt;      unit     = det_entrega-meins "Unit of measure to verify&lt;/P&gt;&lt;P&gt;      stge_loc = det_entrega-lgort "Storage&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      wmdvsx   = tabla1&lt;/P&gt;&lt;P&gt;      wmdvex   = tabla_disp.       "Result Available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    read table tabla_disp index 1.&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the avilable quantity it's on tabla_disp-com_qty&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 23:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134019#M448793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T23:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_MATERIAL_AVAILABILITY ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134020#M448794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and in "tabla1" what are you filling in to send it to the bapi?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 19:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-material-availability/m-p/2134020#M448794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-12T19:25:15Z</dc:date>
    </item>
  </channel>
</rss>

