<?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/2992758#M706848</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 working with table control in module pool program .I have option to delete the row.When user select the delete option one popup message should come with sure want to delete.message should have yes , No and cancel option.How to acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls guide me with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.Sudhakaran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2007 11:41:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-09T11:41:59Z</dc:date>
    <item>
      <title>Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992758#M706848</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 working with table control in module pool program .I have option to delete the row.When user select the delete option one popup message should come with sure want to delete.message should have yes , No and cancel option.How to acheive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls guide me with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.Sudhakaran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 11:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992758#M706848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T11:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992759#M706849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is function module to do this job ..check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : ans.
CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      defaultoption = 'Y'
      diagnosetext1 = 'Caution!!'
      diagnosetext2 = 'Do you want delete record!!! '
      diagnosetext3 = ' '
      textline1     = ' '
      titel         = 'Confirmation'
    IMPORTING
      answer        = ans   "Returns user action
    EXCEPTIONS
      OTHERS        = 1.
 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sudhakar G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 11:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992759#M706849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992760#M706850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Popup_to_confirm function module to confirm a user selection with a response. The pop-up dialog box has three elements, a title bar, the "text question" and the response. There are 3 and always three responses, normally "yes", "no" and "cancel." You will always pass a text question, and can control the 'Yes' and 'No' answers, although 'Yes' and 'No' are the defaults. You can control the titlebar, but if the parameter is blank, the titlebar assumes the text description of the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Available imports/exports/tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" VALUE(TITLEBAR) DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*" VALUE(DIAGNOSE_OBJECT) LIKE DOKHL-OBJECT DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*" VALUE(TEXT_QUESTION)&lt;/P&gt;&lt;P&gt;*" VALUE(TEXT_BUTTON_1) DEFAULT 'Ja'(001)&lt;/P&gt;&lt;P&gt;*" VALUE(ICON_BUTTON_1) LIKE ICON-NAME DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*" VALUE(TEXT_BUTTON_2) DEFAULT 'Nein'(002)&lt;/P&gt;&lt;P&gt;*" VALUE(ICON_BUTTON_2) LIKE ICON-NAME DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*" VALUE(DEFAULT_BUTTON) DEFAULT '1'&lt;/P&gt;&lt;P&gt;*" VALUE(DISPLAY_CANCEL_BUTTON) DEFAULT 'X'&lt;/P&gt;&lt;P&gt;*" VALUE(USERDEFINED_F1_HELP) LIKE DOKHL-OBJECT DEFAULT SPACE&lt;/P&gt;&lt;P&gt;*" VALUE(START_COLUMN) LIKE SY-CUCOL DEFAULT 25&lt;/P&gt;&lt;P&gt;*" VALUE(START_ROW) LIKE SY-CUROW DEFAULT 6&lt;/P&gt;&lt;P&gt;*" VALUE(POPUP_TYPE) LIKE ICON-NAME OPTIONAL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:&lt;/P&gt;&lt;P&gt;sscrfields. " Fields on selection screens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;display a popup window to confirm that they want to update.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if sscrfields-ucomm = 'ONLI' or "User pressed "Execute"&lt;/P&gt;&lt;P&gt;sscrfields-ucomm = 'PRIN'. "User pressed "Execute and Print"&lt;/P&gt;&lt;P&gt;if p_update = 'X'. "If update requested &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;text_question = text-005 " Are you certain...?&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;answer = w_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. " Function call failed.&lt;/P&gt;&lt;P&gt;message i000 with text-006. " Func call failed contact IS&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if w_answer ne '1'.&lt;/P&gt;&lt;P&gt;message i000 with text-007. " Proc cancelled - no update&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif. " Update requested&lt;/P&gt;&lt;P&gt;endif. " User pressed 'execute' or 'execute and print&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Popups can be annoying, especially for experienced users, so our recommendation is that they be used sparingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;reward pts if found usefull&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 12:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message/m-p/2992760#M706850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T12:18:20Z</dc:date>
    </item>
  </channel>
</rss>

