<?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 Message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429315#M542969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement., user wants to popup a message when when he selects a particular record and presses deletes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He need to get message "Do you want to delete Yes or No" If the user presses Yes then only the record should be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please tell me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2007 09:17:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-28T09:17:10Z</dc:date>
    <item>
      <title>Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429315#M542969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement., user wants to popup a message when when he selects a particular record and presses deletes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He need to get message "Do you want to delete Yes or No" If the user presses Yes then only the record should be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please tell me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429315#M542969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T09:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429316#M542970</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;Use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'POPUP_TO_CONFIRM'
       EXPORTING
            TITLEBAR       = TEXT-005
            TEXT_QUESTION  = L_R_TEXT
            TEXT_BUTTON_1  = TEXT-007
            TEXT_BUTTON_2  = TEXT-008
            DEFAULT_BUTTON = '1'
       IMPORTING
            ANSWER         = G_F_RESULT
       EXCEPTIONS
            TEXT_NOT_FOUND = 1
            OTHERS         = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value off G_F_RESULT and code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429316#M542970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T09:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429317#M542971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Line , &lt;/P&gt;&lt;P&gt;  Currently you will have a code to delete the line , just before the code call the FM &amp;lt;b&amp;gt;POPUP_TO_CONFIRM&amp;lt;/b&amp;gt; , based on the input of the user you can decide whether you want to delete or not,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429317#M542971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T09:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429318#M542972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please use code as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: header(30),&lt;/P&gt;&lt;P&gt;Question(30),&lt;/P&gt;&lt;P&gt;answer(20),&lt;/P&gt;&lt;P&gt;button1(10),&lt;/P&gt;&lt;P&gt;button2(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;header = 'Confirm for Deletion'.&lt;/P&gt;&lt;P&gt;question = 'Do you want to delete'.&lt;/P&gt;&lt;P&gt;button1 = 'Yes'.&lt;/P&gt;&lt;P&gt;button2 = 'No'.&lt;/P&gt;&lt;P&gt;&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       = header&lt;/P&gt;&lt;P&gt;            TEXT_QUESTION  = question&lt;/P&gt;&lt;P&gt;            TEXT_BUTTON_1  = button1&lt;/P&gt;&lt;P&gt;            TEXT_BUTTON_2  = button2&lt;/P&gt;&lt;P&gt;            DEFAULT_BUTTON = '1'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            ANSWER         = answer&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            TEXT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;            OTHERS         = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if answer eq '1'.&lt;/P&gt;&lt;P&gt;*DELETE................................&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep Kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429318#M542972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T09:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429319#M542973</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 this Functional module.&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       = TEXT-007&lt;/P&gt;&lt;P&gt;            TEXT_QUESTION  = L_R_TEXT&lt;/P&gt;&lt;P&gt;            TEXT_BUTTON_1  = TEXT-007&lt;/P&gt;&lt;P&gt;            TEXT_BUTTON_2  = TEXT-008&lt;/P&gt;&lt;P&gt;            DEFAULT_BUTTON = '1'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            ANSWER         = G_F_RESULT&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            TEXT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;            OTHERS         = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2429319#M542973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T09:44:07Z</dc:date>
    </item>
  </channel>
</rss>

