<?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 to get material details in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524943#M1934705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shrusti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not seen a bapi that would return the result set your looking for especially with the input parameter you mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you thought about trying something like running a sql query against the MARD table and getting all of the matnr for a specific werks and then you can run either of the two bapi's that you mentioned above and pass both the matnr and werks into them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were wanting to do this type of call often then you could easily create a Z FM that performed this logic and return a table(s) of the FM results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Geoffery&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2016 12:46:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-08T12:46:51Z</dc:date>
    <item>
      <title>BAPI to get material details</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524942#M1934704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any standard BAPI which takes only plant details as importing parameters and provides details of 'all' the materials within that single plant?&lt;/P&gt;&lt;P&gt;BAPI_MATERIAL_GET_DETAIL, BAPI_MATERIAL_GET_ALL etc., all these bapi's require material number also as a input parameter. I need only plant as importing parameter.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shrusti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 11:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524942#M1934704</guid>
      <dc:creator>former_member204556</dc:creator>
      <dc:date>2016-01-08T11:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to get material details</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524943#M1934705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shrusti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not seen a bapi that would return the result set your looking for especially with the input parameter you mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you thought about trying something like running a sql query against the MARD table and getting all of the matnr for a specific werks and then you can run either of the two bapi's that you mentioned above and pass both the matnr and werks into them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were wanting to do this type of call often then you could easily create a Z FM that performed this logic and return a table(s) of the FM results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Geoffery&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 12:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524943#M1934705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-08T12:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to get material details</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524944#M1934706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shrusti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there is a standard BAPI for this, but you can write your own report, selecting material codes by plant from MARC, and pass each of them to the mentioned BAPI.&lt;/P&gt;&lt;P&gt;BAPI result can be collected and returned as applicable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 13:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524944#M1934706</guid>
      <dc:creator>Flavio</dc:creator>
      <dc:date>2016-01-08T13:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to get material details</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524945#M1934707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;You have to call a first BAPI to &lt;EM&gt;get lis&lt;/EM&gt;t of material reference:&lt;UL&gt;&lt;LI&gt;BAPI_MATERIAL_GETLIST, &lt;/LI&gt;&lt;LI&gt;Generic &lt;A href="http://help.sap.com/saphelp_nw74/helpdata/en/4d/d3cf7cc1b964dfe10000000a42189e/content.htm?frameset=/en/4d/d38ee78e316634e10000000a42189b/frameset.htm&amp;amp;current_toc=/en/c2/0da27f769e4c7d99f119110f6a24f4/plain.htm&amp;amp;node_id=34"&gt;Service BAPIs for Help Functions&lt;/A&gt; (F4 BAPI) &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Then call another one in loop to &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;get detail&lt;/EM&gt;&lt;/SPAN&gt; of those material references&lt;UL&gt;&lt;LI&gt;BAPI_MATERIAL_GET_DETAIL, etc.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 13:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-get-material-details/m-p/11524945#M1934707</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-08T13:33:17Z</dc:date>
    </item>
  </channel>
</rss>

