<?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 print preview in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289667#M154960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Iam working on smartforms.&lt;/P&gt;&lt;P&gt;How can i find out &amp;lt;b&amp;gt;sy-ucomm&amp;lt;/b&amp;gt; for the PRINT &amp;amp; PRINTPRIVIEW buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do something in SE38 using this window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user user clicks PRINT button&lt;/P&gt;&lt;P&gt;...do something&lt;/P&gt;&lt;P&gt;else if click PRINTPRIVEW &lt;/P&gt;&lt;P&gt;... do something..&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the better approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2006 05:59:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-13T05:59:17Z</dc:date>
    <item>
      <title>smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289667#M154960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Iam working on smartforms.&lt;/P&gt;&lt;P&gt;How can i find out &amp;lt;b&amp;gt;sy-ucomm&amp;lt;/b&amp;gt; for the PRINT &amp;amp; PRINTPRIVIEW buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do something in SE38 using this window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user user clicks PRINT button&lt;/P&gt;&lt;P&gt;...do something&lt;/P&gt;&lt;P&gt;else if click PRINTPRIVEW &lt;/P&gt;&lt;P&gt;... do something..&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the better approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 05:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289667#M154960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T05:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289668#M154961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put a break-point in initial part of my program to find out the sy-ucomm. For Print Preview, the value is 'PREV' and for Print , the value is 'PRNT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this has helped you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 06:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289668#M154961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T06:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289669#M154962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u execute the smartform u get the function module for the corresponding smartform in that u can use the  job_output_options parameter for your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 06:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289669#M154962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T06:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289670#M154963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Print Preview sy-ucomm = 'PREV'&lt;/P&gt;&lt;P&gt;Print sy-ucomm = 'PRNT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 06:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289670#M154963</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-03-13T06:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289671#M154964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;When user clicks Print button on print privew window ,&lt;/P&gt;&lt;P&gt;i want to insert some values in Ztable.&lt;/P&gt;&lt;P&gt;How to capture this print button?&lt;/P&gt;&lt;P&gt;Can any one explain me briefly....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 06:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289671#M154964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T06:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289672#M154965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I have earlier said, the Function Code of Print Button in Print Preview Window is 'PRNT'.&lt;/P&gt;&lt;P&gt;Your requirement says when you click on Print button, some values have to be inserted into the Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Print Preview Window comes after executing the Function Module SSF_FUNCTION_MODULE_NAME. So after calling the Function Module, just write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case SY-UCOMM.&lt;/P&gt;&lt;P&gt;when 'PRNT'.&lt;/P&gt;&lt;P&gt;*write your code for inserting in the Ztable&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope your requirement is satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2006 09:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1289672#M154965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-13T09:34:58Z</dc:date>
    </item>
  </channel>
</rss>

