<?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: Making a screen exit field non-editable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462440#M1415725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mallika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-tcode = 'ME31L' OR sy-tcode = 'ME32L'.

loop at screen.
if screen-name = 'chkbox'.
screen-input = '0'.
modify screen.
endif.
endloop
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2009 08:36:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-17T08:36:54Z</dc:date>
    <item>
      <title>Making a screen exit field non-editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462437#M1415722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a checkbox in a screen exit of MM06E005 enhancement. I want to make this field non editable in few transactions.&lt;/P&gt;&lt;P&gt;I put the below logic in PBO function exit EXIT_SAPMM06E_006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode = 'ME31L' and sy-tcode = 'ME32L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'chkbox'.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this logic is not working. Please help me out the way to achieve it..&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mallika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 07:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462437#M1415722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T07:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Making a screen exit field non-editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462438#M1415723</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;Check ur if condition. &lt;/P&gt;&lt;P&gt;sy-tcode cannot be 'ME31L' and 'ME32L' at the same time. so ur if condition would never be satisfied. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if st-tcode = ''ME31L' and sy-tcode = 'ME32L' . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462438#M1415723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T08:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Making a screen exit field non-editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462439#M1415724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the OR in the If condition.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462439#M1415724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T08:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Making a screen exit field non-editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462440#M1415725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mallika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-tcode = 'ME31L' OR sy-tcode = 'ME32L'.

loop at screen.
if screen-name = 'chkbox'.
screen-input = '0'.
modify screen.
endif.
endloop
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462440#M1415725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T08:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Making a screen exit field non-editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462441#M1415726</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;Thanks for the replies..it was my type mistake while typing in the thread..yes, i used 'OR' only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally i got the solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kept this logic in the PBO event of my screen exit..it worked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mallika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-screen-exit-field-non-editable/m-p/6462441#M1415726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T08:38:52Z</dc:date>
    </item>
  </channel>
</rss>

