<?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: Input fields not editable after error message displayed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946209#M1487976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. put you module which giving the error message in the PAI not PBO.&lt;/P&gt;&lt;P&gt;2. Using Chain to combine the several fields you want to be fillable after error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 08:31:35 GMT</pubDate>
    <dc:creator>former_member208517</dc:creator>
    <dc:date>2010-06-01T08:31:35Z</dc:date>
    <item>
      <title>Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946205#M1487972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;I am developing dynpro  transaction . I one dialog screen user needs to input values in FROM and TO  fields . &lt;/P&gt;&lt;P&gt;In case when wrong values are entered program  displays popup with error  message   &lt;/P&gt;&lt;P&gt;this is the code &lt;/P&gt;&lt;P&gt;    message e152(5c) with text-006 text-007. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After user hits the 'enter' message disappears but input field on the screen are not editable any more. &lt;/P&gt;&lt;P&gt;What user wants is editable input fields ,and  the same  values remaining in them like before error message was displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't have to be error message it can be another type like I or W. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice. &lt;/P&gt;&lt;P&gt;Krsto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 14:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946205#M1487972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946206#M1487973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
message w152(5c) with text-006 text-007 display like 'E'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now, after pressing Enter key you will be able to correct the entry in that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 14:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946206#M1487973</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-05-31T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946207#M1487974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Krsto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Field statement or Chain Endchain statements in PAI of the screen , which makes the field ready for input after displaying error message.&lt;/P&gt;&lt;P&gt;eg: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;process after input.
field field-name module field_validation.

"Inside the module display the error message.
module field_validation input.
if cond1 .
 message e152(5c) with text-006 text-007. 
endif.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope it solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 04:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946207#M1487974</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-06-01T04:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946208#M1487975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krsto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put your field in chain and endchain statement&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field field-name module field_validation.&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;Regards,&lt;/P&gt;&lt;P&gt;Md Ziauddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946208#M1487975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T08:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946209#M1487976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. put you module which giving the error message in the PAI not PBO.&lt;/P&gt;&lt;P&gt;2. Using Chain to combine the several fields you want to be fillable after error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946209#M1487976</guid>
      <dc:creator>former_member208517</dc:creator>
      <dc:date>2010-06-01T08:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946210#M1487977</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;Sounds interesting, but i need some clarification .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All this happens in PAI in 'user commad module '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is actuall  code .&lt;/P&gt;&lt;P&gt;      if gv_user_from is not initial and&lt;/P&gt;&lt;P&gt;         gv_user_to   is not initial.&lt;/P&gt;&lt;P&gt;*check if FROM exist&lt;/P&gt;&lt;P&gt;        read table i_lrf_wkqu with key bname = gv_user_from.&lt;/P&gt;&lt;P&gt;        if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          message e105(5a) with gv_user_from.&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          gv_tabix_from = sy-tabix.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krsto Gjergja on Jun 1, 2010 1:00 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krsto Gjergja on Jun 1, 2010 1:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946210#M1487977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946211#M1487978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krsto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any error message without chain endchain , makes input field only in display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain and Endchain , specifically used to show error messages in Screen programming so that it will be available for input again &lt;/P&gt;&lt;P&gt;use the below code.&lt;/P&gt;&lt;P&gt;it will work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;process after input."this should be in Screen Flowlogic
Chain.
field field-name module field_validation.
Endchain.
 
"Inside the module display the error message.
module field_validation input.
if cond1 .
 message e152(5c) with text-006 text-007. 
endif.
endmodule.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 11:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946211#M1487978</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-06-01T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Input fields not editable after error message displayed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946212#M1487979</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;For this u have to write what ever the fields u wnat to enable after entering the wrong input ....between the CHAIN....END CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field a ,b module m1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 09:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-fields-not-editable-after-error-message-displayed/m-p/6946212#M1487979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T09:20:53Z</dc:date>
    </item>
  </channel>
</rss>

