<?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: Problem in ALV Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079182#M1356604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&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;1) select EKKO~BSART&lt;/P&gt;&lt;P&gt;EKKO~LIFNR&lt;/P&gt;&lt;P&gt;LFA1~NAME1&lt;/P&gt;&lt;P&gt;ekpo~TXZ01&lt;/P&gt;&lt;P&gt;EKKO~BEDAT&lt;/P&gt;&lt;P&gt;EKPO~EBELP&lt;/P&gt;&lt;P&gt;EKPO~MENGE&lt;/P&gt;&lt;P&gt;EKPO~NETPR&lt;/P&gt;&lt;P&gt;into corresponding fields of TABLE IT_TAB FROM ekko INNER JOIN ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln inner join LFA1 on ekko&lt;SUB&gt;lifnr = lfa1&lt;/SUB&gt;lifnr where ekko~lifnr in S_LIFNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add WA_FIELDCAT-DATAELEMENT = 'CURR'.&lt;/P&gt;&lt;P&gt;2) I have to add the Total price....&lt;/P&gt;&lt;P&gt;for that i searched in the forums then i got wa_FIELDCAT-do_sum(1) = 'X'. this will help for the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-TABNAME = 'IT_EKKO'.&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-FIELDNAME = 'NETPR'.&lt;/P&gt;&lt;P&gt;"WA_FIELDCAT-NO_OUT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add WA_FIELDCAT-DATAELEMENT = 'CURR'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;wa_FIELDCAT-do_sum(1) = 'X'.&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-SELTEXT_M = 'Net Price'.&lt;/P&gt;&lt;P&gt;APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you.&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>Fri, 11 Sep 2009 05:45:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-11T05:45:57Z</dc:date>
    <item>
      <title>Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079180#M1356602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I developed  the ALV Report, In this Report i am getting two Problems that i am not getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems are..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)   select EKKO~BSART&lt;/P&gt;&lt;P&gt;       EKKO~LIFNR&lt;/P&gt;&lt;P&gt;       LFA1~NAME1&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;ekpo~TXZ01&lt;/STRONG&gt;      &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; getting runtime error here&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;       EKKO~BEDAT&lt;/P&gt;&lt;P&gt;       EKPO~EBELP&lt;/P&gt;&lt;P&gt;       EKPO~MENGE&lt;/P&gt;&lt;P&gt;       EKPO~NETPR&lt;/P&gt;&lt;P&gt;       into TABLE IT_TAB FROM ekko INNER JOIN ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln inner join LFA1 on ekko&lt;SUB&gt;lifnr = lfa1&lt;/SUB&gt;lifnr where ekko~lifnr in S_LIFNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      The above code is working properly ,when ever i am adding   &lt;STRONG&gt;ekpo~TXZ01&lt;/STRONG&gt;  this field  i am getting the runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And second one is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  I have to add the Total price....&lt;/P&gt;&lt;P&gt;       for that i searched in the forums then i got    &lt;STRONG&gt;wa_FIELDCAT-do_sum(1)      = 'X'.&lt;/STRONG&gt; this will help for the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-TABNAME = 'IT_EKKO'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'NETPR'.&lt;/P&gt;&lt;P&gt; "WA_FIELDCAT-NO_OUT    = 'X'.&lt;/P&gt;&lt;P&gt;  wa_FIELDCAT-do_sum(1)      = 'X'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Net Price'.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this report is executing normally ,what is happing exactly is i am getting the out put ,in that out put when i am going down to see the sum suddenly i am getting the &lt;STRONG&gt;Rnu time error&lt;/STRONG&gt; ,that i am not getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 05:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079180#M1356602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T05:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079181#M1356603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, the structure of the internal table in which u r collecting the data should be similar&lt;/P&gt;&lt;P&gt; to that of the fields specified in the 'Select' statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select EKKO~BSART&lt;/P&gt;&lt;P&gt;EKKO~LIFNR&lt;/P&gt;&lt;P&gt;LFA1~NAME1&lt;/P&gt;&lt;P&gt;ekpo~TXZ01&lt;/P&gt;&lt;P&gt;EKKO~BEDAT&lt;/P&gt;&lt;P&gt;EKPO~EBELP&lt;/P&gt;&lt;P&gt;EKPO~MENGE&lt;/P&gt;&lt;P&gt;EKPO~NETPR&lt;/P&gt;&lt;P&gt;into TABLE IT_TAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_tab structure shd be&lt;/P&gt;&lt;P&gt;BSART&lt;/P&gt;&lt;P&gt;LIFNR&lt;/P&gt;&lt;P&gt;NAME1&lt;/P&gt;&lt;P&gt;TXZ01&lt;/P&gt;&lt;P&gt;BEDAT&lt;/P&gt;&lt;P&gt;EBELP&lt;/P&gt;&lt;P&gt;MENGE&lt;/P&gt;&lt;P&gt;NETPR&lt;/P&gt;&lt;P&gt;For the second dump , try tracing out which statement exactly is causing the dump..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mdi.Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 05:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079181#M1356603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T05:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079182#M1356604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&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;1) select EKKO~BSART&lt;/P&gt;&lt;P&gt;EKKO~LIFNR&lt;/P&gt;&lt;P&gt;LFA1~NAME1&lt;/P&gt;&lt;P&gt;ekpo~TXZ01&lt;/P&gt;&lt;P&gt;EKKO~BEDAT&lt;/P&gt;&lt;P&gt;EKPO~EBELP&lt;/P&gt;&lt;P&gt;EKPO~MENGE&lt;/P&gt;&lt;P&gt;EKPO~NETPR&lt;/P&gt;&lt;P&gt;into corresponding fields of TABLE IT_TAB FROM ekko INNER JOIN ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln inner join LFA1 on ekko&lt;SUB&gt;lifnr = lfa1&lt;/SUB&gt;lifnr where ekko~lifnr in S_LIFNR .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add WA_FIELDCAT-DATAELEMENT = 'CURR'.&lt;/P&gt;&lt;P&gt;2) I have to add the Total price....&lt;/P&gt;&lt;P&gt;for that i searched in the forums then i got wa_FIELDCAT-do_sum(1) = 'X'. this will help for the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-TABNAME = 'IT_EKKO'.&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-FIELDNAME = 'NETPR'.&lt;/P&gt;&lt;P&gt;"WA_FIELDCAT-NO_OUT = 'X'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add WA_FIELDCAT-DATAELEMENT = 'CURR'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;wa_FIELDCAT-do_sum(1) = 'X'.&lt;/P&gt;&lt;P&gt;WA_FIELDCAT-SELTEXT_M = 'Net Price'.&lt;/P&gt;&lt;P&gt;APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you.&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>Fri, 11 Sep 2009 05:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079182#M1356604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T05:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079183#M1356605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) i tries u r piece of code with &lt;STRONG&gt;select statement&lt;/STRONG&gt; but problem not solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the second one is   &lt;STRONG&gt;WA_FIELDCAT-DATAELEMENT = 'CURR'.&lt;/STRONG&gt;   i am getting the syntax error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e,  &lt;STRONG&gt;WA_FIELDCAT&lt;/STRONG&gt;  doesnot have the component  called &lt;STRONG&gt;"DATAELEMENT "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this what i have to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 06:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079183#M1356605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T06:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079184#M1356606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*FIELDCAT-DATATYPE = 'CURR' *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regard,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 06:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079184#M1356606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T06:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079185#M1356607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Double-post = Double-lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read the forum rules, otherwise I will delete your user ID and your boss's user ID well - and tell him that it is your fault!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it? Gud..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 06:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv-report/m-p/6079185#M1356607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T06:49:23Z</dc:date>
    </item>
  </channel>
</rss>

