<?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: Modulepool table control line item validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611703#M1862899</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;yes&amp;nbsp; my all 7 line items marked as SEL = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how to check line item wise one by one ...that SERNR entry&amp;nbsp; should n't be left blank ..&lt;/P&gt;&lt;P&gt;If first line item enter SERNR value as 2 , then it shoud throw again error message because 2 to 7 line item sernr value is blank..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to do this ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 13:53:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-24T13:53:30Z</dc:date>
    <item>
      <title>Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611701#M1862897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a prob. when trying to validate line item wise in table control.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am explaining my requirement below.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have no. of line items which are displaying table control screen output.one field is&amp;nbsp; SERNR&amp;nbsp; (seriel number).(Always editable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user selects all the line items ex. 7 lines (rows) ..and press check button ..It shoud give an error message&lt;/P&gt;&lt;P&gt;Message ''Serial number should not be blank''' type 'E'... Now user put&amp;nbsp; enter and system allowing to enter&amp;nbsp; the&lt;/P&gt;&lt;P&gt;serial number . I put the value ex. 2 in the first line item&amp;nbsp;&amp;nbsp; ..Then check button press, system again should&lt;/P&gt;&lt;P&gt;give the same error message.. because other 6 line items (SERNR) field&amp;nbsp; still&amp;nbsp; blank ..So the error message should follow&lt;/P&gt;&lt;P&gt;all line items check unless and until the SERNR number has hold&amp;nbsp; some value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve&amp;nbsp; this validation ??Pl. help me ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611701#M1862897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611702#M1862898</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 you wan to manage a validation for a single line of table control, you need to insert it in the LOOP of PAI, if you want to manage a validation for all lines of table control you need to insert it after the LOOP of PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611702#M1862898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611703#M1862899</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;yes&amp;nbsp; my all 7 line items marked as SEL = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how to check line item wise one by one ...that SERNR entry&amp;nbsp; should n't be left blank ..&lt;/P&gt;&lt;P&gt;If first line item enter SERNR value as 2 , then it shoud throw again error message because 2 to 7 line item sernr value is blank..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to do this ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611703#M1862899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611704#M1862900</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;PRE&gt;&lt;CODE&gt;
&lt;P&gt;PROCESS PAI.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; LOOP ......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD: SERNR MODULE CHECK_SERNR. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;MODULE CHECK_SERNR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; CHECK SERNR IS INITIAL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ----&amp;gt; error message&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;ENDMODULE.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not sure it's want you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611704#M1862900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611705#M1862901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pl. anybody reply ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your expertise..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611705#M1862901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611706#M1862902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I said before you need to insert a check out of LOOP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;PROCESS PAI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; LOOP...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; MODULE CHECK_ALL_SERNR.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;MODULE CHECK_ALL_SERNR.&lt;/SPAN&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;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;* Check if all items all selected:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT ITAB WHERE MARK = 'X'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ITAB-SERNR IS INITIAL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSGE .......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you insert the check out of LOOP of table control you can't use an error message else the user can't update the data, so you should use an information message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should clear OK_CODE in order to stop the action if the error occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;MODULE CHECK_ALL_SERNR.&lt;/SPAN&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;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;* Check if all items all selected:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT ITAB WHERE MARK = 'X'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF ITAB-SERNR IS INITIAL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSGE .......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR OK_CODE.&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611706#M1862902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611707#M1862903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Max....I think it will work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611707#M1862903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T14:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modulepool table control line item validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611708#M1862904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you think my suggestion can help you, why have you mark your answer? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 15:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-table-control-line-item-validation/m-p/10611708#M1862904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-24T15:18:42Z</dc:date>
    </item>
  </channel>
</rss>

