<?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: Need Logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/4859111#M1136168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in general use this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at the internal table then check ur conditions and set a flag for tht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the loop bsed on the flaog populate another internal table with bukrs pblnr and traffi light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for traffic light will just the text do or u need icons for icons declare a field of char 4 and assign the following values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;red @0A@&lt;/P&gt;&lt;P&gt;green @08@.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u cant expect us to think the entire logic and code for u.&lt;/P&gt;&lt;P&gt;i hv given u the hint so try it from here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Dec 1, 2008 7:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2008 14:11:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-01T14:11:07Z</dc:date>
    <item>
      <title>Need Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/4859110#M1136167</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;First scenario&lt;/P&gt;&lt;P&gt;bukrs   pblnr       matnr    tankno  deviation   quantity  outof  out&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------" /&gt;&lt;P&gt;De01    10205206    123        1         10       1000      X      Blank&lt;/P&gt;&lt;P&gt;De01    10205206    124        1         15       2000      Blank    X&lt;/P&gt;&lt;P&gt;De01    10205206    125        1         20       3000      X        X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update other internal table based on following conditions.&lt;/P&gt;&lt;P&gt;Internal Table Fields --Bukrs,Pblnr,Traffic lights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For same tankno,&lt;/P&gt;&lt;P&gt;Traffic Light&lt;/P&gt;&lt;P&gt;Green:	The field value for the flag for OutOfNorm and OutOfNormP is blank for all tanks.&lt;/P&gt;&lt;P&gt;Red:	For at least 1 tank the field value for the flag OutOfNorm and OutOfNormP is both 'X'.&lt;/P&gt;&lt;P&gt;Orange: All other cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to a record in the internal table&lt;/P&gt;&lt;P&gt;   De01   10205206   'Red Light'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************************************************&lt;/P&gt;&lt;P&gt;Second scenario&lt;/P&gt;&lt;P&gt;bukrs   pblnr       matnr    tankno  deviation   quantity  outof  out&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------" /&gt;&lt;P&gt;De01    10205206    123        1         10       1000      X      Blank&lt;/P&gt;&lt;P&gt;De01    10205206    123        3         15       2000      Blank    X&lt;/P&gt;&lt;P&gt;De01    10205206    123        2         20       3000      X        X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update other internal table based on following conditions.&lt;/P&gt;&lt;P&gt;Internal Table Fields --Bukrs,Pblnr,Traffic lights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Same Material number&lt;/P&gt;&lt;P&gt;Green:	The field value for the flag for OutOfNorm and OutOfNormP is off for all tanks.&lt;/P&gt;&lt;P&gt;Red:	For at least 1 tank the field value for the flag OutOfNorm and OutOfNormP is both ON.&lt;/P&gt;&lt;P&gt;Orange: All other cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to a record in the internal table&lt;/P&gt;&lt;P&gt;   De01   10205206   'Red Light'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above 2 are 2 different scenarios. Need 2 different logics&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 14:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/4859110#M1136167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/4859111#M1136168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in general use this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at the internal table then check ur conditions and set a flag for tht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the loop bsed on the flaog populate another internal table with bukrs pblnr and traffi light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for traffic light will just the text do or u need icons for icons declare a field of char 4 and assign the following values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;red @0A@&lt;/P&gt;&lt;P&gt;green @08@.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u cant expect us to think the entire logic and code for u.&lt;/P&gt;&lt;P&gt;i hv given u the hint so try it from here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Dec 1, 2008 7:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 14:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/4859111#M1136168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T14:11:07Z</dc:date>
    </item>
  </channel>
</rss>

