<?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: chain endchain problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736834#M320439</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; use &amp;lt;b&amp;gt;FIELD &amp;lt;fldname&amp;gt; MODULE &amp;lt;modulename&amp;gt; on chain-input&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope it is helpful for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards ,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 09:52:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-26T09:52:50Z</dc:date>
    <item>
      <title>chain endchain problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736833#M320438</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 my screen there are two fields for matnr and werks and 2 other fields for their text makt-maktx and t001w-name1. i take the texts in my screen PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI 'chain endchain' i check the entries from MARC if user enter the right entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i press enter , before controlling the entries i want to write the text.&lt;/P&gt;&lt;P&gt;but it does not work. WHY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 09:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736833#M320438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: chain endchain problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736834#M320439</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; use &amp;lt;b&amp;gt;FIELD &amp;lt;fldname&amp;gt; MODULE &amp;lt;modulename&amp;gt; on chain-input&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope it is helpful for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards ,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 09:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736834#M320439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T09:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: chain endchain problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736835#M320440</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;chk this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if there are 10 fields in the screen and for 5 fields whenever the user enters wrong values u like to give some error message. You can declare that fields in the chain enchain so that only those fields will be input enabled and all other fields will disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CHAIN.
FIELD chk_connobj.
FIELD chk_inst.
FIELD chk_devloc.
FIELD ehaud-haus.
FIELD eanl-anlage.
MODULE modify_screenfields.
ENDCHAIN.
 
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Module modify_screenfields INPUT
*&amp;amp;---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
 
MODULE modify_screenfields INPUT.
CLEAR okcode.
okcode = sy-ucomm.
CASE okcode.
WHEN 'ENTER' OR 'EXECUTE'.
 
IF chk_connobj IS INITIAL AND chk_inst EQ c_x AND
chk_devloc EQ c_x.
IF ehaud-haus IS INITIAL.
SET CURSOR FIELD 'EHAUD-HAUS'.
MESSAGE e000(zo_spa) WITH text-017. " Enter Connection obj
ELSE.
PERFORM conn_obj_check.
ENDIF.
ENDIF.
 
ENDMODULE. " modify_screenfields INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 09:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chain-endchain-problem/m-p/1736835#M320440</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-26T09:54:24Z</dc:date>
    </item>
  </channel>
</rss>

