<?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: IF statement in SMARTFORMS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299706#M158035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;YOU HAVE TO GIVE THIS CODE BY CREATING A PROGRAM LINE NODE IN THE TEXT ELEMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF YOU GIVE THIS IN THE TEXT ELEMENT IT WONT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2006 07:35:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-25T07:35:43Z</dc:date>
    <item>
      <title>IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299705#M158034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;My IF statement dosnt seems to work in smartforms.I have the following code in window-text element .&lt;/P&gt;&lt;P&gt;if &amp;amp;adrc-name1&amp;amp; ne ' '.&lt;/P&gt;&lt;P&gt;&amp;amp;adrc-name1&amp;amp;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if &amp;amp;adrc-name2 ne ' '.&lt;/P&gt;&lt;P&gt;&amp;amp;adrc-name2&amp;amp;&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;But still its creating the blank lines on script output.I cannot use the Condition tab as im using much code inside this text element. Any suggestion on How to use the IF condition INSIDE the Smartforms to avoid the blank lines of address to be generated on the output.&lt;/P&gt;&lt;P&gt;Thanks for your augegstion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 07:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299705#M158034</guid>
      <dc:creator>dp_prasad</dc:creator>
      <dc:date>2006-05-25T07:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299706#M158035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;YOU HAVE TO GIVE THIS CODE BY CREATING A PROGRAM LINE NODE IN THE TEXT ELEMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF YOU GIVE THIS IN THE TEXT ELEMENT IT WONT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 07:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299706#M158035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T07:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299707#M158036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the Reply. How can i restrict a field from generating a blank line in the program lines.? ( i have already tried this ...i have around 12 fields to be cheked for blank values...if they have a blank value i dont want to print those blank lines on the output.).&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 07:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299707#M158036</guid>
      <dc:creator>dp_prasad</dc:creator>
      <dc:date>2006-05-25T07:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299708#M158037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SMART Forms you should use the ADDRESS OBJECT, rather than trying to print the address manually. It will take care of the blank lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 08:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299708#M158037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T08:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299709#M158038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not want to use ADDRESS..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use CONDITION tab of the text..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 2 texts.. ADD1-&amp;gt; one which contains NAME1 but not NAME2 and the other one ADD2  which contains NAME2 but not NAME1 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now.. click on the text ADD1 .. Go to conditions tab.. give the fieldname as NAME2 Choose '=' in the Relational Operator.. SPACE&lt;/P&gt;&lt;P&gt;DO the same for the second text also..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 08:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299709#M158038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T08:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299710#M158039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When ur writing the test elemnent in the condition give the initial condition check, this will work similar to the IF statemnet as u have designed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 08:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299710#M158039</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-05-25T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299711#M158040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any option 'NO-BLANK lines allowed' tied to pARAGRAPH FORMAT..? I saw this this in the dispaly mode.But i couldnt see this in the smart styles..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 09:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299711#M158040</guid>
      <dc:creator>dp_prasad</dc:creator>
      <dc:date>2006-05-25T09:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299712#M158041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any such option.&lt;/P&gt;&lt;P&gt;did you try using the address object that I mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2006 09:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299712#M158041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-25T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299713#M158042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but it prints in the standard format. but i want only few columns .is there any way to cutomise this address options..?( i selected organization address).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 03:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299713#M158042</guid>
      <dc:creator>dp_prasad</dc:creator>
      <dc:date>2006-05-26T03:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299714#M158043</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;Inside the Address Window-&amp;gt; create-&amp;gt;Flowlogic-&amp;gt;Alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative:ADRC&lt;/P&gt;&lt;P&gt;Description: &amp;lt;&amp;gt;SPACE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General Attributes:&lt;/P&gt;&lt;P&gt;Field name&lt;/P&gt;&lt;P&gt;ADRC-NAME1   notequal to SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the true condition:&lt;/P&gt;&lt;P&gt;&amp;amp;adrc-name1&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the false condition:&lt;/P&gt;&lt;P&gt;&amp;amp;adrc-name2&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is your requirement. Let me know if this works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use programming lines to put in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 03:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299714#M158043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T03:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement in SMARTFORMS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299715#M158044</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;In the Address object did you try specifying the no. of lines of address to be specified. The field is a part of the  Additional Address specifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;P.S: Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 03:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-in-smartforms/m-p/1299715#M158044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T03:54:12Z</dc:date>
    </item>
  </channel>
</rss>

