<?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: smartform condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689971#M2017575</link>
    <description>&lt;P&gt;X2 and ZX is character format&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 10:05:19 GMT</pubDate>
    <dc:creator>AJeB</dc:creator>
    <dc:date>2022-12-21T10:05:19Z</dc:date>
    <item>
      <title>smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689968#M2017572</link>
      <description>&lt;P&gt;how to change the fontsize of smartform output text depends on variable&lt;BR /&gt;&lt;BR /&gt;i tried this one but not working&lt;BR /&gt;ZX fontsize is 6pt&lt;BR /&gt;X2 fontsize is 9pt&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2123694-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689968#M2017572</guid>
      <dc:creator>AJeB</dc:creator>
      <dc:date>2022-12-21T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689969#M2017573</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Deleting my answer as the issue is about your IF, and my answer is about SAPScript.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Plain wrong: You did it correctly. But of course, how you did it, ZX and X2 must be "character formats", and not "paragraph formats" (paragraph formats can be used instead of star character on the left).&lt;/P&gt;&lt;P&gt;Plain wrong: But there may be a "font substitution" (A.K.A. "font conversion"), based on the font family you have selected and the fonts which are supported by the output device type (or by your Windows laptop if it's print preview). It's discussed in the forum. There is a function in SE73 to see the effects of font conversion for a given output device type. I think there are also some SAP notes which describes the different logic which operates in the print preview.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689969#M2017573</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-12-21T08:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689970#M2017574</link>
      <description>&lt;P&gt;This is the SAPScript method, not the smartforms method ... &lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689970#M2017574</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-12-21T08:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689971#M2017575</link>
      <description>&lt;P&gt;X2 and ZX is character format&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 10:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689971#M2017575</guid>
      <dc:creator>AJeB</dc:creator>
      <dc:date>2022-12-21T10:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689972#M2017576</link>
      <description>&lt;P&gt;Such commands - preceided by characters &lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/STRONG&gt; (like &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IF &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; ELSE, etc.) - do not work in Smartforms at all. &lt;/P&gt;&lt;P&gt;Instead you can put a condition in the specific node of a form, for example in a text node. You can define it in a "Conditions" tab. If you define a condition, then the node will be output only if the condition is satisfied.&lt;/P&gt;&lt;P&gt;So you can define two text nodes in your smartforms tree, both containing the same text, but each one with its own formatting/font size - and each one with its own condition, opposite to each other.&lt;/P&gt;&lt;P&gt;Or instead: you can create a node that itself functions as an "if" command (context menu: Create-&amp;gt; Flow Logic-&amp;gt; Alternative). Then you define only one condition: in the "General attributes" of the "Alternative" node.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 16:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689972#M2017576</guid>
      <dc:creator>Maciej_DomagaBa</dc:creator>
      <dc:date>2022-12-21T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689973#M2017577</link>
      <description>&lt;P&gt;If you test without /: condition, only using, does it work?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*  &amp;lt;ZX&amp;gt;test font 6pt&amp;lt;/&amp;gt;
*  &amp;lt;X2&amp;gt;test font 9pt&amp;lt;/&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If it works, then the problem is about using /: in Smart Forms. It works only in SAPScript.&lt;/P&gt;&lt;P&gt;If it doesn't work, see my "plain wrong" answer.&lt;/P&gt;&lt;P&gt;Simple as that.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 17:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689973#M2017577</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-12-21T17:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689974#M2017578</link>
      <description>&lt;P&gt;do you have a links / blogs about this?&lt;BR /&gt;&lt;BR /&gt;i dont know how to do this&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 00:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689974#M2017578</guid>
      <dc:creator>AJeB</dc:creator>
      <dc:date>2022-12-22T00:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: smartform condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689975#M2017579</link>
      <description>&lt;P&gt;There is a documentation for Smartforms at help.sap.com, for example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/SAP_NETWEAVER_750/e0ef07e1f76b4370b1baa502eace5ece/4e5dcbe819a14dabe10000000a42189b.html?locale=en-US" target="_blank"&gt;Node Types&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/SAP_NETWEAVER_750/e0ef07e1f76b4370b1baa502eace5ece/4e5bfa145b5e4daee10000000a42189b.html?locale=en-US" target="_blank"&gt;Attributes of the Node Types&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 10:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-condition/m-p/12689975#M2017579</guid>
      <dc:creator>Maciej_DomagaBa</dc:creator>
      <dc:date>2022-12-22T10:02:15Z</dc:date>
    </item>
  </channel>
</rss>

