<?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: Errors from BAPI_MATPHYSINV_COUNT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625428#M1089511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using this specific BAPI the parameters ask for a table of serial numbers with the structure BAPI_PHYSINV_SERIALNUMBERS.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is composed of two fields, Item and Serial Number.  It seems I misunderstood their definition of Item, it applies to the material.  Thus if you have 1 material for the document but multiple serial numbers each one would need to have the same Item number of 001.  It took me nearly an hour of debugging the BAPI to find out what the issue was.  When really it wasn't all that complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this thread will help prevent someone from wasting hours on a simple solution :).&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;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 20:20:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T20:20:02Z</dc:date>
    <item>
      <title>Errors from BAPI_MATPHYSINV_COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625427#M1089510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current requirement is to create a z-program with similar functionality to that of MI04.  The user needs to do counts on materials with multiple serial numbers (in some cases 30,000).  MI04 restricts the user to 19 serial numbers, they are unable to copy and paste from an excel or text document with all the serial numbers.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the program and used BAPI_MATPHYSINV_CREATE to make the inventory document.  I then pass the inventory document and appropriate item information to BAPI_MATPHYSINV_COUNT along with the list of serial numbers for that material.  I am getting 2 errors in the Return table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) No data changed.&lt;/P&gt;&lt;P&gt;2) Item requires exactly                                  # serial numbers for the asset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have searched not only this site but others trying to find similar issues or documentation on the BAPI and so far have come up with nothing. Does anyone have any insight on this?  Or dealt with an issue similar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help you can provide.&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;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 19:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625427#M1089510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Errors from BAPI_MATPHYSINV_COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625428#M1089511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using this specific BAPI the parameters ask for a table of serial numbers with the structure BAPI_PHYSINV_SERIALNUMBERS.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is composed of two fields, Item and Serial Number.  It seems I misunderstood their definition of Item, it applies to the material.  Thus if you have 1 material for the document but multiple serial numbers each one would need to have the same Item number of 001.  It took me nearly an hour of debugging the BAPI to find out what the issue was.  When really it wasn't all that complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this thread will help prevent someone from wasting hours on a simple solution :).&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;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 20:20:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625428#M1089511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T20:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Errors from BAPI_MATPHYSINV_COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625429#M1089512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Dec 2015 05:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errors-from-bapi-matphysinv-count/m-p/4625429#M1089512</guid>
      <dc:creator>masoud_ebrahimzadeh</dc:creator>
      <dc:date>2015-12-06T05:59:04Z</dc:date>
    </item>
  </channel>
</rss>

