<?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: Error in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590833#M1274553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Declare this globaly so that the main screen as well as  ur &lt;/P&gt;&lt;P&gt;subscreen wil able to acess the variable and the error wont ciome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OK_CODE TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2009 07:06:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-04T07:06:51Z</dc:date>
    <item>
      <title>Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590829#M1274549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one main screen &amp;amp; calling a sub screen from there.in the subscreen I have created a push button with function code. the corresponding OK_CODE is defined in the main screen.&lt;/P&gt;&lt;P&gt;The problem is if I click on the pushbutton the error message'Invalid field format (screen error)' is been displayed. If I remove the function code the error is not coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell what is the problem here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bhaskar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 06:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590829#M1274549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T06:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590830#M1274550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the OK-CODE which you have given for the pushbutton?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 06:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590830#M1274550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T06:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590831#M1274551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is just some text like 'DISP'.we can give anything here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 06:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590831#M1274551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T06:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590832#M1274552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to declare the OKCODE in the TOP include also so that it can be globally accessed.&lt;/P&gt;&lt;P&gt;DATA OKCODE TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 06:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590832#M1274552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590833#M1274553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Declare this globaly so that the main screen as well as  ur &lt;/P&gt;&lt;P&gt;subscreen wil able to acess the variable and the error wont ciome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OK_CODE TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590833#M1274553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590834#M1274554</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;try to create the push button in the main screen not in the sub screen.&lt;/P&gt;&lt;P&gt;and declare the varibale in TOP of type sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590834#M1274554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590835#M1274555</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 check whether you have declared push button globally in module pool program. If you have decalared already check the data type. In module pool screen field data type and decalaration data type both should be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope its helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590835#M1274555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590836#M1274556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find here the restrictions related to subscreen. Hope this may help you to trace-out reason for your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. GUI status cannot be set to the sub screen.&lt;/P&gt;&lt;P&gt;2. OKCODE is not applicable to the sub screen.&lt;/P&gt;&lt;P&gt;3. It cannot contain AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;4. Function codes linked to user actions on subscreens are placed in the OK_CODE field of the main screen. (If you add a pushbutton on a subscreen, and assign a function code to it there, you should be able to pick up this in your "module dnnnn_user_command" logic within the PBO of the main screen.)&lt;/P&gt;&lt;P&gt;5.The flow logic of a subscreen screen may not contain any dialog modules containing the statements SET TITLEBAR, SET PF-STATUS, SET SCREEN, LEAVE SCREEN, or LEAVE TO SCREEN. Any of these statements causes a runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. You cannot change the GUI status of a main screen in a subscreen screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 07:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590836#M1274556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590837#M1274557</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;     There is no need to define ok code in the main screen i think, as you already defined the function code for the push button in the sub screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 08:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590837#M1274557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T08:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590838#M1274558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare all the input fields you are using in the main screen or subscreen as global fields in the program with same data type and length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: venugopal katikam on May 4, 2009 11:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590838#M1274558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590839#M1274559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is if I click on the pushbutton the error message'Invalid field format (screen error)' is been displayed. If I remove the function code the error is not coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps problem is not bcoz of ur push button instead bcoz of  I/P O/P texfield in which ur &lt;/P&gt;&lt;P&gt;getting some value or entering any value change the  data type of that text field in char &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you won't get any error  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;Digvijay Rai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-module-pool/m-p/5590839#M1274559</guid>
      <dc:creator>digvijay_rai</dc:creator>
      <dc:date>2009-05-04T09:45:59Z</dc:date>
    </item>
  </channel>
</rss>

