<?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: Information Window (Message) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078863#M97154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Srinivas:&lt;/P&gt;&lt;P&gt;When I had used your code and  in selection screen for the field in Ranges&lt;/P&gt;&lt;P&gt;when i changed the value 2000 to 3000 i did get the&lt;/P&gt;&lt;P&gt;confirmed message but i have to click "yes" or "no" twice.&lt;/P&gt;&lt;P&gt;did you face anything like this? &lt;/P&gt;&lt;P&gt;This happens only in Multiple selection window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not happen in the selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2005 19:27:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-20T19:27:50Z</dc:date>
    <item>
      <title>Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078849#M97140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I have to display an information message if company code 3000 is chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have used MESSAGE-ID I000 with.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in the window, if i click on continue(tick icon) then i should get my output &lt;/P&gt;&lt;P&gt;which I am able to do that part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that :  if I click on cancel (cross icon) , then i should go to the selection&lt;/P&gt;&lt;P&gt;screen ,rather than going to the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please let me know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078849#M97140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078850#M97141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: p_check type c.



start-of-selection.

  if p_check is initial.
    message i000(01) with 'P_CHECK is initial'.
&amp;lt;b&amp;gt;    stop.&amp;lt;/b&amp;gt;
  endif.

  write:/ 'Start of selection has been executed'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078850#M97141</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-13T17:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078851#M97142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this doesn't work for you, please post your code.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078851#M97142</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-13T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078852#M97143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;   The code is likee this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: pcode like t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_code = '3000'.&lt;/P&gt;&lt;P&gt; MESSAGE ID 'DB' TYPE 'I' NUMBER '000'&lt;/P&gt;&lt;P&gt;                  WITH 'CC = 3000 is for ABC Process'&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i get a window saying " CC = 3000 is for ABC Process"&lt;/P&gt;&lt;P&gt;In this window,if i click on continue then it goes to the output, which i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that in this window if i click on cancel or crosss icon then it goes to the output which i dont want. &lt;/P&gt;&lt;P&gt;when clicked on cancel icon in the information window ,it should go to the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you want more information.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078852#M97143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078853#M97144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use the POPUP_TO_CONFIRM_WITH_MESSAGE function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw31/helpdata/en/85/dae5024bac11d1890e0000e8322f96/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw31/helpdata/en/85/dae5024bac11d1890e0000e8322f96/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can check which button the user chooses and control the flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078853#M97144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078854#M97145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot achieive what you are trying to achieve with &lt;/P&gt;&lt;P&gt;MESSAGE I001...&lt;/P&gt;&lt;P&gt;The program will only flow past this statement , no matter whatever you click on popup window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use function POPUP_TO_CONFIRM instead and analyze the parameter "ANSWER" in your program to check the user action. See the FM documentation for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078854#M97145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078855#M97146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering what version of SAP you are on that you are getting a dialog box with a "green check" and a "red cancel" button by the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: pcode like t001-bukrs.

if p_code = '3000'.
MESSAGE ID 'DB' TYPE 'I' NUMBER '000'
WITH 'CC = 3000 is for ABC Process'
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the standard information message box with a green check, no red cancel button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078855#M97146</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-13T17:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078856#M97147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a quick and dirty program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest1 .

TABLES: sscrfields.
DATA v_answer.

PARAMETERS: pcode LIKE t001-bukrs.

AT SELECTION-SCREEN.

  IF pcode = '3000'.
    CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
      EXPORTING
*       DEFAULTOPTION        = 'Y'
        diagnosetext1        = 'CC = 3000 is for ABC Process'
*       DIAGNOSETEXT2        =
*       DIAGNOSETEXT3        = ' '
        textline1            = 'Do you wish to Continue? '
*       TEXTLINE2            = ' '
        titel                = 'Message'
*       START_COLUMN         = 25
*       START_ROW            = 6
*       CANCEL_DISPLAY       = 'X'
      IMPORTING
        answer               = v_answer .
    IF v_answer = 'J'.
*-- Yes
      sscrfields-ucomm = 'ONLI'.
    ELSE.
      CLEAR sscrfields-ucomm.
    ENDIF.
  ENDIF.

START-OF-SELECTION.

  WRITE:/ 'I started executing the program!!'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078856#M97147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078857#M97148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: pcode like t001-bukrs.
data: answer(1) type c.

start-of-selection.

  if pcode = '3000'.

    call function 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
      exporting
*   DEFAULTOPTION       = '1'
        diagnosetext1       = 'Information'
*   DIAGNOSETEXT2       = ' '
*   DIAGNOSETEXT3       = ' '
        textline1           = 'CC = 3000 is for ABC Process'
*   TEXTLINE2           = ' '
*   TEXTLINE3           = ' '
        text_option1        = 'Ok'
        text_option2        = 'Cancel'
        titel               = 'Information Message'
     importing
       answer              = answer.


    if answer = '2'.
      stop.
    endif.

  endif.


  write:/ pcode.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078857#M97148</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-13T17:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078858#M97149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess he is referring to the Cross at the top right corner i.e. to close a window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078858#M97149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078859#M97150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like this function module better than my previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002 .

parameters: pcode like t001-bukrs.
data: answer(1) type c.

at selection-screen.

  if pcode = '3000'.

    call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
         exporting
              diagnosetext1 = 'CC = 3000 is for ABC Process'
              textline1     = 'Do you wish to Continue? '
              titel         = 'Message'
         importing
              answer        = answer.


    if answer &amp;lt;&amp;gt; 'J'.
