<?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: FM for pop-up in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574819#M1271526</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;PRE&gt;&lt;CODE&gt;
POPUP_TO_CONFIRM - Pop-up dialog confirm an action before it is carried out. 

  CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
      titlebar      = 'Interface Screen'          "Screen title...
      text_question = w_title
      text_button_1 = 'Yes'
      icon_button_1 = 'ICON_OKAY'         "icon for Ok
      text_button_2 = 'No'
      icon_button_2 = 'ICON_BREAKPOINT'  "icon for cancel
    IMPORTING
      answer        = w_answer.
  IF sy-subrc &amp;lt;&amp;gt; 0.
  ENDIF.


if answer is 1 then he selected Ok
if answer is 2 or 3 he pressed cancel or No button.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2009 12:29:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-05T12:29:40Z</dc:date>
    <item>
      <title>FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574815#M1271522</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 need a solution on pop-up box should appear in standard tcode PTMW with option of YES and NO button with control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Badi in that regard for TMW which is PT_BLP_USER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need FM or whatever object,method of class then to call pop-up box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574815#M1271522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574816#M1271523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574816#M1271523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574817#M1271524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use POPUP_TO_CONFIRM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574817#M1271524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574818#M1271525</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;Please use FM "POPUP_TO_DECIDE"&lt;/P&gt;&lt;P&gt;         or "POPUP_TO_CONFIRM".&lt;/P&gt;&lt;P&gt;This may solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sudheer kumar on May 5, 2009 2:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574818#M1271525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574819#M1271526</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;PRE&gt;&lt;CODE&gt;
POPUP_TO_CONFIRM - Pop-up dialog confirm an action before it is carried out. 

  CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
      titlebar      = 'Interface Screen'          "Screen title...
      text_question = w_title
      text_button_1 = 'Yes'
      icon_button_1 = 'ICON_OKAY'         "icon for Ok
      text_button_2 = 'No'
      icon_button_2 = 'ICON_BREAKPOINT'  "icon for cancel
    IMPORTING
      answer        = w_answer.
  IF sy-subrc &amp;lt;&amp;gt; 0.
  ENDIF.


if answer is 1 then he selected Ok
if answer is 2 or 3 he pressed cancel or No button.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574819#M1271526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574820#M1271527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the Function Module  -- &lt;STRONG&gt;POPUP_TO_CONFIRM_STEP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the bellow code -&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : w_return TYPE c.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
  EXPORTING
    textline1      = 'Do you want to continue ?'
    titel          = 'Confirmation'
    cancel_display = 'X'
  IMPORTING
    answer         = w_return.
WRITE : w_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : In the W_RETURN variable will hold the return value like -&lt;/P&gt;&lt;P&gt;          when the &lt;STRONG&gt;YES&lt;/STRONG&gt; will be selected the value will be &lt;STRONG&gt;J&lt;/STRONG&gt; and&lt;/P&gt;&lt;P&gt;          when the &lt;STRONG&gt;NO&lt;/STRONG&gt; will be selected the value will be &lt;STRONG&gt;N&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574820#M1271527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574821#M1271528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try this:&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TITLEBAR                    = 'Test Pop Up'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIAGNOSE_OBJECT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    text_question               = 'Do you really want to close the debugger?'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TEXT_BUTTON_1               = 'Yes'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_1               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TEXT_BUTTON_2               = 'No'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ICON_BUTTON_2               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DEFAULT_BUTTON              = '1'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DISPLAY_CANCEL_BUTTON       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USERDEFINED_F1_HELP         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  START_COLUMN                = 25&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  START_ROW                   = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POPUP_TYPE                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_QUICKINFO_BUTTON_1       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_QUICKINFO_BUTTON_2       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ANSWER                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TEXT_NOT_FOUND              = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                      = 2.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574821#M1271528</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2009-05-05T12:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: FM for pop-up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574822#M1271529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 12:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-for-pop-up/m-p/5574822#M1271529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T12:54:30Z</dc:date>
    </item>
  </channel>
</rss>

