<?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 - Print different windows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085908#M1813360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You may have to pass a variable to the Smartforms from the print program , say x.&lt;/P&gt;&lt;P&gt;and populate it by a,b, c respectively when you click on the radio buttons a, b,c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a window in the footer&amp;nbsp; and create 3 texts to display the text lines for a&amp;nbsp; b&amp;nbsp; and c ..and in the condition tab check for X = a or b or c and print accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not just texts ...you can create 3 windows also with same co ordinates and properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnaks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 07:09:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-06T07:09:46Z</dc:date>
    <item>
      <title>Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085907#M1813359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a smartforms certificate with 3 different footer „types“ and my program. In the footer there is just some text included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program, when I&amp;nbsp; click the the radio button ‚a‘ it should print the ‚a‘ footer from the smartforms.&lt;/P&gt;&lt;P&gt;When I click ‚b‘ in my transaction, it should print ‚b‘ and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, how can I implement the check in my program/transaction or how can i get my program to print the various footer's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully you can help me!&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085907#M1813359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-06T07:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085908#M1813360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You may have to pass a variable to the Smartforms from the print program , say x.&lt;/P&gt;&lt;P&gt;and populate it by a,b, c respectively when you click on the radio buttons a, b,c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a window in the footer&amp;nbsp; and create 3 texts to display the text lines for a&amp;nbsp; b&amp;nbsp; and c ..and in the condition tab check for X = a or b or c and print accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not just texts ...you can create 3 windows also with same co ordinates and properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnaks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085908#M1813360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-06T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085909#M1813361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gluck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;In you program Create a variable (flag) and pass it values when radio button is clicked, like&lt;/P&gt;&lt;P&gt;RADa - Radio button A&lt;/P&gt;&lt;P&gt;RADb - Radio button B&lt;/P&gt;&lt;P&gt;RADc - Radio button C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when RADa = X.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "when radiobutton A is clicked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag = A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when RADB = X.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "when radiobutton B is clicked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag = B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when RADC = X.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "when radiobutton C is clicked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flag = C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then pass the flag variable in form interface to the form in one of the exporting parameters,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In form INITIALIZATION put a simple IF statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF flag = A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; footer_text = "text1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSEIF flag = B.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; footer_text = "text2".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSEIF flag = C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; footer_text = "text3".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Coding,&lt;/P&gt;&lt;P&gt;Santhosh Yadav&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085909#M1813361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-06T07:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085910#M1813362</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;You create a Footer window and three different templates for three different footers in it. Now pass the Radio button value from program to smartform through Form Interface and place condition on the three different templates in CONDITIONS tab of template in Footer window. Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF VAR = 'A' for TEMPLATE A.&lt;/P&gt;&lt;P&gt;IF VAR = 'B' for TEMPLATE B&lt;/P&gt;&lt;P&gt;IF VAR = 'C' for TEMPLATE C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will workout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085910#M1813362</guid>
      <dc:creator>VijayaKrishnaG</dc:creator>
      <dc:date>2014-02-06T07:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085911#M1813363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thank you all for you'r fast response!&lt;/P&gt;&lt;P&gt;I'll try to make it work when i have time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085911#M1813363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-06T07:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085912#M1813364</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;First you declare variables in smaforms in global delcarion part and pass your input(radio button inputs) to that smartforms and then you can create window for footer and put condition in window based on above inputs got from program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create different text for different footer texts then put condition based on inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085912#M1813364</guid>
      <dc:creator>former_member821147</dc:creator>
      <dc:date>2014-02-06T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms - Print different windows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085913#M1813365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable&lt;/P&gt;&lt;P&gt;Flag type char1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;FLAG = 'X'.&lt;/P&gt;&lt;P&gt;elseif p_rad2 = 'X'.&lt;/P&gt;&lt;P&gt;FLAG = 'X'.&lt;/P&gt;&lt;P&gt;elseif p_rad3 = 'X'.&lt;/P&gt;&lt;P&gt;FLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in condition tab of text&lt;/P&gt;&lt;P&gt;pass the value&lt;/P&gt;&lt;P&gt;flag = 'x'.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="p0"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/381259" /&gt;&lt;/P&gt;&lt;P class="p0"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p0"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman';"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p0"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman';"&gt;Ranjit Kumar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 07:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-different-windows/m-p/10085913#M1813365</guid>
      <dc:creator>former_member212148</dc:creator>
      <dc:date>2014-02-06T07:46:44Z</dc:date>
    </item>
  </channel>
</rss>

