<?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: Screen painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835336#M663859</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;for ur first condition. to come out of screen without giving mandatory fields use AT USER-COMMAND event as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic create a new module as&lt;/P&gt;&lt;P&gt; module exittt -&amp;gt; double click on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND ON MODULE EXIT.&lt;/P&gt;&lt;P&gt;     leave to list-processing .&lt;/P&gt;&lt;P&gt;   or ur logic here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. to clear the field before displaying error message to user as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before writing error message use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;CLEAR P_MATNR.&lt;/P&gt;&lt;P&gt;MESSAGE E000 WITH 'ENTER MATERIAL NO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u wrote ur validation in AT SELECTION SCREEN EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as for ex to display error message if p_matnr field value is not correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara where matnr in p_matnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CLEAR P_MATNR. /// WRITE CLEAR STATEMENT HERE.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0. &lt;/P&gt;&lt;P&gt;  message E000 with ' GIVE CORRECT VALUE'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2007 09:35:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-01T09:35:53Z</dc:date>
    <item>
      <title>Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835330#M663853</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;             In one screen(designed using screen painter) I am giving some mandatory fields. I am not entering values on those fields and if I try to do back button it is not going but it is displaying the message like enter mandatory fields I don&amp;#146;t want like that so please help me how to activate exit and cancel buttons I mean how to write the logic for this. And one more doubt is in one screen I am giving order number and I am displaying message if order number is not exist like &amp;#145;order is not exist&amp;#146; it is displaying the message but I want to clear the order number entered on the screen at the time of displaying the error message itself. Please tell me the logic and where I can insert that logic. Please help me. I will give the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835330#M663853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835331#M663854</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;Open the Screen in Screen Painter &amp;amp; goto field Attributes.&lt;/P&gt;&lt;P&gt;Instead of MANDATORY, change it to REQUIRED.&lt;/P&gt;&lt;P&gt;Activate the screen&lt;/P&gt;&lt;P&gt;&amp;amp; run the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835331#M663854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835332#M663855</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;for clearing the Order number please clear the Order number after you are validating it.... i.e. before displaying the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Jayant Sahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835332#M663855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835333#M663856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the button type to 'E'&lt;/P&gt;&lt;P&gt;On-exit command...so that validation checks will not be applicable for those buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835333#M663856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835334#M663857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi babji.&lt;/P&gt;&lt;P&gt;after displaying message u just clear the field , using clear statement .&lt;/P&gt;&lt;P&gt;use LEAVE PROGRAM to leave the screen.&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;prajwal.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835334#M663857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835335#M663858</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;For activating the back and cancel button, without entering any mandatory values, you will have to add &amp;lt;b&amp;gt;at exit command&amp;lt;/b&amp;gt; FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module with the addition AT EXIT-COMMAND is processed before the automatic field input checks.&lt;/P&gt;&lt;P&gt;You can use it for navigation. You may only use the AT EXIT-COMMAND addition with one module for&lt;/P&gt;&lt;P&gt;each screen. It may not have an associated FIELD statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For clearing the order number, clear the contents before u display the message, u will will be having the if condition to check the order number, add the code in if condition in the PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hope this is helpful, Do reward.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Runal Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835335#M663858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835336#M663859</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;for ur first condition. to come out of screen without giving mandatory fields use AT USER-COMMAND event as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic create a new module as&lt;/P&gt;&lt;P&gt; module exittt -&amp;gt; double click on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND ON MODULE EXIT.&lt;/P&gt;&lt;P&gt;     leave to list-processing .&lt;/P&gt;&lt;P&gt;   or ur logic here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. to clear the field before displaying error message to user as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before writing error message use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;CLEAR P_MATNR.&lt;/P&gt;&lt;P&gt;MESSAGE E000 WITH 'ENTER MATERIAL NO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u wrote ur validation in AT SELECTION SCREEN EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as for ex to display error message if p_matnr field value is not correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara where matnr in p_matnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CLEAR P_MATNR. /// WRITE CLEAR STATEMENT HERE.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0. &lt;/P&gt;&lt;P&gt;  message E000 with ' GIVE CORRECT VALUE'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835336#M663859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835337#M663860</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;if u want to do that when user press BACK button and mendatory fields are not filled than also it should go back than give &amp;lt;b&amp;gt;'E' function type&amp;lt;/b&amp;gt; of that BACK button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now make one module in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;MODULE exit_0100 AT EXIT-COMMAND&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in module write like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODULE exit_0100 INPUT.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ENDMODULE.                 " exit_0100  INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 09:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/2835337#M663860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T09:38:39Z</dc:date>
    </item>
  </channel>
</rss>

