<?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: pls try this in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091091#M100729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at MARD table for stock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2005 21:40:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-05T21:40:45Z</dc:date>
    <item>
      <title>pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091088#M100726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every one is helping me a lot, when ever iam asking doubts immediately answers are getting thanks for everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any how here is the task try to give code for this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a report which will give the existing stock for a material. The report should have subtotal of the stock for each storage location &amp;amp; grand total of the stock at the end of the plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant data should start at new page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input: selection scree which will allow to select a range of materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output: plant  storage loc.  matl.no.  description  stock&lt;/P&gt;&lt;P&gt;                                          (unrestricted)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need reply very soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 21:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091088#M100726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T21:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091089#M100727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you Giving the Specification...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 21:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091089#M100727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T21:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091090#M100728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to start it first and then if you encounter any issues try to post the issue here. If you just paste the specification here, it will not help you in learning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You are not rewarding or closing your previous posts. The forum needs to know if their answers are helping you or not. If you are not responding back to the forum about the helpfulness of their responses and also if you are not closing them out, then people may ignore your posts. Please close all you previous posts.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 21:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091090#M100728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T21:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091091#M100729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at MARD table for stock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 21:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091091#M100729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-05T21:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091092#M100730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi girish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following code to&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;"Plant data should start at new page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input: selection scree which will allow to select a range of materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output: plant storage loc. matl.no. description stock"&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mara, marc, mard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;     matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;      end of itab1.&lt;/P&gt;&lt;P&gt;      select-options: userno for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;     matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;     werks like marc-werks,&lt;/P&gt;&lt;P&gt;      end of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab3 occurs 0,&lt;/P&gt;&lt;P&gt;      matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;      werks like mard-werks,&lt;/P&gt;&lt;P&gt;      lgort like mard-lgort,&lt;/P&gt;&lt;P&gt;      end of itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr from mara into table itab1 WHERE MATNR IN USERNO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not itab1[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select matnr werks from marc into table itab2&lt;/P&gt;&lt;P&gt;           for all entries in itab1&lt;/P&gt;&lt;P&gt;           where matnr = itab1-matnr.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not itab2[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select matnr werks lgort from mard into table itab3&lt;/P&gt;&lt;P&gt;           for all entries in itab2&lt;/P&gt;&lt;P&gt;           where matnr = itab2-matnr and werks = itab2-werks.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: /(17) 'MATNO'.&lt;/P&gt;&lt;P&gt;WRITE:(5) 'PLANT'.&lt;/P&gt;&lt;P&gt;WRITE:'STRORAGE LOC'.&lt;/P&gt;&lt;P&gt;WRITE:'TABIX'.&lt;/P&gt;&lt;P&gt;WRITE:/ .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab3.&lt;/P&gt;&lt;P&gt;write:/ itab3-matnr, itab3-werks, ITAB3-LGORT, sy-tabix.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don understand by what u mean by&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;"Create a report which will give the existing stock for a material. The report should have subtotal of the stock for each storage location &amp;amp; grand total of the stock at the end of the plant"&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Provide points if u r satisfeied with the reply&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 07:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091092#M100730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091093#M100731</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;  Are you talking about displaying the current stock of the material, there is one standard transaction in SAP MB52 that will give the Stock levels of the material, you can go thro' the report RM07MLBS associated with the transaction MB52, this might give you the logic how to query the database to get the stocks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 07:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091093#M100731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: pls try this</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091094#M100732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping this will help&lt;/P&gt;&lt;P&gt;You should also get from your functional guy what type of stock you should consider. I have given some tables below&lt;/P&gt;&lt;P&gt;depending on the requirement you should select from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first you should get the current period from marv&lt;/P&gt;&lt;P&gt;then go the tables below for the current stock&lt;/P&gt;&lt;P&gt;          mbew,  ( Material Valuation )&lt;/P&gt;&lt;P&gt;          mbewh, ( Material Valuation: History )&lt;/P&gt;&lt;P&gt;          ebew,  ( Sales Order Stock Valuation )&lt;/P&gt;&lt;P&gt;          ebewh ( Sales Order Stock Valuation : History)&lt;/P&gt;&lt;P&gt;          qbew  ( Project Stock Valuation )               &lt;/P&gt;&lt;P&gt;          qbewh ( Project Stock Valuation : History&lt;/P&gt;&lt;P&gt;          obew ( Valuated Stock with Subcontractor )&lt;/P&gt;&lt;P&gt;          obewh (Valuated Stock with Subcontractor: History)&lt;/P&gt;&lt;P&gt;          WBEW ( Active Ingredient Valuation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i hope other things are simple like new-page etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 17:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-try-this/m-p/1091094#M100732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T17:26:03Z</dc:date>
    </item>
  </channel>
</rss>

