<?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: traffic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770375#M645488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the standard code "&amp;lt;b&amp;gt;DEMO_DYNPRO_STATUS_ICONS&amp;lt;/b&amp;gt;" in se38&lt;/P&gt;&lt;P&gt;on click of a button it is changing the status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Simple steps&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;***********************&lt;/P&gt;&lt;P&gt;First create a status icon Box on the screen required(go to screen painter..left side...last icon at the bottom with a 'Tick and Cross' Mark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in PBO&lt;/P&gt;&lt;P&gt;case itab-status.  "checkin status if itab-status&lt;/P&gt;&lt;P&gt;"if we are using table control drag and drop the icon box into the column so that we can loop at the table control and change status icons for each line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'OPEN'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            name                = 'ICON_GREEN_LIGHT'  "name of icon u want&lt;/P&gt;&lt;P&gt;            text                  = 'open'                            "text of the icon&lt;/P&gt;&lt;P&gt;            info                  = 'Status'                          "tool -tip text&lt;/P&gt;&lt;P&gt;            add_stdinf            = 'X'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            result                = status_icon&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            icon_not_found         = 1&lt;/P&gt;&lt;P&gt;            outputfield_too_short = 2&lt;/P&gt;&lt;P&gt;            OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;Similarly for other 'Complete' also follow similar steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc = 0.&lt;/P&gt;&lt;P&gt;"success&lt;/P&gt;&lt;P&gt;sy-subrc = 1.&lt;/P&gt;&lt;P&gt;Icon does not exist&lt;/P&gt;&lt;P&gt;sy-subrc = 2.&lt;/P&gt;&lt;P&gt;Icon and text do not fit on screen&lt;/P&gt;&lt;P&gt;sy-subrc = 3.&lt;/P&gt;&lt;P&gt;Error displaying status icon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 11:34:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T11:34:31Z</dc:date>
    <item>
      <title>traffic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770372#M645485</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;        i have itab having a field status and its data ( 'open' , 'complete')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls explain the needed steps to be followed for setting the traffic light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open --red light&lt;/P&gt;&lt;P&gt;complete -- green light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;explain me clearly, sorry for the convinience.&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;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770372#M645485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: traffic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770373#M645486</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;Refer to the following program:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BCALV_GRID_04&amp;lt;/b&amp;gt; Illustrates the use of exceptions (lights or leds). According to the values of SFLIGHT-SEATSOCC, the lights are set to 1 (red), 2 (yellow) or 3 (green).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770373#M645486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: traffic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770374#M645487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INCLUDE &amp;lt;list&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ITAB-STATUS EQ 'OPEN'.&lt;/P&gt;&lt;P&gt;WRITE icon_red_light AS ICON.&lt;/P&gt;&lt;P&gt;ELSEIF ITAB-STATUS EQ 'COMPLETE'&lt;/P&gt;&lt;P&gt;WRITE icon_green_light AS ICON. &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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770374#M645487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: traffic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770375#M645488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the standard code "&amp;lt;b&amp;gt;DEMO_DYNPRO_STATUS_ICONS&amp;lt;/b&amp;gt;" in se38&lt;/P&gt;&lt;P&gt;on click of a button it is changing the status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Simple steps&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;***********************&lt;/P&gt;&lt;P&gt;First create a status icon Box on the screen required(go to screen painter..left side...last icon at the bottom with a 'Tick and Cross' Mark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in PBO&lt;/P&gt;&lt;P&gt;case itab-status.  "checkin status if itab-status&lt;/P&gt;&lt;P&gt;"if we are using table control drag and drop the icon box into the column so that we can loop at the table control and change status icons for each line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'OPEN'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            name                = 'ICON_GREEN_LIGHT'  "name of icon u want&lt;/P&gt;&lt;P&gt;            text                  = 'open'                            "text of the icon&lt;/P&gt;&lt;P&gt;            info                  = 'Status'                          "tool -tip text&lt;/P&gt;&lt;P&gt;            add_stdinf            = 'X'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            result                = status_icon&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            icon_not_found         = 1&lt;/P&gt;&lt;P&gt;            outputfield_too_short = 2&lt;/P&gt;&lt;P&gt;            OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;Similarly for other 'Complete' also follow similar steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc = 0.&lt;/P&gt;&lt;P&gt;"success&lt;/P&gt;&lt;P&gt;sy-subrc = 1.&lt;/P&gt;&lt;P&gt;Icon does not exist&lt;/P&gt;&lt;P&gt;sy-subrc = 2.&lt;/P&gt;&lt;P&gt;Icon and text do not fit on screen&lt;/P&gt;&lt;P&gt;sy-subrc = 3.&lt;/P&gt;&lt;P&gt;Error displaying status icon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Reward if helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 11:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/traffic/m-p/2770375#M645488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T11:34:31Z</dc:date>
    </item>
  </channel>
</rss>

