<?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: hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623074#M872837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU SO MUCH Mr ABHI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 May 2008 07:25:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-03T07:25:05Z</dc:date>
    <item>
      <title>hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623072#M872835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In purchaseorder  script i have done like for each line item &lt;/P&gt;&lt;P&gt;  what ever the tax values are there that is comming below the lineitem.I did the coding in the &lt;STRONG&gt;me_print_po&lt;/STRONG&gt; itself &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: i have copied the FM into ZFM the did the changes.&lt;/P&gt;&lt;P&gt;         script also copied from medruck.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt; But I wanted to print all the line items and total for the lineitem.&lt;/P&gt;&lt;P&gt; then all tax values: addition of each lineitem taxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    then grand total = lineitem total + tax value total&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reply me very fast .......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 17:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623072#M872835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623073#M872836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Fren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try for a Perform in the SCRIPT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the Subroutine in the Script using Control Statement  ' PERFORM ' and pass the parameters lineitem, tax_value_total and grand_total as shown follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*/:*  PERFORM add_total USING lineitem_total 
                                                 tax_value_total
                               CHANGING grand_total
        
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Subroutine is to be written in the Print Program or the Driver Program for the Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before, Just check for clearing the totals at proper places if it is called in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*me_print_po*

FORM add_total USING lineitem_total
                                    tax_value_total
                      CHANGING grand_total.

grand_total = tax_value_total + lineitem.
    
ENDFORM.                                               " add_total&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 18:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623073#M872836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T18:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623074#M872837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU SO MUCH Mr ABHI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2008 07:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3623074#M872837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-03T07:25:05Z</dc:date>
    </item>
  </channel>
</rss>

