<?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: problem in messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228862#M1208763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use 'POPUP_TO_CONFIRM' function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2009 13:00:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-18T13:00:01Z</dc:date>
    <item>
      <title>problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228860#M1208761</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;      i wanted to know if we can have a confirmation message...&lt;/P&gt;&lt;P&gt;      eg, i have a screen through which i change the data of a database table... when i press the 'SAVE'&lt;/P&gt;&lt;P&gt;           button, the data is changed in the table and an information pops up saying 'DATA SAVED &lt;/P&gt;&lt;P&gt;           SUCCESSFULLY!!!', but if i make changes in screen and then press 'BACK' button, the data is&lt;/P&gt;&lt;P&gt;           not saved in the database table... at this point before leaving for previous page i want to have a&lt;/P&gt;&lt;P&gt;           confirmation message asking if 'the changed data has to be saved or not'... &lt;/P&gt;&lt;P&gt;           on the dailog if user says 'yes' then the same  page should remain, and if user says 'no', &lt;/P&gt;&lt;P&gt;           then leave to previous page...  this happens in notepad and e1 in word...&lt;/P&gt;&lt;P&gt;      can this be done in abap???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 12:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228860#M1208761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228861#M1208762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aarthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. It is possible in ABAP. When you press BACK, you can call the FM: POPUP_TO_CONFIRM.&lt;/P&gt;&lt;P&gt;This will raise a message (You can decide what is the message) and aYES/ NO button.&lt;/P&gt;&lt;P&gt;Based on that you can either save the data or show the previous page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 12:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228861#M1208762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T12:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228862#M1208763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use 'POPUP_TO_CONFIRM' function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228862#M1208763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T13:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228863#M1208764</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 think you need to Check just after update table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc EQ 0.

  MESSAGE: 'OK' TYPE 'I'.

ELSE.

  MESSAGE: 'Not OK' TYPE 'I'.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228863#M1208764</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-18T13:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228864#M1208765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aarti,&lt;/P&gt;&lt;P&gt;Yes it can be achived in ABAP too. Take a look at the ergonomic examples in the Object Navigator ( SE80 ) in the menu Environment&lt;DEL&gt;&amp;gt;Examples&lt;/DEL&gt;&amp;gt;Ergonomic examples --&amp;gt; Screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In there, look for Prompts under the title Dynamics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Advait Gode on Feb 18, 2009 2:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228864#M1208765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228865#M1208766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'
         EXPORTING
           titlebar                  = 'Pop Up to confirm'
           text_question         = w_question
           text_button_1         = 'Yes'(001)
           text_button_2         = 'No'(002)
           default_button        = '2'
           display_cancel_button = ' '
           start_column          = 40
           start_row             = 10
         IMPORTING
           answer                  = l_answer          " Retuns which button is preesed ie. YES or NO
         EXCEPTIONS
           text_not_found        = 1
           OTHERS                = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on the importing parameter l_answer write you logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-messages/m-p/5228865#M1208766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T13:10:04Z</dc:date>
    </item>
  </channel>
</rss>

