<?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: How to trigger a message box? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814305#M917435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P&gt;             I am not geeting how my message box will trigger where i have to give text in my message box like Data will be lost do you want to continue? YES or NO tabs and all i have implemented your code as ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  leave_dynpro  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module leave_dynpro input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATNO input1 MODULE check_1 ON REQUEST. &lt;/P&gt;&lt;P&gt;PATWT input2 MODULE check_2 ON REQUEST. &lt;/P&gt;&lt;P&gt;CHAIN. &lt;/P&gt;&lt;P&gt;NOPIC input3. &lt;/P&gt;&lt;P&gt;PATNO input4. &lt;/P&gt;&lt;P&gt;PATWT input5. &lt;/P&gt;&lt;P&gt;MODULE check_chain ON CHAIN-REQUEST. &lt;/P&gt;&lt;P&gt;ENDCHAIN. &lt;/P&gt;&lt;P&gt;endmodule.                 " leave_dynpro  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where PATNO and PATWT are me fields...in my table and ZTABLE-patno and ZTABLE-PATWT is my input/outpur field name..&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 May 2008 05:38:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-11T05:38:56Z</dc:date>
    <item>
      <title>How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814301#M917431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;                   I have created one screen in which i am having 10 input/output fields where if i have entered data in 4 or any number of fields i dont want to enter at that time so when i click back a message box should trigger saying data will lost do you want to continue YES or NO? Please can any one tell me procedure for triggering this message box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks will be rewarded for helpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 03:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814301#M917431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-11T03:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814302#M917432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the standard message boxes can be found in function group SPO1, in which most of them are obsolete. But you can use this one:POPUP_TO_CONFIRM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can trigger this pop-up in your module pool by using the CHAIN ENDCHAIN block. Within this statement define all your ten fields and a module which can trigger the message box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call dialog modules to check input values. The screen fields input1 and input2 are checked in individual dialog modules check_1 and check_2. The screen fields input3 to input5 are checked in a processing chain in a shared dialog module check_chain. Warning or error messages in the dialog modules either make only one input field input1 or input2 ready for input again or all three input fields input3 to input5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT. &lt;/P&gt;&lt;P&gt;  MODULE leave_dynpro AT EXIT-COMMAND. &lt;/P&gt;&lt;P&gt;  FIELD input1 MODULE check_1 ON REQUEST. &lt;/P&gt;&lt;P&gt;  FIELD input2 MODULE check_2 ON REQUEST. &lt;/P&gt;&lt;P&gt;  CHAIN. &lt;/P&gt;&lt;P&gt;    FIELD input3. &lt;/P&gt;&lt;P&gt;    FIELD input4. &lt;/P&gt;&lt;P&gt;    FIELD input5. &lt;/P&gt;&lt;P&gt;    MODULE check_chain ON CHAIN-REQUEST. &lt;/P&gt;&lt;P&gt;  ENDCHAIN. &lt;/P&gt;&lt;P&gt;  MODULE handle_user_command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the part between CHAIN and ENDCHAIN if of interest to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 04:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814302#M917432</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-11T04:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814303#M917433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello thks for responding i got the logic but i am unable to make it can you explain me more pricisely with any example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 04:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814303#M917433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-11T04:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814304#M917434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is it you do not understand? The way the module check_chain will look like, or the part between CHAIN end ENDCHAIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 05:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814304#M917434</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-11T05:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814305#M917435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir,&lt;/P&gt;&lt;P&gt;             I am not geeting how my message box will trigger where i have to give text in my message box like Data will be lost do you want to continue? YES or NO tabs and all i have implemented your code as ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  leave_dynpro  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module leave_dynpro input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATNO input1 MODULE check_1 ON REQUEST. &lt;/P&gt;&lt;P&gt;PATWT input2 MODULE check_2 ON REQUEST. &lt;/P&gt;&lt;P&gt;CHAIN. &lt;/P&gt;&lt;P&gt;NOPIC input3. &lt;/P&gt;&lt;P&gt;PATNO input4. &lt;/P&gt;&lt;P&gt;PATWT input5. &lt;/P&gt;&lt;P&gt;MODULE check_chain ON CHAIN-REQUEST. &lt;/P&gt;&lt;P&gt;ENDCHAIN. &lt;/P&gt;&lt;P&gt;endmodule.                 " leave_dynpro  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where PATNO and PATWT are me fields...in my table and ZTABLE-patno and ZTABLE-PATWT is my input/outpur field name..&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 05:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814305#M917435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-11T05:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814306#M917436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CHAIN. &lt;/P&gt;&lt;P&gt;NOPIC input3. &lt;/P&gt;&lt;P&gt;PATNO input4. &lt;/P&gt;&lt;P&gt;PATWT input5. &lt;/P&gt;&lt;P&gt;MODULE check_chain ON CHAIN-REQUEST. &lt;/P&gt;&lt;P&gt;ENDCHAIN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN. &lt;/P&gt;&lt;P&gt;FIELD NOPIC. &lt;/P&gt;&lt;P&gt;FIELD PATNO. &lt;/P&gt;&lt;P&gt;FIELD PATWT.&lt;/P&gt;&lt;P&gt;MODULE check_chain ON CHAIN-REQUEST. &lt;/P&gt;&lt;P&gt;ENDCHAIN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on check_chain and module will be created.&lt;/P&gt;&lt;P&gt;In this module use Pattern button and enter the name of the function module I mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test this function module in SE37 and you will see that it is self explanatory.&lt;/P&gt;&lt;P&gt;There are text lines, question line, title and options for buttons. Read the Documentation and you will find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would give you some coding if I had a SAP system available, but I don't right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this works out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2008 07:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814306#M917436</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-11T07:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger a message box?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814307#M917437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;        when i am double clicking on check_chain  it is showing warning message like your source code is restricted to 72 lines. Can you tell me where i am going error here.&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 02:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-trigger-a-message-box/m-p/3814307#M917437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T02:41:21Z</dc:date>
    </item>
  </channel>
</rss>

