<?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: regarding staus in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268815#M1018560</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;You can also try the following demo program in IDES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZIDES_SHOW_ICONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adarsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2008 09:35:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-30T09:35:53Z</dc:date>
    <item>
      <title>regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268809#M1018554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls send the demo program for status icons i.e accepted,rejected and processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;R.Dhineshraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268809#M1018554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268810#M1018555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at program : DEMO_DYNPRO_STATUS_ICONS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268810#M1018555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268811#M1018556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use DEMO_DYNPRO_STATUS_ICONS program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268811#M1018556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268812#M1018557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this links:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5338726"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/59/348efa61c611d295750000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/59/348efa61c611d295750000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268812#M1018557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268813#M1018558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT demo_dynpro_status_icons.
 
DATA value TYPE i VALUE 1.
 
DATA: status_icon TYPE icons-text,
      icon_name(20) TYPE c,
      icon_text(10) TYPE c.
 
CALL SCREEN 100.
 
MODULE set_icon OUTPUT.
 
  SET PF-STATUS 'SCREEN_100'.
 
  CASE value.
    WHEN 1.
      icon_name = 'ICON_GREEN_LIGHT'.
      icon_text =  text-003.
    WHEN 2.
      icon_name = 'ICON_YELLOW_LIGHT'.
      icon_text =  text-002.
    WHEN 3.
      icon_name = 'ICON_RED_LIGHT'.
      icon_text =  text-001.
  ENDCASE.
 
  CALL FUNCTION 'ICON_CREATE'
       EXPORTING
            name                  = icon_name
            text                  = icon_text
            info                  = 'Status'
            add_stdinf            = 'X'
       IMPORTING
            result                = status_icon
       EXCEPTIONS
            icon_not_found        = 1
            outputfield_too_short = 2
            OTHERS                = 3.
 
  CASE sy-subrc.
    WHEN 1.
      MESSAGE e888(sabapdocu) WITH text-004.
    WHEN 2.
      MESSAGE e888(sabapdocu) WITH text-005.
    WHEN 3.
      MESSAGE e888(sabapdocu) WITH text-006.
  ENDCASE.
 
ENDMODULE.
 
MODULE cancel INPUT.
  LEAVE PROGRAM.
ENDMODULE.
 
MODULE change.
  CASE value.
    WHEN 1.
      value = 2.
    WHEN 2.
      value = 3.
    WHEN 3.
      value = 1.
  ENDCASE.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268813#M1018558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268814#M1018559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi get the icons from the table ICON&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268814#M1018559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268815#M1018560</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;You can also try the following demo program in IDES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZIDES_SHOW_ICONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adarsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268815#M1018560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: regarding staus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268816#M1018561</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;You can set status for particular screen in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: Go at the PBO module of the screen by double click at the screen no suppose 100. and write any name for the status within single quotes here this name is S100.&lt;/P&gt;&lt;P&gt;module status_0100 output.&lt;/P&gt;&lt;P&gt;set pf-status 'S100'.&lt;/P&gt;&lt;P&gt;set titlebar 'SPA'&lt;/P&gt;&lt;P&gt;endmodule. " STATUS_0100 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after clicking on this u will get an screen opened there u can define menu bar icon application bar etc... according to ur need..&lt;/P&gt;&lt;P&gt;whatever u define there u need to activate and then u need to do coding in the PAI event using OK_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;Here is the small example:---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module exit input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;when 'EXIT' or 'CANC' or 'BACK'.&lt;/P&gt;&lt;P&gt;clear ok_code.&lt;/P&gt;&lt;P&gt;leave to screen 0.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule. " EXIT INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ya one more thing dont forget to define ok_code in element list of that screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope u will get some help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ashu Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 09:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-staus/m-p/4268816#M1018561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T09:36:13Z</dc:date>
    </item>
  </channel>
</rss>

