<?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: Changing Interface Elements in Modal Dialog Box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949596#M1601633</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;  Modal Dialog Boxes means your call this code in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL SCREEN &amp;lt;scrn&amp;gt;
     STARTING AT &amp;lt;X1&amp;gt; &amp;lt;Y1&amp;gt;
     ENDING AT   &amp;lt;X2&amp;gt; &amp;lt;Y2&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) double click on the Screen Number and click layout button.&lt;/P&gt;&lt;P&gt;2) Double click on the OK ICON.&lt;/P&gt;&lt;P&gt;3) in the Screen attributes Icon Name is there&lt;/P&gt;&lt;P&gt;4) type the name as 'ICON_SYSTEM_SAVE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Icon will be changed. After Activate the screen and hole prg.&lt;/P&gt;&lt;P&gt;Hope it will useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 10:02:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-10T10:02:15Z</dc:date>
    <item>
      <title>Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949593#M1601630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDNers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a modal dialog box screen. I want to change one of the interface elements. I want to change the OK icon (Enter) to SAVE icon. Is it possible? If yes how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 08:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949593#M1601630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T08:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949594#M1601631</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;I am not sure which Fm you are using for calling the Modal Dialog Box. I am considering it as POPUP_TO_CONFIRM and please find the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the FM is have following IMPORT parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT_BUTTON_1                   &lt;/P&gt;&lt;P&gt;ICON_BUTTON_1&lt;/P&gt;&lt;P&gt;TEXT_BUTTON_2                  &lt;/P&gt;&lt;P&gt;ICON_BUTTON_2&lt;/P&gt;&lt;P&gt;DEFAULT_BUTTON                  1&lt;/P&gt;&lt;P&gt;DISPLAY_CANCEL_BUTTON           X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For TEXT_BUTTON_1 give the tex SAVE and the ICON_BUTTON_1 as   ICON_SYSTEM_SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not this FM let me know what exactly you are using to display the dialog box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 09:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949594#M1601631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T09:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949595#M1601632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     It can be possible. you can refer program DEMO_DYNPRO_STATUS_ICONS&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 09:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949595#M1601632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949596#M1601633</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;  Modal Dialog Boxes means your call this code in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL SCREEN &amp;lt;scrn&amp;gt;
     STARTING AT &amp;lt;X1&amp;gt; &amp;lt;Y1&amp;gt;
     ENDING AT   &amp;lt;X2&amp;gt; &amp;lt;Y2&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) double click on the Screen Number and click layout button.&lt;/P&gt;&lt;P&gt;2) Double click on the OK ICON.&lt;/P&gt;&lt;P&gt;3) in the Screen attributes Icon Name is there&lt;/P&gt;&lt;P&gt;4) type the name as 'ICON_SYSTEM_SAVE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Icon will be changed. After Activate the screen and hole prg.&lt;/P&gt;&lt;P&gt;Hope it will useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949596#M1601633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T10:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949597#M1601634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your replies. I havee created a custom FM for the standard one CATSXT_SIMPLE_TEXT_EDITOR. As it has as its screen type Modal Dialog Box, it does not have any Interface buttons on the screen. Here I am not able to find any buttons is the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949597#M1601634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949598#M1601635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that FM you are calling a screen.&lt;/P&gt;&lt;P&gt;you have to change the PF status of that screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949598#M1601635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Interface Elements in Modal Dialog Box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949599#M1601636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; My problem is solved.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 11:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-interface-elements-in-modal-dialog-box/m-p/7949599#M1601636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-10T11:41:43Z</dc:date>
    </item>
  </channel>
</rss>

