<?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: Regarding SAP Scripts Total Printing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180498#M125646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use WRITE_FORM for total after u loop through all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use the same window MAIN.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab. &lt;/P&gt;&lt;P&gt;*do the total of records here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            element                  = 'ITEM_TOTAL'&lt;/P&gt;&lt;P&gt;            window                   = 'MAIN'&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            element                  = 1&lt;/P&gt;&lt;P&gt;            function                 = 2&lt;/P&gt;&lt;P&gt;            type                     = 3&lt;/P&gt;&lt;P&gt;            unopened                 = 4&lt;/P&gt;&lt;P&gt;            unstarted                = 5&lt;/P&gt;&lt;P&gt;            window                   = 6&lt;/P&gt;&lt;P&gt;            bad_pageformat_for_print = 7&lt;/P&gt;&lt;P&gt;            others                   = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2006 11:18:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-22T11:18:27Z</dc:date>
    <item>
      <title>Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180496#M125644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a issue regarding SAP Scripts Total Printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual issue is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Item data to be printed in my page all those item data we need to print in columns&amp;amp;rows in Frame, that data may carry to no of pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is when all the records are printed then i need to print total below it for some fields also some&lt;/P&gt;&lt;P&gt;NOTE: i have to provide below total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me how can i solve above issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;When records not available Total is printing below Header not in the specified row.&lt;/P&gt;&lt;P&gt;If more rows are available it is printing in diffrent place.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make Total to be printed in exactly below all rows what i need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me out for solving this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180496#M125644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180497#M125645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. write the total &lt;/P&gt;&lt;P&gt;  in a text element (separate from item element)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then in your driver program,&lt;/P&gt;&lt;P&gt;   after printing all the items (using text elements)&lt;/P&gt;&lt;P&gt;   one by one,&lt;/P&gt;&lt;P&gt;   after the loop is  over,&lt;/P&gt;&lt;P&gt;   write code to print the text element for TOTALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180497#M125645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180498#M125646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use WRITE_FORM for total after u loop through all the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use the same window MAIN.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab. &lt;/P&gt;&lt;P&gt;*do the total of records here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            element                  = 'ITEM_TOTAL'&lt;/P&gt;&lt;P&gt;            window                   = 'MAIN'&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            element                  = 1&lt;/P&gt;&lt;P&gt;            function                 = 2&lt;/P&gt;&lt;P&gt;            type                     = 3&lt;/P&gt;&lt;P&gt;            unopened                 = 4&lt;/P&gt;&lt;P&gt;            unstarted                = 5&lt;/P&gt;&lt;P&gt;            window                   = 6&lt;/P&gt;&lt;P&gt;            bad_pageformat_for_print = 7&lt;/P&gt;&lt;P&gt;            others                   = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180498#M125646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180499#M125647</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 have done it in the way you have specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But because All items inside a Frame and in boxes.&lt;/P&gt;&lt;P&gt;I am not able to print Total in exact place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u take one example in excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am printing        &amp;lt;b&amp;gt;Item No    Description Quantity&amp;lt;/b&amp;gt; as 3 cloumns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i might have &amp;lt;b&amp;gt;1/5/10/No&amp;lt;/b&amp;gt; rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case &amp;lt;b&amp;gt;Total&amp;lt;/b&amp;gt; should come below Description Column and below &amp;lt;b&amp;gt;Quantity&amp;lt;/b&amp;gt; total should be displayed.&lt;/P&gt;&lt;P&gt;but remember Total is also in box same way as all items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i should be able to print Total at 2/6/11/after header in Box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of excel just think of &amp;lt;b&amp;gt;Columns&amp;amp; Rows/Boxes&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any body have the solution please reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180499#M125647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180500#M125648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Shahik,&lt;/P&gt;&lt;P&gt; 1.Write a new text element ..&lt;/P&gt;&lt;P&gt;  eg. /E Total in your  SAPScript.&lt;/P&gt;&lt;P&gt; And in the program..&lt;/P&gt;&lt;P&gt; call it in &lt;/P&gt;&lt;P&gt;  LOOP AT ..&lt;/P&gt;&lt;P&gt;   AT LAST.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'WRITE_FORM'.&lt;/P&gt;&lt;P&gt;     EXPORTING &lt;/P&gt;&lt;P&gt;       ........&lt;/P&gt;&lt;P&gt;       ELEMENTS = 'TOTAL'&lt;/P&gt;&lt;P&gt;   ENDAT.&lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180500#M125648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180501#M125649</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;Thanks for those replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in that case also Total &amp;amp; its values are displayed in seperate line and box in other lines which is actually meant for Total &amp;amp; its values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is varying depending upon no of rows[Items] for that Output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the actual issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180501#M125649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180502#M125650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to use tabs in the script so that u can print them as u like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180502#M125650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180503#M125651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the script use rhe element name&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;/tot&lt;/P&gt;&lt;P&gt;use the same element tot in the write form when u want to print the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the script :&lt;/P&gt;&lt;P&gt;/: &amp;amp;f1&amp;amp; &amp;amp;f2&amp;amp; &amp;amp;f3&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/e tot&lt;/P&gt;&lt;P&gt;/: &amp;amp;f_total&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180503#M125651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180504#M125652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why can't u create another window (ie) footer window to display the totals............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;AT LAST.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ELEMENT                        = 'FOOTER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FUNCTION                       = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TYPE                           = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WINDOW                         = 'FOOTER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PENDING_LINES                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ELEMENT                        = 1&lt;/P&gt;&lt;P&gt;    FUNCTION                       = 2&lt;/P&gt;&lt;P&gt;    TYPE                           = 3&lt;/P&gt;&lt;P&gt;    UNOPENED                       = 4&lt;/P&gt;&lt;P&gt;    UNSTARTED                      = 5&lt;/P&gt;&lt;P&gt;    WINDOW                         = 6&lt;/P&gt;&lt;P&gt;    BAD_PAGEFORMAT_FOR_PRINT       = 7&lt;/P&gt;&lt;P&gt;    SPOOL_ERROR                    = 8&lt;/P&gt;&lt;P&gt;    CODEPAGE                       = 9&lt;/P&gt;&lt;P&gt;    OTHERS                         = 10&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt; IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180504#M125652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Scripts Total Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180505#M125653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab. &lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;element = 'ITEMs'&lt;/P&gt;&lt;P&gt;window = 'MAIN'&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;element = 1&lt;/P&gt;&lt;P&gt;function = 2&lt;/P&gt;&lt;P&gt;type = 3&lt;/P&gt;&lt;P&gt;unopened = 4&lt;/P&gt;&lt;P&gt;unstarted = 5&lt;/P&gt;&lt;P&gt;window = 6&lt;/P&gt;&lt;P&gt;bad_pageformat_for_print = 7&lt;/P&gt;&lt;P&gt;others = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;element = 'ITEM_TOTAL'&lt;/P&gt;&lt;P&gt;window = 'MAIN'&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;element = 1&lt;/P&gt;&lt;P&gt;function = 2&lt;/P&gt;&lt;P&gt;type = 3&lt;/P&gt;&lt;P&gt;unopened = 4&lt;/P&gt;&lt;P&gt;unstarted = 5&lt;/P&gt;&lt;P&gt;window = 6&lt;/P&gt;&lt;P&gt;bad_pageformat_for_print = 7&lt;/P&gt;&lt;P&gt;others = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script main window use those elements :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E items&lt;/P&gt;&lt;P&gt;*print ur items&lt;/P&gt;&lt;P&gt;/eE item_total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 11:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-scripts-total-printing/m-p/1180505#M125653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-22T11:44:23Z</dc:date>
    </item>
  </channel>
</rss>

