<?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: solve1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520167#M570357</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 think the problem is in select statement. use joins or for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flag type c.&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln a&lt;/SUB&gt;vbelp ...........&lt;/P&gt;&lt;P&gt; from vbak as a join vbap as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln join&lt;/P&gt;&lt;P&gt;kna1 as c on ..........................&lt;/P&gt;&lt;P&gt; vbep as d on .....................   into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;sort itab by vbeln. &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;      at first.&lt;/P&gt;&lt;P&gt;          write:/10 'vbeln'.&lt;/P&gt;&lt;P&gt;          ................&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;          at new vbeln.&lt;/P&gt;&lt;P&gt;               flag = 'X'.&lt;/P&gt;&lt;P&gt;          if flag = 'X'.&lt;/P&gt;&lt;P&gt;                  write:/ itab-vbelp.&lt;/P&gt;&lt;P&gt;                            ...........&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          at end of.&lt;/P&gt;&lt;P&gt;                  sum.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;          at last.           &lt;/P&gt;&lt;P&gt;                  sum.&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;if useful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with rewards,&lt;/P&gt;&lt;P&gt;suresh.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 04:43:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-19T04:43:18Z</dc:date>
    <item>
      <title>solve1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520166#M570356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guru's,&lt;/P&gt;&lt;P&gt;see the issu below.&lt;/P&gt;&lt;P&gt; Calculate the Customer wise Sales orders Totals for the given period and for the given materials and for the given sales area.&lt;/P&gt;&lt;P&gt;Use the tables KNA1,VBAK and VBAP and VBEP tables.&lt;/P&gt;&lt;P&gt; in aboue issue i put several control break statements for displaying totals as per customer wise ,meterial wise ans sales group wise .but it is showing only customer wise totals.plz..  solve and send urgent.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 04:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520166#M570356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T04:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: solve1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520167#M570357</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 think the problem is in select statement. use joins or for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flag type c.&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln a&lt;/SUB&gt;vbelp ...........&lt;/P&gt;&lt;P&gt; from vbak as a join vbap as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln join&lt;/P&gt;&lt;P&gt;kna1 as c on ..........................&lt;/P&gt;&lt;P&gt; vbep as d on .....................   into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;sort itab by vbeln. &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;      at first.&lt;/P&gt;&lt;P&gt;          write:/10 'vbeln'.&lt;/P&gt;&lt;P&gt;          ................&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;          at new vbeln.&lt;/P&gt;&lt;P&gt;               flag = 'X'.&lt;/P&gt;&lt;P&gt;          if flag = 'X'.&lt;/P&gt;&lt;P&gt;                  write:/ itab-vbelp.&lt;/P&gt;&lt;P&gt;                            ...........&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          at end of.&lt;/P&gt;&lt;P&gt;                  sum.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;          at last.           &lt;/P&gt;&lt;P&gt;                  sum.&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;if useful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with rewards,&lt;/P&gt;&lt;P&gt;suresh.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 04:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520167#M570357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T04:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: solve1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520168#M570358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suresh,&lt;/P&gt;&lt;P&gt; can u send me the report totally to me, so that i can understand properly.&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;surendraa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 05:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/solve1/m-p/2520168#M570358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T05:14:48Z</dc:date>
    </item>
  </channel>
</rss>

