<?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: check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456801#M830553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use chain and endchain in the Process after output, and write the module &lt;/P&gt;&lt;P&gt;between chain and endchain to that, check any field has value, in the PBO event&lt;/P&gt;&lt;P&gt;make the screen remainig fields are required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process Before Output.&lt;/P&gt;&lt;P&gt;module screen_cahnges.&lt;/P&gt;&lt;P&gt;process after output.&lt;/P&gt;&lt;P&gt;Chain.&lt;/P&gt;&lt;P&gt;field f1 module f1_chk.&lt;/P&gt;&lt;P&gt;field f2 module f1_chk.&lt;/P&gt;&lt;P&gt;field f3 module f1_chk.&lt;/P&gt;&lt;P&gt;field f4 module f1_chk.&lt;/P&gt;&lt;P&gt;field f5 module f1_chk.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module f1_chk.&lt;/P&gt;&lt;P&gt;if f1 is not initial.&lt;/P&gt;&lt;P&gt;flg = '1'.&lt;/P&gt;&lt;P&gt;elseif f2 is not initial.&lt;/P&gt;&lt;P&gt;flg = '2'.&lt;/P&gt;&lt;P&gt;elseif f3 is not initial.&lt;/P&gt;&lt;P&gt;flg = '3'.&lt;/P&gt;&lt;P&gt;elseif f4 is not initial.&lt;/P&gt;&lt;P&gt;flg = '4'.&lt;/P&gt;&lt;P&gt;elseif f5 is not initial.&lt;/P&gt;&lt;P&gt;flg = '5'.&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 screen_changes.&lt;/P&gt;&lt;P&gt;if flg ne ''.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;case flg.&lt;/P&gt;&lt;P&gt;when 1.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 2.&lt;/P&gt;&lt;P&gt;if screen-name = 'F1' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 3.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F1' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 4.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F1'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 5.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F1' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&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;Hope it works, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 06:54:24 GMT</pubDate>
    <dc:creator>praveen_hannu</dc:creator>
    <dc:date>2008-02-18T06:54:24Z</dc:date>
    <item>
      <title>check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456797#M830549</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 have five fields in the screen I want to add logic in such a way that if user enters any one field he has to enter all the remaining field or else should keep all fields empty.&lt;/P&gt;&lt;P&gt; I know the place where i can put the check statement but it require to consider all permutation and combination which is not feasible.Please suggest some other short logic .&lt;/P&gt;&lt;P&gt; Its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456797#M830549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456798#M830550</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 flow logic u can use the below statement for &lt;STRONG&gt;dat field&lt;/STRONG&gt; which if entered all other flds also have to be entered.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field...fld1........module &amp;lt;chk_other_flds&amp;gt;.........&lt;STRONG&gt;on input&lt;/STRONG&gt;. check syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so &lt;STRONG&gt;chk_other_flds&lt;/STRONG&gt; module gets triggered only if  user enters input on &lt;STRONG&gt;fld1&lt;/STRONG&gt; field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456798#M830550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456799#M830551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Tanisha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it sel screen or Module pool screen..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is Sel screen use loop at screen ... and endloop.&lt;/P&gt;&lt;P&gt;in between add the logic based up on the field entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is module pool screen:-&lt;/P&gt;&lt;P&gt;validate that field and if it is not initial then only make other fields to get enable mode.&lt;/P&gt;&lt;P&gt;else not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456799#M830551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456800#M830552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in at selection screen output.&lt;/P&gt;&lt;P&gt;count how many fields are initial.&lt;/P&gt;&lt;P&gt;now  u need to write if statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not (count = 0 or count = 5)&lt;/P&gt;&lt;P&gt;raise an  error message&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456800#M830552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456801#M830553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use chain and endchain in the Process after output, and write the module &lt;/P&gt;&lt;P&gt;between chain and endchain to that, check any field has value, in the PBO event&lt;/P&gt;&lt;P&gt;make the screen remainig fields are required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process Before Output.&lt;/P&gt;&lt;P&gt;module screen_cahnges.&lt;/P&gt;&lt;P&gt;process after output.&lt;/P&gt;&lt;P&gt;Chain.&lt;/P&gt;&lt;P&gt;field f1 module f1_chk.&lt;/P&gt;&lt;P&gt;field f2 module f1_chk.&lt;/P&gt;&lt;P&gt;field f3 module f1_chk.&lt;/P&gt;&lt;P&gt;field f4 module f1_chk.&lt;/P&gt;&lt;P&gt;field f5 module f1_chk.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module f1_chk.&lt;/P&gt;&lt;P&gt;if f1 is not initial.&lt;/P&gt;&lt;P&gt;flg = '1'.&lt;/P&gt;&lt;P&gt;elseif f2 is not initial.&lt;/P&gt;&lt;P&gt;flg = '2'.&lt;/P&gt;&lt;P&gt;elseif f3 is not initial.&lt;/P&gt;&lt;P&gt;flg = '3'.&lt;/P&gt;&lt;P&gt;elseif f4 is not initial.&lt;/P&gt;&lt;P&gt;flg = '4'.&lt;/P&gt;&lt;P&gt;elseif f5 is not initial.&lt;/P&gt;&lt;P&gt;flg = '5'.&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 screen_changes.&lt;/P&gt;&lt;P&gt;if flg ne ''.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;case flg.&lt;/P&gt;&lt;P&gt;when 1.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 2.&lt;/P&gt;&lt;P&gt;if screen-name = 'F1' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 3.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F1' or screen-name = 'F4'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when 4.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F1'  or screen-name = 'F5' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 5.&lt;/P&gt;&lt;P&gt;if screen-name = 'F2' or screen-name = 'F3' or screen-name = 'F4'  or screen-name = 'F1' ..&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&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;Hope it works, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check/m-p/3456801#M830553</guid>
      <dc:creator>praveen_hannu</dc:creator>
      <dc:date>2008-02-18T06:54:24Z</dc:date>
    </item>
  </channel>
</rss>

