<?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: HOW TO WRITE MULTI LINE IF CONDITION IN SCRIPT EDITIOR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409126#M1242130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Its advisable to make entire calculation in se38 under subrountine, which should be called in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax in a form window: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt; &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR1&amp;amp; &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR2&amp;amp; &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR1&amp;amp; &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR2&amp;amp; &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;/: ENDPERFORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding of the calling ABAP program: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT XXXXX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;XXXX&amp;gt;  TABLES IN_PAR STUCTURE ITCSY &lt;/P&gt;&lt;P&gt;                      OUT_PAR STRUCTURE ITCSY. &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2009 12:34:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-30T12:34:40Z</dc:date>
    <item>
      <title>HOW TO WRITE MULTI LINE IF CONDITION IN SCRIPT EDITIOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409124#M1242128</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 a IF condition like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   IF bwart = '301' and bwart = '303' and bwart = '304' and bwart = '305' and bwart = '306'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ----&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ----&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;/:   endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this , I have many AND conditions in the IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But , In Script Editor , It is allowing only 72 characters.&lt;/P&gt;&lt;P&gt;I extended this SHIFT-F8 to get more characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even, My IF condition is not fitting in one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write this IF in Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 12:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409124#M1242128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T12:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO WRITE MULTI LINE IF CONDITION IN SCRIPT EDITIOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409125#M1242129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do two times, otherwise write a perform and do all the necessary coding in that and send back the required value to script editor. This is better to understand and for future changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 12:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409125#M1242129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T12:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO WRITE MULTI LINE IF CONDITION IN SCRIPT EDITIOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409126#M1242130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Its advisable to make entire calculation in se38 under subrountine, which should be called in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax in a form window: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt; &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR1&amp;amp; &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;INVAR2&amp;amp; &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR1&amp;amp; &lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;OUTVAR2&amp;amp; &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;/: ENDPERFORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding of the calling ABAP program: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT XXXXX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;XXXX&amp;gt;  TABLES IN_PAR STUCTURE ITCSY &lt;/P&gt;&lt;P&gt;                      OUT_PAR STRUCTURE ITCSY. &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 12:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-multi-line-if-condition-in-script-editior/m-p/5409126#M1242130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-30T12:34:40Z</dc:date>
    </item>
  </channel>
</rss>