*      stop.
    endif.

  endif.

start-of-selection.

  write:/ pcode.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, Srinivas already mentioned it.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078859#M97150</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-13T17:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078860#M97151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, we cannot do it in the start-of-selection event because, he wants to go to the selection screen if the user cancels it. That is why I did it in the selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 17:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078860#M97151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T17:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078861#M97152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rich srinivas sanjay all are correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: POPUP_TXT(200).
DATA: ANSWER(1).

Start-of-selection.

if pcode eq '0003'.

 POPUP_TXT =' Do you really want continue.'.

        CALL FUNCTION 'POPUP_TO_CONFIRM'
             EXPORTING
                  TITLEBAR              = 'Save'
                  TEXT_QUESTION         = POPUP_TXT
                  TEXT_BUTTON_1         = 'Yes'
                  ICON_BUTTON_1         = 'ICON_OKAY'
                  TEXT_BUTTON_2         = 'No'
                  ICON_BUTTON_2         = 'ICON_CANCEL'
                  DEFAULT_BUTTON        = '2'
*              DISPLAY_CANCEL_BUTTON = ' '
                  START_ROW             = 15
             IMPORTING
                  ANSWER                = ANSWER.

        IF ANSWER EQ '2'.
        exit.
        endif.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points for helpfull answers and close the thread if your question is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 18:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078861#M97152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T18:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078862#M97153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;   Thanks for the answers. The problem is solved.&lt;/P&gt;&lt;P&gt;Really appreciate to all who participated in this thread.&lt;/P&gt;&lt;P&gt;I did award the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much. !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2005 18:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078862#M97153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-13T18:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078863#M97154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Srinivas:&lt;/P&gt;&lt;P&gt;When I had used your code and  in selection screen for the field in Ranges&lt;/P&gt;&lt;P&gt;when i changed the value 2000 to 3000 i did get the&lt;/P&gt;&lt;P&gt;confirmed message but i have to click "yes" or "no" twice.&lt;/P&gt;&lt;P&gt;did you face anything like this? &lt;/P&gt;&lt;P&gt;This happens only in Multiple selection window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not happen in the selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 19:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078863#M97154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T19:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078864#M97155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I didn't get that. I thought your selection screen variable is a parameter. Is it a select-option? Can you give the code you have including the definition of the selection-screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a range will complicate the matter. What do you want to do if the user enters 1000, 2000, 3000 as single values. Do you issue message or not? What if the user enters a range 0001 to 9999? Do you issue the message or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2005 19:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078864#M97155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-20T19:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078865#M97156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas:&lt;/P&gt;&lt;P&gt;    Sorry for not giving the details before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: P_BUKRS LIKE T001-BUKRS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON P_BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    DEFAULTOPTION        =  'Y'&lt;/P&gt;&lt;P&gt;    DIAGNOSETEXT1        = 'company Code 3000 is for'&lt;/P&gt;&lt;P&gt;    TEXTLINE1            = 'Do you wish to Continue ?'&lt;/P&gt;&lt;P&gt;    TITEL                = 'Company Code'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;   ANSWER               = ANSWER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ANSWER = 'N'.&lt;/P&gt;&lt;P&gt;  leave program.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in the selection screen for company code, in the "Multiple Selection for Company Code" window:&lt;/P&gt;&lt;P&gt;the first one i give as : 2000 To 3000&lt;/P&gt;&lt;P&gt;Second LIne :             3001 To 4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently , when i click on No, it comes out of the selection screen.&lt;/P&gt;&lt;P&gt;I did try using STOP also but it dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is like : When clicked on No, it should not do any change and go back to the &lt;/P&gt;&lt;P&gt;selection screen where i can edit again.&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, 21 Oct 2005 15:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078865#M97156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078866#M97157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002.


data: answer(1) type c.

parameters: p_bukrs type t001-bukrs.
&amp;lt;b&amp;gt;
at selection-screen.&amp;lt;/b&amp;gt;

call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
     exporting
          defaultoption = 'Y'
          diagnosetext1 = 'company Code 3000 is for'
          textline1     = 'Do you wish to Continue ?'
          titel         = 'Company Code'
     importing
          answer        = answer.

if answer = 'N'.
&amp;lt;b&amp;gt;exit.&amp;lt;/b&amp;gt;
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 15:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078866#M97157</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-21T15:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078867#M97158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;    in my code: company code is not a paramter. its select-option. when i used exit in the code&lt;/P&gt;&lt;P&gt;and clicked on No, then it executed the program which i dont want.&lt;/P&gt;&lt;P&gt;When clicked on No, it should remain in the selection screen.&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, 21 Oct 2005 15:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078867#M97158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Information Window (Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078868#M97159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question is, if you have 3000 anywhere in your select-option, whether it is the low value, or high value or in between, you want this pop-up? Here are different scenarios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) if you enter 1000 to 5000(3000 is in the range) or&lt;/P&gt;&lt;P&gt;2) if you enter 1000 to 3000(3000 is high value)   or&lt;/P&gt;&lt;P&gt;3) if you enter 3000 to 5000(3000 is low value)    or&lt;/P&gt;&lt;P&gt;4) if you enter &amp;lt;&amp;gt;3000(3000 is excluded from the list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which conditions do you want to raise the pop-up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 16:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-window-message/m-p/1078868#M97159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T16:03:03Z</dc:date>
    </item>
  </channel>
</rss>

