<?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: Validations on Dialogur programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206176#M132292</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;You cannot perform input checks in PAI modules of programs until you have transported the contents of the input fields to the ABAP program. You can then use logical expressions to check the values that the user entered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking Single Fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;If you send a warning or error message from a module &amp;lt;mod&amp;gt; that you called using a FIELD statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD &amp;lt;f&amp;gt; MODULE &amp;lt;mod&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the corresponding input field on the current screen (and only this field) is made ready for input again, allowing the user to enter a new value. If the field is only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking a Set of Fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you send a warning or error message from a module &amp;lt;mod&amp;gt; that you called using a FIELD statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD: &amp;lt;f1&amp;gt;, &amp;lt;f 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;  MODULE &amp;lt;mod1&amp;gt;. &lt;/P&gt;&lt;P&gt;  FIELD: &amp;lt;g1&amp;gt;, &amp;lt;g 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;  MODULE &amp;lt;mod2&amp;gt;. &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Apr 2006 07:45:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-15T07:45:07Z</dc:date>
    <item>
      <title>Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206171#M132287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I called a screen in Report program.&lt;/P&gt;&lt;P&gt;I designed a screen 100. In that i have taken 2 radiobuttons one is check1 and another is check 2. if once click the check1 radio button and corresponding input fields are name1 name2 and one checkbox ticked are entered then press EXECUTE push button it will start processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same as above for check2 radio button also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my problem is when i check the any radiobutton it starts processing without giving any other input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know how to validate inputs in dialogue programming. i had writting PAI code in report only by specifying the relevent MODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please explain in brief??&lt;/P&gt;&lt;P&gt;i would appreciate an earlier reply?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206171#M132287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206172#M132288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prabhakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do validation using chain and endchain, &lt;/P&gt;&lt;P&gt;and field fieldname module module name.&lt;/P&gt;&lt;P&gt;Check these examples...&lt;/P&gt;&lt;P&gt;for input check in flow logic.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;demo_dynpro_value_select &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;for input checks in program&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;demo_dynpro_field_chain&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;for automatic field checks&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;demo_dynpro_automatic_checks&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206172#M132288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206173#M132289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay,&lt;/P&gt;&lt;P&gt;could you please tell me how to validate fields in CHAIN and ENDCHAIN. and can we validate checkboxes, radiobuttons in CHAIN and ENDCHAIN statements &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206173#M132289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206174#M132290</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 am confused a little, you are saying you have a REPORT PROGRAM. And then you say you have a Screen 100. So you have created a EXECUTABLE PROGRAM and added screens to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In whichever screen you have fields, you will have PROCESS BEFORE OUTPUT (PBO) and PROCESS AFTER INPUT (PAI). You will get the values entered by the user on the screen in PAI.&lt;/P&gt;&lt;P&gt;You can do the validations there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206174#M132290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206175#M132291</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;CHAIN&lt;/P&gt;&lt;P&gt; IF CHECKBOX = 'X'. &lt;/P&gt;&lt;P&gt;   DO processing&lt;/P&gt;&lt;P&gt; ELSE&lt;/P&gt;&lt;P&gt;   MESSAGE E000(00) with 'Please check the CHECK BOX'.&lt;/P&gt;&lt;P&gt; ENDIF&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206175#M132291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206176#M132292</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;You cannot perform input checks in PAI modules of programs until you have transported the contents of the input fields to the ABAP program. You can then use logical expressions to check the values that the user entered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking Single Fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;If you send a warning or error message from a module &amp;lt;mod&amp;gt; that you called using a FIELD statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD &amp;lt;f&amp;gt; MODULE &amp;lt;mod&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the corresponding input field on the current screen (and only this field) is made ready for input again, allowing the user to enter a new value. If the field is only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking a Set of Fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you send a warning or error message from a module &amp;lt;mod&amp;gt; that you called using a FIELD statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD: &amp;lt;f1&amp;gt;, &amp;lt;f 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;  MODULE &amp;lt;mod1&amp;gt;. &lt;/P&gt;&lt;P&gt;  FIELD: &amp;lt;g1&amp;gt;, &amp;lt;g 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;  MODULE &amp;lt;mod2&amp;gt;. &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206176#M132292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206177#M132293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;For doing this you have to code your logic in PBO and PAI of that screen&lt;/P&gt;&lt;P&gt;You can arrange all your radiobuttons, I/P boxes as well as checkboxes (with modif id) on screen 100&lt;/P&gt;&lt;P&gt;you can make invisible  name1, name2 and checkbox using loop at screen and modify screen in PBO module and than in the PAI of screen.. you can make your i/p boxes as well as chek box visible using loop at screen and modify screen depending on the selected radio button (case statement). You can validate your entries also in PAI.&lt;/P&gt;&lt;P&gt;I hope this is what you want to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2006 07:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206177#M132293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-15T07:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Validations on Dialogur programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206178#M132294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply make your name1 &amp;amp; name2 fields as mandatory/obligatory, if they are always supposed to have a value before executing any further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraju Chidurupalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2006 05:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-dialogur-programming/m-p/1206178#M132294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-16T05:47:39Z</dc:date>
    </item>
  </channel>
</rss>

