<?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: SMARTFORMS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214359#M766422</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;U should control wich copy is being printed and so decide which text to be printed in the footer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can know the number of copy driving the call of your smartforms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 10 TIMES.&lt;/P&gt;&lt;P&gt;" ---&amp;gt; Here SY-INDEX can indicate which copy is beeing elaborated&lt;/P&gt;&lt;P&gt;  CALL FUNCTION &amp;lt;SMARTFORMS&amp;gt;&lt;/P&gt;&lt;P&gt;  ....................&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR ELSE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for 4 times ,try for 10 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable as follows in your print program.&lt;/P&gt;&lt;P&gt;Data: struct_output_opt LIKE ssfcompop. "Output Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this structure set TDCOPIES = 4. (no. of copies)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And before you call the Smartform FM:&lt;/P&gt;&lt;P&gt;pass this structure to the parameter - OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the Smartform, in your footer, check the page no. If sy-pagno = 1 or sy-pagno = 2, then prnt the text: 'Bank Copy', if sy-pagno = 3 , print 'Co-ordinator Copy' and if sy-pagno = 4 print 'Company Copy'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chandra Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2007 12:29:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-11T12:29:24Z</dc:date>
    <item>
      <title>SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214356#M766419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;i am practicing on SMARTFORMS.&lt;/P&gt;&lt;P&gt;i want to print same window 10 times in same page.&lt;/P&gt;&lt;P&gt;i mean when i click on the Print priview,it shows all the 10 windows on the same page.&lt;/P&gt;&lt;P&gt;can u plz help me out.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 05:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214356#M766419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T05:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214357#M766420</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;do you want to create the window dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 10:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214357#M766420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T10:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214358#M766421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandu,&lt;/P&gt;&lt;P&gt;you can use loop with program lines (for looping flag condition)  in your smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maharshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 12:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214358#M766421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T12:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214359#M766422</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;U should control wich copy is being printed and so decide which text to be printed in the footer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can know the number of copy driving the call of your smartforms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 10 TIMES.&lt;/P&gt;&lt;P&gt;" ---&amp;gt; Here SY-INDEX can indicate which copy is beeing elaborated&lt;/P&gt;&lt;P&gt;  CALL FUNCTION &amp;lt;SMARTFORMS&amp;gt;&lt;/P&gt;&lt;P&gt;  ....................&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR ELSE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for 4 times ,try for 10 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable as follows in your print program.&lt;/P&gt;&lt;P&gt;Data: struct_output_opt LIKE ssfcompop. "Output Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this structure set TDCOPIES = 4. (no. of copies)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And before you call the Smartform FM:&lt;/P&gt;&lt;P&gt;pass this structure to the parameter - OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the Smartform, in your footer, check the page no. If sy-pagno = 1 or sy-pagno = 2, then prnt the text: 'Bank Copy', if sy-pagno = 3 , print 'Co-ordinator Copy' and if sy-pagno = 4 print 'Company Copy'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chandra Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 12:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/3214359#M766422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T12:29:24Z</dc:date>
    </item>
  </channel>
</rss>

