<?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: Message Display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318150#M508625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM POPUP_TO_CONFIRM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are others, but this is the standard one. You can do a search on FM that start with POPUP to find others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;  ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 12:37:41 GMT</pubDate>
    <dc:creator>oliver</dc:creator>
    <dc:date>2007-05-23T12:37:41Z</dc:date>
    <item>
      <title>Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318149#M508624</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 would like to pop-up an warning message 'Move the Transport' along with an input field for them to answer yes or no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes the transport will move to destination. If no then allow the user to edit the request before again saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will pls tell me how to do the coding for this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318149#M508624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318150#M508625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM POPUP_TO_CONFIRM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are others, but this is the standard one. You can do a search on FM that start with POPUP to find others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;  ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318150#M508625</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2007-05-23T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318151#M508626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can use Function Module " popup_to_confirm".&lt;/P&gt;&lt;P&gt;and implement the ogic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if any issues,&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318151#M508626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318152#M508627</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;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me with example what are the necessary parameter I need to pass &amp;amp; how??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318152#M508627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318153#M508628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just do a usage lookup. It's heavily used in R/3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   call function 'POPUP_TO_CONFIRM'
        exporting
             titlebar              = text-t01
             text_question         = l_question
             text_button_1         = 'Ja'(006)
             icon_button_1         = ' '
             text_button_2         = 'Nein'(007)
             icon_button_2         = ' '
             default_button        = '1'
        importing
             answer                = l_answer.
   if l_answer = 'A'.
     set screen sy-dynnr.
     leave screen.
   elseif l_answer = '2'.
     set screen 0.
     leave screen.
   endif.

    CALL FUNCTION 'POPUP_TO_CONFIRM'
         EXPORTING
              TITLEBAR              = TEXT-001
              DIAGNOSE_OBJECT       = 'PARAMETER_SAVE_QUESTION'
              TEXT_QUESTION         = 'Do you want to save?'(004)
              TEXT_BUTTON_1         = 'Yes'(002)
              ICON_BUTTON_1         = 'ICON_OKAY'
              TEXT_BUTTON_2         = 'No'(003)
*             ICON_BUTTON_2         = ' '
              DEFAULT_BUTTON        = '1'
              DISPLAY_CANCEL_BUTTON = 'X'
*             USERDEFINED_F1_HELP   = ' '
*             START_COLUMN          = 25
*             START_ROW             = 6
*             POPUP_TYPE            =
         IMPORTING
              ANSWER                = ANSWER
         TABLES
              PARAMETER             = PARM_TABLE
         EXCEPTIONS
              TEXT_NOT_FOUND        = 1
              OTHERS                = 2.

    IF ANSWER = '1'.
      OKCODE = 'YES'.
    ELSEIF ANSWER = '2'.
      OKCODE = 'NO'.
    ELSE.
      OKCODE = 'CANC'.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;  ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318153#M508628</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2007-05-23T12:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Message Display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318154#M508629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : v_text(100).&lt;/P&gt;&lt;P&gt;data : ans(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate 'Do you really move the transport ' &amp;lt;field&amp;gt; '?' into v_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                 TITLEBAR                    = 'Move the Transport'&lt;/P&gt;&lt;P&gt;                 TEXT_QUESTION               = v_text&lt;/P&gt;&lt;P&gt;                TEXT_BUTTON_1               = 'Yes'&lt;/P&gt;&lt;P&gt;                ICON_BUTTON_1               = ' ' "Give appropriate icon&lt;/P&gt;&lt;P&gt;                TEXT_BUTTON_2               = 'No'&lt;/P&gt;&lt;P&gt;                ICON_BUTTON_2               = ' ' "Give appropriate icon&lt;/P&gt;&lt;P&gt;                START_COLUMN                = 25&lt;/P&gt;&lt;P&gt;                START_ROW                   = 6&lt;/P&gt;&lt;P&gt;              IMPORTING&lt;/P&gt;&lt;P&gt;                ANSWER                      = ans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                if ans = '1'.&lt;/P&gt;&lt;P&gt;                   write : / 'Yes'.&lt;/P&gt;&lt;P&gt;                else.&lt;/P&gt;&lt;P&gt;                   write : / 'No'.&lt;/P&gt;&lt;P&gt;                endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its useful !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 12:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-display/m-p/2318154#M508629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T12:51:09Z</dc:date>
    </item>
  </channel>
</rss>

