<?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 Doubt in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749013#M1113860</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;I am working on module pool program.&lt;/P&gt;&lt;P&gt;In the first screen i have to place 2 fields and i have to do validation. second  one is a date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.I am facing 2 problems here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)if the first field is wrongly enterd ,in validation it is giving error message, but the second date field is becoming disabled.In F4 of date field I can't find the 'Choose' button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)if date field is failed in validation, as per my requirement cursor should be in date field only, but it is moving to the first field?how can I keep the cursor in 2n'd field ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Nov 2008 21:47:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-08T21:47:04Z</dc:date>
    <item>
      <title>Doubt in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749013#M1113860</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;I am working on module pool program.&lt;/P&gt;&lt;P&gt;In the first screen i have to place 2 fields and i have to do validation. second  one is a date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.I am facing 2 problems here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)if the first field is wrongly enterd ,in validation it is giving error message, but the second date field is becoming disabled.In F4 of date field I can't find the 'Choose' button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)if date field is failed in validation, as per my requirement cursor should be in date field only, but it is moving to the first field?how can I keep the cursor in 2n'd field ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Nov 2008 21:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749013#M1113860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-08T21:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749014#M1113861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show your code you have in PAI of the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Nov 2008 22:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749014#M1113861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-08T22:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749015#M1113862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As you are validating in the select statement if you use select single may erase your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the select query like the below and test in &lt;STRONG&gt;PAI&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_first type &amp;lt;dataelement of first field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single &amp;lt;first field name&amp;gt; from &amp;lt;tablename&amp;gt; into l_first where &amp;lt;first field name&amp;gt; = &amp;lt;tablename&amp;gt; - &amp;lt;&amp;lt;first field name&amp;gt;&lt;/P&gt;&lt;P&gt;and &amp;lt;date field name&amp;gt; = &amp;lt;tablename&amp;gt; - &amp;lt;date field name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2008 00:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749015#M1113862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-09T00:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749016#M1113863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to use chain and endchain in this case, see the example DEMO_DYNPRO_FIELD_CHAIN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2008 02:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749016#M1113863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-09T02:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749017#M1113864</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;Please use CHAIN...ENDCHAIN in your PAI module and call your VALIDATION Module/Subroutine between the Chain ...Endchain statement in the PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though it is not required but For explicitly setting the Focuus/Cursor...you can use set Cursor Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its going to be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&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: F1, F2 Module Z_VAL_F1_F2. &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Subroutine Include.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Form Z_VAL_F1_F2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate F1.&lt;/P&gt;&lt;P&gt;Set Cursor FIELD F1.&lt;/P&gt;&lt;P&gt;Throw Error Message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate F2&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD F2.&lt;/P&gt;&lt;P&gt;Throw Error Message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: AJAY TIWARI on Nov 9, 2008 5:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2008 04:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-module-pool/m-p/4749017#M1113864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-09T04:31:15Z</dc:date>
    </item>
  </channel>
</rss>

