<?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 Usage of function module Material_Read in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181979#M757592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody explain me how to use function module Material_Read with various necessary parameters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also mail me on  jiteshkohli@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx n Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Dec 2007 09:23:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-15T09:23:37Z</dc:date>
    <item>
      <title>Usage of function module Material_Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181979#M757592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody explain me how to use function module Material_Read with various necessary parameters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also mail me on  jiteshkohli@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx n Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2007 09:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181979#M757592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-15T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of function module Material_Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181980#M757593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You check the function module by checking the function module help in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the details of Function Module Material_Read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MATERIAL_READ'&lt;/P&gt;&lt;P&gt;      EXPORTING  SCHLUESSEL = MTCOM&lt;/P&gt;&lt;P&gt;      IMPORTING  MATDATEN   = View table&lt;/P&gt;&lt;P&gt;                 RETURN     = MTCOR&lt;/P&gt;&lt;P&gt;      TABLES     SEQMAT01   = Internal table&lt;/P&gt;&lt;P&gt;    ( EXCEPTIONS Material_not_found = 4&lt;/P&gt;&lt;P&gt;                 Plant_not_found    = 8 .  )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Exceptions statement useful only for required tables (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required tables&lt;/P&gt;&lt;P&gt;If a table flagged as a required table does not exist, the function module terminates at this point and issues an error message. The error message can be suppressed with the exceptions statement, in which case a return code in SY-SUBRC is given instead. In both cases (with or without EXCEPTIONS), the function module does not return any data in the event of an error. You can inactivate all required tables for the view dynamically (as a whole, not individually) by setting the flag MTCOM-NOMUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return codes&lt;/P&gt;&lt;P&gt;If the function module ends without an error message, a return code flag can be interrogated for each table in structure MTCOR; for example, MTCOR-RMARD = X means that the function module tried to read table MARD, but did not succeed. If the flag is not set, the table was read successfully or the function module did not try to read table MARD at all (because the table is not contained in the view or because no storage location was specified).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTCOR-LVORM&lt;/P&gt;&lt;P&gt;This flag is set if the object is flagged for deletion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTCOR-PSTAT/MTCOR-FSTAT&lt;/P&gt;&lt;P&gt;If you specify a maintenance status in MTCOM, for example, MTCOM-PSTAT = BDE, the system checks whether the object has been maintained by the user departments Accounting (B), Material Requirements Planning (D), and Purchasing (E). As a result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field MTCOR-PSTAT contains the user departments that have maintained the object; for example, MTCOR-PSTAT = B means that the object has been maintained by Accounting, but not by MRP or Purchasing.&lt;/P&gt;&lt;P&gt;Field MTCOR-FSTAT contains the user departments that have not maintained the object, but that could have maintained it; that is, the system checks whether the user department is allowed by the material type.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;This check takes time (performance). If it is not required, the function module should always be called with MTCOM-PSTAT = space.&lt;/P&gt;&lt;P&gt;MTCOM-NOVOR&lt;/P&gt;&lt;P&gt;If a plant has been specified, but no valuation level or sales organization, the function module automatically adopts (for the plant specified) the corresponding values for the valuation level and sales organization in table T001W. You can inactivate this function by setting the flag MTCOM-NOVOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Locking materials&lt;/P&gt;&lt;P&gt;If materials are locked by function module MATERIAL_READ, MATERIAL_READ_MAKF, or by other function modules of function groups MATL or MAKF, the information on which materials were already locked is buffered for performance reasons. This buffer is reset or ignored if the two indicators (MTCOM-)KZSPR and (MTCOM-)KZRFB are set. You can also use function module MATERIAL_RESET_ENQ_BUFFER or MATERIAL_RESET_ENQ_BUFFER_MAKF to completely reset this buffer. This can, for example, be necessary if function module DE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P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2007 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181980#M757593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-15T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of function module Material_Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181981#M757594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the link below, its very good site to find out info on any function module and their description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.se37.com" target="test_blank"&gt;www.se37.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Kindly Reward Points If You Found The Reply Usefull&amp;lt;b&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chaitanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2007 10:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181981#M757594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-15T10:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of function module Material_Read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181982#M757595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All this documentation is already available in the FM documentation.Could you update any information about MTCOR-RMAWEV flag. When this flag gets set etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 11:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-function-module-material-read/m-p/3181982#M757595</guid>
      <dc:creator>vamshi_mohan</dc:creator>
      <dc:date>2013-02-22T11:13:33Z</dc:date>
    </item>
  </channel>
</rss>

