<?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: ModulePool cursor position after Error message inside chain endchain in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652248#M28061</link>
    <description>&lt;P&gt;In this case don't use CHAIN/ENDCHAIN, does one of your modules actually require value(s) of some other field(s) Also read first some documentation like &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abendynp_field_messages.htm"&gt;Handling of Messages from the PAI Event&lt;/A&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  FIELD f1 MODULE check_f1 ON REQUEST. " cursor -&amp;gt; f1
  FIELD f2 MODULE check_f2 ON REQUEST. " cursor -&amp;gt; f2
  CHAIN.
    FIELD f2.
    FIELD f3 MODULE check_f3 ON REQUEST. " cursor -&amp;gt; f2
    MODULE check_f2_f3 ON CHAIN-REQUEST. " cursor -&amp;gt; f2
  ENDCHAIN.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Mar 2018 12:35:56 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2018-03-21T12:35:56Z</dc:date>
    <item>
      <title>ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652245#M28058</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;Chain .&lt;/P&gt;
  &lt;P&gt;FIELD gs_lfa1-zPROTYPE MODULE check_proto ON REQUEST.&lt;/P&gt;
  &lt;P&gt;FIELD gs_lfa1-zycode MODULE check_code ON REQUEST.&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;Endchain.&lt;/P&gt;
  &lt;P&gt;Inside Modules I have few validations. So if it fails Error message will come up.&lt;/P&gt;
  &lt;P&gt;Here problem is, suppose I got the error message for field gs_lfa1-zycode then the cursor is not highlighting the error field instead it's always highlighting one field(first field) for all errors.&lt;/P&gt;
  &lt;P&gt;So how can I highlight the perticular error field incase if error message .&lt;/P&gt;
  &lt;P&gt;I have checked all the threads for the same issue but didn't get the solution.&lt;/P&gt;
  &lt;P&gt;Please any solution and let me know for further details.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Prabin&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 08:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652245#M28058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-21T08:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652246#M28059</link>
      <description>&lt;P&gt;Any one please.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652246#M28059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-21T11:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652247#M28060</link>
      <description>&lt;P&gt;Hi Prabin Kumar,&lt;/P&gt;
  &lt;P&gt;Have you tried the SET CURSOR statement before throwing the error message like below? &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;if &amp;lt;condition&amp;gt;.
 set cursor field '&amp;lt;FIELD_NAME&amp;gt;'.
 message e003(zfi01) with 'Error Message.
endif.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652247#M28060</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-03-21T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652248#M28061</link>
      <description>&lt;P&gt;In this case don't use CHAIN/ENDCHAIN, does one of your modules actually require value(s) of some other field(s) Also read first some documentation like &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abendynp_field_messages.htm"&gt;Handling of Messages from the PAI Event&lt;/A&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  FIELD f1 MODULE check_f1 ON REQUEST. " cursor -&amp;gt; f1
  FIELD f2 MODULE check_f2 ON REQUEST. " cursor -&amp;gt; f2
  CHAIN.
    FIELD f2.
    FIELD f3 MODULE check_f3 ON REQUEST. " cursor -&amp;gt; f2
    MODULE check_f2_f3 ON CHAIN-REQUEST. " cursor -&amp;gt; f2
  ENDCHAIN.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Mar 2018 12:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652248#M28061</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-03-21T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652249#M28062</link>
      <description>&lt;P&gt;If I will not use CHAIN/ENCHAIN then error message will gray out all the fields except the error field.&lt;/P&gt;
  &lt;P&gt;Specific field has different validation so there are modules for specific fields.&lt;/P&gt;
  &lt;P&gt;So i can say in this case cursor behavior is standard No chnage required.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 15:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652249#M28062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-21T15:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652250#M28063</link>
      <description>&lt;P&gt;Hi Rajkumar,&lt;/P&gt;
  &lt;P&gt;As I know set cursor is intended to use in PBO .&lt;/P&gt;
  &lt;P&gt;And my logic is insde PAI.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Prabin&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652250#M28063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-21T16:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652251#M28064</link>
      <description>&lt;P&gt;Hi Prabin. &lt;/P&gt;
  &lt;P&gt;And my logic is insde PAI.&lt;/P&gt;
  &lt;P&gt;Yes, you are right, by default, we will write the validation logic inside PAI only. But at the same time, if the error message is raised in PAI, the screen will be displayed to the user without raising PBO event. So even if we write the SET CURSOR logic inside PBO, it won't trigger. &lt;/P&gt;
  &lt;P&gt;Kindly refer the link &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abendynp_field_messages.htm"&gt;Handling of Messages from the PAI Event&lt;/A&gt; shared by &lt;A href="https://answers.sap.com/users/1270/raymondgiuseppi.html"&gt;Raymond Giuseppi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 05:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652251#M28064</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-03-22T05:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool cursor position after Error message inside chain endchain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652252#M28065</link>
      <description>&lt;P&gt;Hi Rajkumar,&lt;/P&gt;
  &lt;P&gt; It seems cursor behavior is standard inside PAI with error message and chain Endchain.&lt;/P&gt;
  &lt;P&gt;So there is no work arround in my case. &lt;/P&gt;
  &lt;P&gt;Thanks .&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Prabin&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 06:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-cursor-position-after-error-message-inside-chain-endchain/m-p/652252#M28065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-22T06:08:42Z</dc:date>
    </item>
  </channel>
</rss>

