<?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 when calling a method inside a form routine... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536220#M244616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viray,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loks like ur method is not avaliable for the subroutine u r calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check whether u have defined the method and all it's objects in ur program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;SImha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 09:06:22 GMT</pubDate>
    <dc:creator>Simha_</dc:creator>
    <dc:date>2006-09-07T09:06:22Z</dc:date>
    <item>
      <title>Error when calling a method inside a form routine...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536219#M244615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to call a method inside a form but it is giving me an error. The error is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access not possible using 'NULL' object reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, below is my code guys:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  DATA: main          TYPE REF TO lcl_main,&lt;/P&gt;&lt;P&gt;        old_and_new   TYPE REF TO lcl_old_and_new,&lt;/P&gt;&lt;P&gt;        check_changes TYPE REF TO lcl_check_changes,&lt;/P&gt;&lt;P&gt;        messages      TYPE REF TO lcl_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CREATE OBJECT: main, old_and_new, check_changes, messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM get_orig_contents_of_zts0001                             *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ........                                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_orig_contents_of_zts0001.&lt;/P&gt;&lt;P&gt;  CALL METHOD main-&amp;gt;export_old_recs.&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;Help would be greatly appreciated. Thanks a lot and take care!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 09:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536219#M244615</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-07T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when calling a method inside a form routine...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536220#M244616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viray,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loks like ur method is not avaliable for the subroutine u r calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check whether u have defined the method and all it's objects in ur program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;SImha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 09:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536220#M244616</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2006-09-07T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when calling a method inside a form routine...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536221#M244617</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;While calling a method it should be available. You need to define the class and its methods in the program. You might have missed some method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 09:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536221#M244617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error when calling a method inside a form routine...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536222#M244618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before the "START-OF-SELECTION " just add this sentense :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;class lcl_main definition deferred.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS Definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;CLASS Implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*Do your coding here&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in this way we are deferring the class definition for later&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 09:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-calling-a-method-inside-a-form-routine/m-p/1536222#M244618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T09:11:39Z</dc:date>
    </item>
  </channel>
</rss>

