<?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: Setting cursor position on error in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567969#M22005</link>
    <description>&lt;P&gt;Should be enough to remove CHAIN. ENDCHAIN. , because you want to process each field as a single action.&lt;/P&gt;
  &lt;P&gt;Or create three different chains like&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CHAIN.
  FIELD f1.
  MODULE check_f1 ON CHEIN-REQUEST.
ENDCHAIN.
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Jan 2018 09:25:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-01-03T09:25:36Z</dc:date>
    <item>
      <title>Setting cursor position on error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567968#M22004</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I have three fields(F1, F2 and F3) on module pool screen and processing them in CHAIN..ENDCHAIN in PAI as below&lt;/P&gt;
  &lt;P&gt;PBO&lt;/P&gt;
  &lt;P&gt;module set_cursor. - Here logic sets the cursor if field is blank&lt;/P&gt;
  &lt;P&gt;PAI&lt;/P&gt;
  &lt;P&gt;Chain&lt;/P&gt;
  &lt;P&gt;field f1 module check_f1 on request.&lt;/P&gt;
  &lt;P&gt;field f2 module check_f2 on request.&lt;/P&gt;
  &lt;P&gt;field f3 module check_f3 on request.&lt;/P&gt;
  &lt;P&gt;Endchain.&lt;/P&gt;
  &lt;P&gt;When error occures in F1, cursor automatically sets on F1 after error. But when error occures in F2 then cursor moves to F1 fields.&lt;/P&gt;
  &lt;P&gt;Since all these is being processed in Chain.. End chain so PBO will not be called until&lt;/P&gt;
  &lt;P&gt;valid input is entered. &lt;/P&gt;
  &lt;P&gt;Could you please let me know how to control cursor position in this scenario ?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 14:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567968#M22004</guid>
      <dc:creator>jitendra_it</dc:creator>
      <dc:date>2018-01-02T14:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setting cursor position on error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567969#M22005</link>
      <description>&lt;P&gt;Should be enough to remove CHAIN. ENDCHAIN. , because you want to process each field as a single action.&lt;/P&gt;
  &lt;P&gt;Or create three different chains like&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CHAIN.
  FIELD f1.
  MODULE check_f1 ON CHEIN-REQUEST.
ENDCHAIN.
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jan 2018 09:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567969#M22005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-01-03T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting cursor position on error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567970#M22006</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;You can try the sentence&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;SET CURSOR FIELD field&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;For dont lost the focus field&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 09:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567970#M22006</guid>
      <dc:creator>JRDEVELOPEE</dc:creator>
      <dc:date>2018-01-09T09:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting cursor position on error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567971#M22007</link>
      <description>&lt;P&gt;Hi Jitendra Soni,&lt;/P&gt;
  &lt;P&gt;Before calling the &lt;STRONG&gt;ERROR&lt;/STRONG&gt; message, call the &lt;STRONG&gt;SET CURSOR &lt;/STRONG&gt;statement as shown below. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/101423-8.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 12:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-cursor-position-on-error-in-module-pool/m-p/567971#M22007</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-01-09T12:16:19Z</dc:date>
    </item>
  </channel>
</rss>

