<?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 Smartforms Multiple Page Printing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942660#M63512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I know this could be regular posting from others but it seems that i can't any solutions around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is about printing multiple copies from Billing Document at a time. What user requested was to have the word "Original" in the first copy and the subsequent copies will have the word "COPY". i know that this can be done in SAPScript by modifying the print program but how about Smartforms???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried NAST (IS_NAST) table as passed by smartform but the field ANZAL seemed to return '2' when i need 2 copies. How do i know when is printing the first copy and when is printing the subsequent copies? any status from any tables indicating i am printing the first or the subsequent copies? Tried NACH but it didn't help much neither.... &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!!!!! Thanks a lot....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2005 07:17:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-22T07:17:02Z</dc:date>
    <item>
      <title>Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942660#M63512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I know this could be regular posting from others but it seems that i can't any solutions around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is about printing multiple copies from Billing Document at a time. What user requested was to have the word "Original" in the first copy and the subsequent copies will have the word "COPY". i know that this can be done in SAPScript by modifying the print program but how about Smartforms???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried NAST (IS_NAST) table as passed by smartform but the field ANZAL seemed to return '2' when i need 2 copies. How do i know when is printing the first copy and when is printing the subsequent copies? any status from any tables indicating i am printing the first or the subsequent copies? Tried NACH but it didn't help much neither.... &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!!!!! Thanks a lot....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942660#M63512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942661#M63513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give a parameter to your SmartForm function module, and in this parameter just set a flag to know if this the first page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Smartform, you just have to check the value of the parameter and if the value equal X you set  'ORIGINAL'.&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;&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942661#M63513</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-08-22T07:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942662#M63514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frédéric,&lt;/P&gt;&lt;P&gt;It seems abit tough to understand it technically, how can i create the parameter for the FM? are you able to show some examples to me as i not quite familiar with smartform. Thanks a lot for the trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942662#M63514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T07:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942663#M63515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so  transaction SMARTFORMS&lt;/P&gt;&lt;P&gt;set the name, press CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Form Interface (in the tree)&lt;/P&gt;&lt;P&gt;You are in the Import parameter, you have to create one import parameter. Choose a name for example WV_TYPE, with assignment TYPE and reference CHAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this just generate the function module. &lt;/P&gt;&lt;P&gt;And now, when you will show the new function module you have the WV_TYPE parameter that is present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the Text_Element or anything else you just have to set in the Conditions the test  WV_TYPE = 'X'   to display this Text_Element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's clear (sorry for my english)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frederic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 07:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942663#M63515</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-08-22T07:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942664#M63516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;You are certainly quick in replying the thread. Your post is very detail as well. i did try but when i tried to print the second message (2nd copy) it just go back to normal, even i set 'X' in the variable. if we are printing multiple pages then is ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942664#M63516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T08:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942665#M63517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution that I gived to you, just work with multiple printing. If you want that system remember that you have already print the document, you have to check that the message type for the document number already exist in the NAST table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942665#M63517</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2005-08-22T08:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Multiple Page Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942666#M63518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; for the current page number &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES&amp;amp; for the total number of pages in the form &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-JOBPAGE&amp;amp; for the total number fo pages in all forms in the print job&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2005 08:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-multiple-page-printing/m-p/942666#M63518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-22T08:34:17Z</dc:date>
    </item>
  </channel>
</rss>

