<?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 Conditional Page call in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754020#M1774531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a smartform with 2 pages.&lt;/P&gt;&lt;P&gt;i want to get the either of the page get called conditionally..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if material number starts with 11 the page 1 should get called&lt;/P&gt;&lt;P&gt; and if material number gets starts with 31 then page 2 should get called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 05:31:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-14T05:31:59Z</dc:date>
    <item>
      <title>Conditional Page call in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754020#M1774531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a smartform with 2 pages.&lt;/P&gt;&lt;P&gt;i want to get the either of the page get called conditionally..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if material number starts with 11 the page 1 should get called&lt;/P&gt;&lt;P&gt; and if material number gets starts with 31 then page 2 should get called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 05:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754020#M1774531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-14T05:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Page call in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754021#M1774532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your 2 layouts don't differ that much try using the conditions tab for your layout objects. Maybe it will suffice.&lt;/P&gt;&lt;P&gt;If not you could create 2 separate smartforms and choose in the printing program which one to call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Andreea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 15:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754021#M1774532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-14T15:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Page call in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754022#M1774533</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 not tried it personally but I can see that parameter &lt;/P&gt;&lt;P&gt;control_parameters which is based on structure&amp;nbsp; ssfctrlop Contain a field STARTPAGE .&lt;/P&gt;&lt;P&gt;So the logic is in the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 16:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754022#M1774533</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2013-10-14T16:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Page call in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754023#M1774534</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;One question, will the two pages be identical in terms of format? I mean to say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Page 1 - Contains data MATNR starting by 11&lt;/P&gt;&lt;P&gt;Page 1 - Contains data MATNR starting by 31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you should be having one Main Window, with two tables and corresponding condition criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;Table 1: Loop on IT_DATA into GS_DATA&lt;/P&gt;&lt;P&gt;Condition Tab will be: GS_DATA-MATNR(2) = '11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2: Loop on IT_DATA into GS_DATA&lt;/P&gt;&lt;P&gt;Condition Tab will be: GS_DATA-MATNR(2) = '31'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This applies only if you need exactly the same data for both MATNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, if you need different things on each page, then two smartforms are more appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 08:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754023#M1774534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-15T08:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Page call in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754024#M1774535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a 2 page smartform and In each page there is a single text field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/298100" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the STARTPAGE in CONTROL_PARAMETERS &lt;/P&gt;&lt;P&gt;&amp;nbsp; with "PAGE_TYPE_1" or "PAGE_TYPE_2" I am getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/298101" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/298102" height="247" width="321" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/298104" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/298105" height="211" width="365" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 09:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-page-call-in-smartforms/m-p/9754024#M1774535</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2013-10-15T09:28:37Z</dc:date>
    </item>
  </channel>
</rss>

