<?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: report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1773999#M334004</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 believe gi: goods issue and gr: goods receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;strategy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  select mblnr from mkpf into table btab where budat ( bldat) in s_date &lt;/P&gt;&lt;P&gt;2. loop at btab.&lt;/P&gt;&lt;P&gt;    select matnr mblnr bwart menge meins shkzg from mseg into table itab where matnr in s_matnr and mblnr = btab-mblnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so depending on movement type u can calculate goods receipt and goods issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shkzg = 'S' then + and shkzg = 'H' then ' - '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the problem is solved..pls close the thread  and reward to all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;CNU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2006 16:55:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-19T16:55:05Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1773998#M334003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to display how many gr and gi have been created for a perticular&lt;/P&gt;&lt;P&gt;period of time(user input as s_date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input on the selection screen &lt;/P&gt;&lt;P&gt;==============================&lt;/P&gt;&lt;P&gt; matnr (mara)&lt;/P&gt;&lt;P&gt; matkl (mara)&lt;/P&gt;&lt;P&gt; date  (this date has to be compared with the mkpf-bldat)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data selection :&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;mara : matnr (pkey)( user input on selecion screen) (output)&lt;/P&gt;&lt;P&gt;       matkl       ( user input on selecion screen) (output)&lt;/P&gt;&lt;P&gt;       lvorm                                        (output)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makt : matnr (pkey)&lt;/P&gt;&lt;P&gt;       maktx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mseg : mblnr(pkey)&lt;/P&gt;&lt;P&gt;       bwart &lt;/P&gt;&lt;P&gt;       matnr&lt;/P&gt;&lt;P&gt;mkpf : mblnr&lt;/P&gt;&lt;P&gt;       bldat (This field has to be compared to with the analysis date)&lt;/P&gt;&lt;P&gt;mbew : bwkey (output)&lt;/P&gt;&lt;P&gt;       bwtar (output)&lt;/P&gt;&lt;P&gt;       lbkum (output)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In output i need to display the following fields .&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;mara-matnt&lt;/P&gt;&lt;P&gt;mara-matkl&lt;/P&gt;&lt;P&gt;mara-lvorm&lt;/P&gt;&lt;P&gt;makt-maktx&lt;/P&gt;&lt;P&gt;count_gi&lt;/P&gt;&lt;P&gt;count_gr&lt;/P&gt;&lt;P&gt;mbew-bwkey&lt;/P&gt;&lt;P&gt;mbew-bwtar&lt;/P&gt;&lt;P&gt;mbew-lbkum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody tell me what should be stratedy to select data&lt;/P&gt;&lt;P&gt;which table to hit when in a sequence so as to get &lt;/P&gt;&lt;P&gt;the required data.Remembering system load should be less &lt;/P&gt;&lt;P&gt;as a point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 16:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1773998#M334003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1773999#M334004</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 believe gi: goods issue and gr: goods receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;strategy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  select mblnr from mkpf into table btab where budat ( bldat) in s_date &lt;/P&gt;&lt;P&gt;2. loop at btab.&lt;/P&gt;&lt;P&gt;    select matnr mblnr bwart menge meins shkzg from mseg into table itab where matnr in s_matnr and mblnr = btab-mblnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so depending on movement type u can calculate goods receipt and goods issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shkzg = 'S' then + and shkzg = 'H' then ' - '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the problem is solved..pls close the thread  and reward to all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;CNU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 16:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1773999#M334004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1774000#M334005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performance point of view, it is better to have a join between MKBF and MSEG tables OR use For All Entries statement. Avoid selecting the data from MSEG inside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viswa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1774000#M334005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T19:41:39Z</dc:date>
    </item>
  </channel>
</rss>

