<?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 Flags in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983856#M1161147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why we need to declare Flag variable in Coding. Plz clearify me. What is it used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapnika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2009 11:10:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-19T11:10:19Z</dc:date>
    <item>
      <title>Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983856#M1161147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why we need to declare Flag variable in Coding. Plz clearify me. What is it used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapnika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983856#M1161147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983857#M1161148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flags are usually used to trace any particular thing during logic execution..&lt;/P&gt;&lt;P&gt;Something like marking whether particular thing has happened or not and then take decision based on it.&lt;/P&gt;&lt;P&gt;So we usually set a flag to 'X' and then later may check it as IF flag = 'X'. option 1. Else. option 2.&lt;/P&gt;&lt;P&gt;An important thing to remember is to clear the flag as soon as decision has been taken so that old value of flag does not persist for next Loop run..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert if u need anything in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh on Jan 19, 2009 4:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983857#M1161148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983858#M1161149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ankesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983858#M1161149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983859#M1161150</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;They are single Character variable used to hold two different Values X or SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They can be used to set X so as to specify a particular state of the object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983859#M1161150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983860#M1161151</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;Flags are used in BRANCHING CONDITIONALITY&lt;/P&gt;&lt;P&gt;based on the flag value u can choose different flows in program execution.&lt;/P&gt;&lt;P&gt;for example it can be assigned to the value a function returns on calling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; flag=call_some_function();&lt;/P&gt;&lt;P&gt;if(flag==0) ---&amp;gt; do action 1&lt;/P&gt;&lt;P&gt;if(flag==1) ---&amp;gt; do action 2&lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983860#M1161151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Flags</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983861#M1161152</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;Flags are generally used to alter the program execution according to a defined approach.&lt;/P&gt;&lt;P&gt;Say after a specific operation you set the flag as FLAG_SET = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a later point you nned to validate and perform soem operation only if the previous operation is successful , then you check for the FLAG_SET = 'X' . then continue with the operation else if you wish to do some other activity then write the logic for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 11:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flags/m-p/4983861#M1161152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T11:31:01Z</dc:date>
    </item>
  </channel>
</rss>

