<?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: Stock on posting date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959637#M1602651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted to MM, so this thread can be locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the link is the follow.&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1976074"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1976074"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i think that this issue has to do with ABAPers because The logic how tables are updating concerns us too, and not only MM consultaning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 05:37:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-16T05:37:12Z</dc:date>
    <item>
      <title>Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959631#M1602645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sdn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am opening this thread, because although the search, i didn't find a clear answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that, i want to correct a query we have developed, which is calculate the &lt;STRONG&gt;z-field TOTAL stock on posting date&lt;/STRONG&gt; in a wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the input should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;material number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;plant&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;posting date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the output the &lt;STRONG&gt;TOTAL stock&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functionality is like the MB5B tcode..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any SAP function to do this or i have to develop one ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 09:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959631#M1602645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T09:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959632#M1602646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't help it, this sounds like a masked "spec dumping" attempt. Maybe you can "clear my doubts". Please describe what you have researched so far. Also post the query that gives the wrong result for better analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you know that MB5B has the desired functionality, did you try analyzing/debugging how this transaction does it? If not, why not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 09:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959632#M1602646</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-06-15T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959633#M1602647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functionality is like the MB5B tcode.. Is there any SAP function to do this or i have to develop one ? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to find the opening &amp;amp; closing stock on a particular date, unfortunately SAP doesn't provide any FMs to cater to this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run a SQL trace to check the DB tables which are involved in MB5B, then debug the trxn &amp;amp; figure out a logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: In one of my previous projects we had developed a custom FM for similar kind of requirement. In that we had made use of combination of LIS structure &amp;amp; standard SAP "stock" tables viz., MARD/MARDH, MCHB/MCHBH etc. to calculate the stock for a particular date!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 09:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959633#M1602647</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-15T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959634#M1602648</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 u pls provide your code snippet ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;HM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 10:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959634#M1602648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T10:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959635#M1602649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your answers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the MARDH table (which the program reads) doesn't seem to be right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total quantity of 168,900 at the end of 3rd period is correctly added to MBEWH table, but the MARDH table shows this quantity at the end of 4th !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see link for details..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://export.writer.zoho.com/public/stratos.ts/mbewh-vs-mardh|https://export.writer.zoho.com/public/stratos.ts/mbewh-vs-mardh]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is this possible ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 12:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959635#M1602649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T12:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959636#M1602650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this is better asked in the MM forum. It's not really an ABAP issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 21:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959636#M1602650</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2011-06-15T21:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stock on posting date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959637#M1602651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted to MM, so this thread can be locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the link is the follow.&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1976074"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1976074"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i think that this issue has to do with ABAPers because The logic how tables are updating concerns us too, and not only MM consultaning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 05:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stock-on-posting-date/m-p/7959637#M1602651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-16T05:37:12Z</dc:date>
    </item>
  </channel>
</rss>

