<?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: Class attribute getting *** illegal reference *** while executing class in SAP 4.7 version. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696364#M1870482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Idris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried to create an instance using "CREATE OBJECT". Maybe the ***illegal reference*** is just the value of an uninitialized reference in 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 09:52:56 GMT</pubDate>
    <dc:creator>ceedee666</dc:creator>
    <dc:date>2014-10-22T09:52:56Z</dc:date>
    <item>
      <title>Class attribute getting *** illegal reference *** while executing class in SAP 4.7 version.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696363#M1870481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have define a CLASS C1 in SAP 4.7 with Class Atribute A1 TYPE REF TO to&amp;nbsp; CLASS C2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute this class C1 then all atrubutes for TYPE REF TO are showing *** illegal reference *** error where same thing is I tried in SAP ECC version in this system initialise Attributes to Initial.&lt;/P&gt;&lt;P&gt;So why this SAP 4.7 version does not Initialise Attribute variable for Class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Idris Ahmed Khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696363#M1870481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T09:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Class attribute getting *** illegal reference *** while executing class in SAP 4.7 version.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696364#M1870482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Idris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried to create an instance using "CREATE OBJECT". Maybe the ***illegal reference*** is just the value of an uninitialized reference in 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696364#M1870482</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2014-10-22T09:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Class attribute getting *** illegal reference *** while executing class in SAP 4.7 version.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696365#M1870483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reply. but same process working in ECC without CREATE OBJECT. it just initialise attribute without creating instance object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Idris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696365#M1870483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-22T10:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Class attribute getting *** illegal reference *** while executing class in SAP 4.7 version.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696366#M1870484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Idris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you understand the difference between declaring a reference variable (DATA A1 TYPE REF TO C1) and actually assigning a value to this reference variable ( e.g. by creating an object instance and assinging this instance to the reference variable using CREATE OBJECT A1)? Without assigning an object instance to the variable it is not possible to invoke an methods or access an variable. If you would try to call a method in ECC on the initial reference variable A1 (e.g. A1-&amp;gt;test( )) you'll get a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that ***illegal reference*** is just the invalid value of a reference varible after declaring it. Therefor there is no difference between 4.7 and ECC. You need to assign an object to the variable first. A initial referende variable is just displayed differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-attribute-getting-illegal-reference-while-executing-class-in-sap-4-7/m-p/10696366#M1870484</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2014-10-22T11:56:06Z</dc:date>
    </item>
  </channel>
</rss>

