<?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 or in brackets in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801121#M1311677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to ask if one of the field is initial do the below codeing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do so in abap &lt;STRONG&gt;withou&lt;/STRONG&gt;t ask after every field if it initial ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( &amp;lt;lf_de&amp;gt;-date_ft OR &amp;lt;lf_de&amp;gt;-num_ft OR &amp;lt;lf_de&amp;gt;-langu OR &amp;lt;lf_de&amp;gt;-tzone ) IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the follwing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the short way to write it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nina C on Jul 1, 2009 4:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2009 14:02:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-01T14:02:14Z</dc:date>
    <item>
      <title>or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801121#M1311677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to ask if one of the field is initial do the below codeing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do so in abap &lt;STRONG&gt;withou&lt;/STRONG&gt;t ask after every field if it initial ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( &amp;lt;lf_de&amp;gt;-date_ft OR &amp;lt;lf_de&amp;gt;-num_ft OR &amp;lt;lf_de&amp;gt;-langu OR &amp;lt;lf_de&amp;gt;-tzone ) IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the follwing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the short way to write it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nina C on Jul 1, 2009 4:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 14:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801121#M1311677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T14:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801122#M1311678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP syntax is of that way. Without checking individual fields by an OR condition you can achieve this. There will not be any difference in the processing speed I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 14:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801122#M1311678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801123#M1311679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's either&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF a = b OR a = c OR a = d.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE a.
  WHEN b OR c Or D.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Important tip:&lt;/STRONG&gt;  Read the ABAP help on the statements in question.  They'll &lt;EM&gt;tell&lt;/EM&gt; you if there is a short form, without you needed to ask.  And that's got to be quicker, yes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 14:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801123#M1311679</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-07-01T14:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801124#M1311680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i read the sap help but i don't find how i can write this in better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF   &amp;lt;lf_de&amp;gt;-date_foat IS INITIAL OR &amp;lt;lf_de&amp;gt;-n_fort IS INITIAL&lt;/P&gt;&lt;P&gt;           OR &amp;lt;lf_de&amp;gt;-lagu    IS INITIAL OR &amp;lt;lf_de&amp;gt;-tne  IS INITIAL." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe u have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br &lt;/P&gt;&lt;P&gt;Nina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 20:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801124#M1311680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801125#M1311681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt replied in his thread:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; Important tip: Read the ABAP help on the statements in question. &lt;/P&gt;&lt;P&gt;                They'll tell you if there is a short form, without you &lt;/P&gt;&lt;P&gt;                 needed to ask. And that's got to be quicker, yes? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you replied&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;i read the sap help but i don't find how i can write this in better way. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should have your answer from Matt's response and your findings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 21:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801125#M1311681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T21:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: or in brackets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801126#M1311682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll spell it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't a better way.  That's why you couldn't find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 21:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/or-in-brackets/m-p/5801126#M1311682</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-07-01T21:18:03Z</dc:date>
    </item>
  </channel>
</rss>

