<?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: meaning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748383#M324525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody will tell me pls what is the meaning of if not ls_tab-f1 in S_f1? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the above condition checks the data for field f1 in ls_tab in the select-option for s_f1. If the data is not found than the condition is true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, if the data for field f1 is not in S_f1. the flag l_flag would be set to 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 09:26:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T09:26:00Z</dc:date>
    <item>
      <title>meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748381#M324523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know the meaning of following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_tab to ls_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not ls_tab-f1 in S_f1.&lt;/P&gt;&lt;P&gt;l_flag = 'X'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not l_flag is initial.&lt;/P&gt;&lt;P&gt;continue.&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;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will tell me pls what is the meaning of if not ls_tab-f1 in S_f1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748381#M324523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748382#M324524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  not ls_tab-f1 in S_f1 means S_F1 may be a range table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So they are check is_itab-f1 value is not in that range table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748382#M324524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748383#M324525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody will tell me pls what is the meaning of if not ls_tab-f1 in S_f1? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the above condition checks the data for field f1 in ls_tab in the select-option for s_f1. If the data is not found than the condition is true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, if the data for field f1 is not in S_f1. the flag l_flag would be set to 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748383#M324525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748384#M324526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a logical expression with language element IN, the conditions of a selection table are checked. Selection table is a global internal table with a header line, the columns SIGN, OPTION, LOW and HIGH and the name of a selection criterion. Information about these columns you can find in the description of the select-options statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the statement &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; if not ls_tab-f1 in S_f1 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; means that the code under it will be performed if the field f1 of structure ls_tab doesn't satisfy the conditions in the table s_f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.I see you are novice at this forum. So I kindly ask you to mark all of your questions as answered and award points for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pavel Aleshko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748384#M324526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748385#M324527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems you are trying to check value from your SELECT-OPTION in the loop of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer sample code ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:mara.&lt;/P&gt;&lt;P&gt;select-options: s_f1 for mara-MTART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_itab,&lt;/P&gt;&lt;P&gt; Document type char4,&lt;/P&gt;&lt;P&gt; type1 type char4,&lt;/P&gt;&lt;P&gt;end of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_itab type ty_itab,&lt;/P&gt;&lt;P&gt;wa_itab1 type ty_itab,&lt;/P&gt;&lt;P&gt;      itab type standard table of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-document = '1000'.&lt;/P&gt;&lt;P&gt;wa_itab-type1 = '1234'.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-document = '1001'.&lt;/P&gt;&lt;P&gt;wa_itab-type1 = '12345'.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-document = '1002'.&lt;/P&gt;&lt;P&gt;wa_itab-type1 = ''.&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;clear wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;b&amp;gt;data: wa_selopt type selopt.&amp;lt;/b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;if wa_itab-document in s_f1.&lt;/P&gt;&lt;P&gt;write:/ 'true'.    " can check your flag l_flag = X&lt;/P&gt;&lt;P&gt;elseif.&lt;/P&gt;&lt;P&gt;Continue.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy this code and execute. Enter 1000,1001 &amp;amp; 1002 in select-option and see in Debug mode. will understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward pints if this helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Manish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 09:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/1748385#M324527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T09:47:40Z</dc:date>
    </item>
  </channel>
</rss>

