<?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: Enabling all fields in table control after error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597796#M1758214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If thats the case remove the message type from E to S and add the comment Display like E for your message. This will help to execute the PBO on next hit . &lt;/P&gt;&lt;P&gt;Also as i said set a flag if the error exist and check while performing save or any other update activities .&lt;/P&gt;&lt;P&gt;it will help in avoiding update with non validated values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you have other fields to become non editable follow as i said in my previous thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 13:04:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-10T13:04:03Z</dc:date>
    <item>
      <title>Enabling all fields in table control after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597792#M1758210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created table control and populated values successfully. the issue is if no row is selected in the table control and save button is clicked it should through error message. the message is coming sucessfully but only first row is enabled for input again not other rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my flow logic is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; PROCESS BEFORE &lt;SPAN class="L1S52"&gt;OUTPUT.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; po_paymt_it &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; wa_po_paymt_it &lt;SPAN class="L1S52"&gt;WITH&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;CONTROL&lt;/SPAN&gt; tc .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MODULE&lt;/SPAN&gt; display.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDLOOP&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;PROCESS AFTER &lt;SPAN class="L1S52"&gt;INPUT&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S52"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; po_paymt_it.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CHAIN.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;FIELD&lt;/SPAN&gt;: po_paymt_it-EBELN,SEL1,EBELP,matnr,mblnr,belnr,xblnr,menge..&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MODULE&lt;/SPAN&gt; validate .&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;MODULE&lt;/SPAN&gt; modify_table.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ENDCHAIN.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;endloop&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; user_command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;my validate module is as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;module VALIDATE &lt;SPAN class="L1S52"&gt;input&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;if sy-ucomm = &lt;SPAN class="L1S33"&gt;'BDC'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;READ&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TABLE&lt;/SPAN&gt; po_paymt_it &lt;SPAN class="L1S52"&gt;INTO&lt;/SPAN&gt; wa_po_paymt_it1 &lt;SPAN class="L1S52"&gt;with&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; sel1 = &lt;SPAN class="L1S33"&gt;'X'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;if&lt;/SPAN&gt; sy-subrc &lt;SPAN class="L1S52"&gt;ne&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;message&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'Please select atleast one row'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S33"&gt;'E'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;endif&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;exit&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;endif&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;endmodule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;pls share ideas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 11:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597792#M1758210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-10T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling all fields in table control after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597793#M1758211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Chain end chain with field for validation it will only enable those fields specified in the chain end chain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your requirement is to make all the entries editable. so definitely you have to remove the validation from the CHAIN ... ENDCHAIN. and need to write it in a separate module in PAI before module user command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have other fields in screen and if you require these fields to be non editable&amp;nbsp; till this error is cleared,&amp;nbsp; set a flag if error exist and amke these fields non editable in PBO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 11:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597793#M1758211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-10T11:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling all fields in table control after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597794#M1758212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Devanand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved the &lt;SPAN class="L1S52"&gt;MODULE&lt;/SPAN&gt; validate before user command&amp;nbsp; after pai endloop. now also the issue exists. and also after raising error message pbo is not firing. now the first line which is enabled previously also get disabled . correct me if i am doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 12:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597794#M1758212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-10T12:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling all fields in table control after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597795#M1758213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shanmuga Senthil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One of the solution for your case is changing your error message as,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN class="L1S33" style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;'Please select atleast one row''&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp; TYPE 'S' DISPLAY LIKE 'E'.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leave to screen XXXX,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 12:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597795#M1758213</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2013-07-10T12:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling all fields in table control after error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597796#M1758214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If thats the case remove the message type from E to S and add the comment Display like E for your message. This will help to execute the PBO on next hit . &lt;/P&gt;&lt;P&gt;Also as i said set a flag if the error exist and check while performing save or any other update activities .&lt;/P&gt;&lt;P&gt;it will help in avoiding update with non validated values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you have other fields to become non editable follow as i said in my previous thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 13:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-all-fields-in-table-control-after-error-message/m-p/9597796#M1758214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-10T13:04:03Z</dc:date>
    </item>
  </channel>
</rss>

