<?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: Code to get total amount from the attach coe in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550159#M1429421</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;Inbetween select and endselect add all the amount fields and pass it to one global variable.Pass the total field to form to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2010 09:18:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-12T09:18:24Z</dc:date>
    <item>
      <title>Code to get total amount from the attach coe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550157#M1429419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; We have one print  program of sap script for 57F4 Challan print out from the below code we are getting all the items of 57f4 challan with there amount on the print out but at the end o fprogram i want to print the sum of amount of alla materials   can u give the code or idead to modify the progra &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code with which it is printing the material with price&lt;/P&gt;&lt;P&gt; SELECT * FROM J_1IEXCDTL WHERE EXNUM = DOC_NO AND&lt;/P&gt;&lt;P&gt;                                 EXDAT = DOC_DT.&lt;/P&gt;&lt;P&gt;    PERFORM WRITE_FORM USING 'MAIN' 'ITEM_VALUES' 'SET'.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;  PERFORM WRITE_FORM USING 'MAIN' 'DASH_LINE' 'SET'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;at the end i want to add the amount and then print .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;  zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 08:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550157#M1429419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T08:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Code to get total amount from the attach coe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550158#M1429420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Can u help on this,  i am new to abap and in this code as the  all filed is selected from table J_1IEXCDTL  but there is no into so for adding all the amount to calculate the sum i am not getting where to do loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt; zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550158#M1429420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T09:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Code to get total amount from the attach coe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550159#M1429421</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;Inbetween select and endselect add all the amount fields and pass it to one global variable.Pass the total field to form to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550159#M1429421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T09:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code to get total amount from the attach coe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550160#M1429422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Can i  do as below&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt; SELECT * FROM J_1IEXCDTL WHERE EXNUM = DOC_NO AND&lt;/P&gt;&lt;P&gt;                                                              EXDAT = DOC_DT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SUM  = SUM +  J_1IEXCDTL-DMBTR                &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PERFORM WRITE_FORM USING 'MAIN' 'ITEM_VALUES' 'SET'.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; THEN IN SUM WILL I GET THE TOTAL AMOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;  zafar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550160#M1429422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T09:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code to get total amount from the attach coe</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550161#M1429423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you will get the sum as it is in loop.Test it once?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 09:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-get-total-amount-from-the-attach-coe/m-p/6550161#M1429423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T09:32:27Z</dc:date>
    </item>
  </channel>
</rss>

