<?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: DEFINE statement not working well in script between IF...ENDIF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165575#M1907829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuvarshini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with your suggestion's but its not working, That value not assiging into variable.&lt;/P&gt;&lt;P&gt;Please suggest some other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 12:59:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-25T12:59:30Z</dc:date>
    <item>
      <title>DEFINE statement not working well in script between IF...ENDIF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165573#M1907827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have used Define statement in script for data assign to variable, But i need to use inside IF...ENDIF statement, So its its not assigning or Clearing also.Anyone can suggest how to use DEFINE statement in between IF...ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Earlier i have used many times its worked fine but below mentioned logic why its not working fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp;&amp;nbsp; IF &amp;amp;T_ITEMS-LABEL_REQ&amp;amp; NE ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;CL ,,,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;&amp;lt;B6&amp;gt;&amp;amp;T_ITEMS-LABEL_REQ&amp;amp;&amp;lt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp; DEFINE &amp;amp;GV5&amp;amp; = 'LIQ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;This LIQ i want to assign in variable GV5 variable, this variable datatype is CHAR3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Anybody can help&amp;nbsp; me&amp;nbsp; for this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 10:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165573#M1907827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-25T10:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: DEFINE statement not working well in script between IF...ENDIF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165574#M1907828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can write the code in the script&amp;nbsp; this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp; DEFINE &amp;amp;GV5&amp;amp; = ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp;&amp;nbsp; IF &amp;amp;T_ITEMS-LABEL_REQ&amp;amp; NE ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;CL ,,,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;,,&amp;lt;B2&amp;gt;|&amp;lt;/&amp;gt;&amp;lt;B6&amp;gt;&amp;amp;T_ITEMS-LABEL_REQ&amp;amp;&amp;lt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/: &amp;amp;GV5&amp;amp; = 'LIQ'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/:&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;First define the variable and within IF condition you can assign it to the value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;H.Anuvarshini&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 10:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165574#M1907828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-25T10:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: DEFINE statement not working well in script between IF...ENDIF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165575#M1907829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuvarshini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with your suggestion's but its not working, That value not assiging into variable.&lt;/P&gt;&lt;P&gt;Please suggest some other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 12:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/define-statement-not-working-well-in-script-between-if-endif/m-p/11165575#M1907829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-25T12:59:30Z</dc:date>
    </item>
  </channel>
</rss>

