<?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 fielld validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fielld-validations/m-p/2225450#M478172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all &lt;/P&gt;&lt;P&gt;the following is written in flow logic can u pls explain this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in the screen 6 input fields are  there.&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  FIELD INPUT1 MODULE MODULE_1.&lt;/P&gt;&lt;P&gt;  FIELD INPUT2 MODULE MODULE_2.&lt;/P&gt;&lt;P&gt;  FIELD INPUT3 MODULE MODULE_3.&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;    FIELD INPUT4.&lt;/P&gt;&lt;P&gt;    MODULE CHAIN_MODULE_1.&lt;/P&gt;&lt;P&gt;    FIELD INPUT5.&lt;/P&gt;&lt;P&gt;    FIELD INPUT6 MODULE CHAIN_MODULE_2.&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;  MODULE EXECUTION.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             program is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      input1 TYPE i, input2 TYPE i, input3 TYPE i,&lt;/P&gt;&lt;P&gt;      input4 TYPE i, input5 TYPE i, input6 TYPE i,&lt;/P&gt;&lt;P&gt;      sum TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE init_screen_100 OUTPUT.&lt;/P&gt;&lt;P&gt;  CLEAR: input1, input2, input3, input4, input5, input6.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STATUS_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_1 INPUT.&lt;/P&gt;&lt;P&gt;  IF input1 &amp;lt; 50.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '50' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_2 INPUT.&lt;/P&gt;&lt;P&gt;  IF input2 &amp;lt; 100.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '100' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_3 INPUT.&lt;/P&gt;&lt;P&gt;  IF input3 &amp;lt; 150.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '150' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE chain_module_1 INPUT.&lt;/P&gt;&lt;P&gt;  IF input4 &amp;lt; 10.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-003 '10' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE chain_module_2 INPUT.&lt;/P&gt;&lt;P&gt;  CLEAR sum.&lt;/P&gt;&lt;P&gt;  sum = sum + : input4, input5, input6.&lt;/P&gt;&lt;P&gt;  IF sum &amp;lt;= 100.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-004 '100' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE execution INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE i888(sabapdocu) WITH text-005.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 May 2007 06:18:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-06T06:18:34Z</dc:date>
    <item>
      <title>fielld validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fielld-validations/m-p/2225450#M478172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all &lt;/P&gt;&lt;P&gt;the following is written in flow logic can u pls explain this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in the screen 6 input fields are  there.&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  FIELD INPUT1 MODULE MODULE_1.&lt;/P&gt;&lt;P&gt;  FIELD INPUT2 MODULE MODULE_2.&lt;/P&gt;&lt;P&gt;  FIELD INPUT3 MODULE MODULE_3.&lt;/P&gt;&lt;P&gt;  CHAIN.&lt;/P&gt;&lt;P&gt;    FIELD INPUT4.&lt;/P&gt;&lt;P&gt;    MODULE CHAIN_MODULE_1.&lt;/P&gt;&lt;P&gt;    FIELD INPUT5.&lt;/P&gt;&lt;P&gt;    FIELD INPUT6 MODULE CHAIN_MODULE_2.&lt;/P&gt;&lt;P&gt;  ENDCHAIN.&lt;/P&gt;&lt;P&gt;  MODULE EXECUTION.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             program is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      input1 TYPE i, input2 TYPE i, input3 TYPE i,&lt;/P&gt;&lt;P&gt;      input4 TYPE i, input5 TYPE i, input6 TYPE i,&lt;/P&gt;&lt;P&gt;      sum TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE init_screen_100 OUTPUT.&lt;/P&gt;&lt;P&gt;  CLEAR: input1, input2, input3, input4, input5, input6.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STATUS_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_1 INPUT.&lt;/P&gt;&lt;P&gt;  IF input1 &amp;lt; 50.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '50' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_2 INPUT.&lt;/P&gt;&lt;P&gt;  IF input2 &amp;lt; 100.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '100' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_3 INPUT.&lt;/P&gt;&lt;P&gt;  IF input3 &amp;lt; 150.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-001 '150' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE chain_module_1 INPUT.&lt;/P&gt;&lt;P&gt;  IF input4 &amp;lt; 10.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-003 '10' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE chain_module_2 INPUT.&lt;/P&gt;&lt;P&gt;  CLEAR sum.&lt;/P&gt;&lt;P&gt;  sum = sum + : input4, input5, input6.&lt;/P&gt;&lt;P&gt;  IF sum &amp;lt;= 100.&lt;/P&gt;&lt;P&gt;    MESSAGE e888(sabapdocu) WITH text-004 '100' text-002.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE execution INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE i888(sabapdocu) WITH text-005.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 06:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fielld-validations/m-p/2225450#M478172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T06:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: fielld validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fielld-validations/m-p/2225451#M478173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;Still you have not seen the rules and Regulations of SDN&lt;/P&gt;&lt;P&gt;It is a good practice in SDn to reward points for the useful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample Program for a Module Pool program  giving the example of how to validate the fields in PAI.&lt;/P&gt;&lt;P&gt;There are some 6 input fields on the screen,&lt;/P&gt;&lt;P&gt;When you enter the values less than 50 in first input field a message is displayed.&lt;/P&gt;&lt;P&gt;Similarly in Second input field when a value less than 100 is entered a message is displayed similarly for field 3 it is less than 150.&lt;/P&gt;&lt;P&gt;in field 4 when a values less that 10 is entered displays a message&lt;/P&gt;&lt;P&gt;and lastly in the field 6 when the sum is less that or equal to 100 a message is displayed.&lt;/P&gt;&lt;P&gt;So this means that based on some input conditions you will trigger messages as per your requirement.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Reward Points if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 07:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fielld-validations/m-p/2225451#M478173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T07:10:57Z</dc:date>
    </item>
  </channel>
</rss>

