<?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 program to select material inventory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-select-material-inventory/m-p/1172981#M123601</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;I have written a program, that should select the material inventory, increase, outflow in a specific month and show it in an ALV. there should be an option to export the results as a csv file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have finished the ALV and the csv-file stuff, but I have problems to get the right data-field for the material inventory for the specific month....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should show the same result, as You would use the transaction "MCBC" and select for the specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have selected all entries from Mara to get all materials. After that I have selected the fields mzubb, wzubb, magbb, wagbb from s032 for the specific month/year (spmon). The third selection, I have made, was the fields lbkum and salk3 from mbewh for the specific month (lfmon) and the year (lfja).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all I have merged the results together in one table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the fields salk3 and lbkum from mbewh aren´t the right fields.... In the mcbc I get different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Arne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2006 15:27:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-09T15:27:02Z</dc:date>
    <item>
      <title>program to select material inventory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-select-material-inventory/m-p/1172981#M123601</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;I have written a program, that should select the material inventory, increase, outflow in a specific month and show it in an ALV. there should be an option to export the results as a csv file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have finished the ALV and the csv-file stuff, but I have problems to get the right data-field for the material inventory for the specific month....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should show the same result, as You would use the transaction "MCBC" and select for the specific month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have selected all entries from Mara to get all materials. After that I have selected the fields mzubb, wzubb, magbb, wagbb from s032 for the specific month/year (spmon). The third selection, I have made, was the fields lbkum and salk3 from mbewh for the specific month (lfmon) and the year (lfja).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all I have merged the results together in one table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the fields salk3 and lbkum from mbewh aren´t the right fields.... In the mcbc I get different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Arne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 15:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-select-material-inventory/m-p/1172981#M123601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-09T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: program to select material inventory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-select-material-inventory/m-p/1172982#M123602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field u have chose has different meaning in S032 it is running total. in mbewh it is the actual transaction.&lt;/P&gt;&lt;P&gt;e.g u have received 100 in May 05 &amp;amp; 200 Jan 06 then ur mbewh would show...&lt;/P&gt;&lt;P&gt;one entry as 100 in May period and 200 in Jan period whereas in MCBC trx it would show for the selected period (11.2005 - 02.2006) as &lt;/P&gt;&lt;P&gt;11.2005 --- 100&lt;/P&gt;&lt;P&gt;12.2005 --- 100  as there has been no trx &lt;/P&gt;&lt;P&gt;01.2006 --- 300  as receipt in January&lt;/P&gt;&lt;P&gt;02.2006 --- 300 &lt;/P&gt;&lt;P&gt;where as the s032 would have 300 in valuated stock field.&lt;/P&gt;&lt;P&gt;So u need to decide which one u want to display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 06:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-to-select-material-inventory/m-p/1172982#M123602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-10T06:31:27Z</dc:date>
    </item>
  </channel>
</rss>

