<?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: select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642552#M286145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try with the function module ''MATERIAL_READ_DOCUMENTS''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Nov 2006 11:39:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-26T11:39:07Z</dc:date>
    <item>
      <title>select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642547#M286140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have extracted some data from mchb and mara using inner join then after it i am using other select staement to extract data from mseg-menge on matnr of mseg and internal table-matnr, its taking long time and not fetching the values properly for menge by comparing matnr of mseg and internal table can any one help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 10:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642547#M286140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T10:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642548#M286141</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;U should use all key fields of MCHB tables to read MSEG, the problem is these fields are not key fields for MSEG, to the select can be very slow. U should check if these fields are using in a index or try to create an index for them in MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 10:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642548#M286141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642549#M286142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the follwoing function module to get the material documents from MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at your previous internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call FM 'MATERIAL_READ_DOCUMENTS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise  fetch the fields lgort, werks, charg from MCHB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while fetching data from MSEG &lt;/P&gt;&lt;P&gt;put the where condition of MATNR = IT_DATA-MATNR and &lt;/P&gt;&lt;P&gt;                                      LGORT = IT_data-LGORT and &lt;/P&gt;&lt;P&gt;                                      WERKS = IT_DATA-WERKS and&lt;/P&gt;&lt;P&gt;                                      CHARG = IT_DATA-CHARG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 10:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642549#M286142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642550#M286143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am finding the same probelm when i have added matnr werks lgort charg in whre condition of the select st to extract menge from mseg the system ishanging on plz give me the solultion for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 11:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642550#M286143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T11:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642551#M286144</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;Your report should work when no user works, if you want to prevent sombody changes the quantities while you report's working, you should trigger the locks for MSEG table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 11:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642551#M286144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T11:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642552#M286145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try with the function module ''MATERIAL_READ_DOCUMENTS''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 11:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642552#M286145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T11:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642553#M286146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i doesnt know how to use the function moudle what are the import and export parametes tables  data need to be given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 12:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/1642553#M286146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T12:24:31Z</dc:date>
    </item>
  </channel>
</rss>

