<?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 execution problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591680#M593302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have this class in my system, so it would be hurt for me to tell what the problem is,  to stop the dump, you would need to handle that exception in the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Create object my_class
   exporting
        ......
        ....
   exceptions
          INVALID_APPLICATION = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still you would need to find the reason for this exception being raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2007 19:24:44 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-27T19:24:44Z</dc:date>
    <item>
      <title>Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591673#M593295</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;when i execute this method i am getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code is in BADI....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ts_attributes type CGPL_TS_ENTITY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data my_class type ref to cl_cgpl_entity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD MY_CLASS-&amp;gt;GET_ATTRIBUTES&lt;/P&gt;&lt;P&gt;  RECEIVING&lt;/P&gt;&lt;P&gt;    RS_ATTRIBUTES = TS_ATTRIBUTES&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting  &amp;lt;b&amp;gt;Access via 'NULL' object reference not possible&amp;lt;/b&amp;gt; error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 18:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591673#M593295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T18:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591674#M593296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you need an instance of the class first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ts_attributes type CGPL_TS_ENTITY.

data my_class type ref to cl_cgpl_entity.

create object my_class.    "&amp;lt;--- INSERT THIS HERE

CALL METHOD MY_CLASS-&amp;gt;GET_ATTRIBUTES
RECEIVING
RS_ATTRIBUTES = TS_ATTRIBUTES&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 18:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591674#M593296</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-27T18:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591675#M593297</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 this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data ts_attributes type CGPL_TS_ENTITY.

data my_class type ref to cl_cgpl_entity.

my_class = cl_cgpl_entity=&amp;gt;my_class.     " &amp;lt;&amp;lt;

CALL METHOD MY_CLASS-&amp;gt;GET_ATTRIBUTES
RECEIVING
RS_ATTRIBUTES = TS_ATTRIBUTES

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;P&gt;Points are always welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591675#M593297</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-07-27T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591676#M593298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error is : &amp;lt;b&amp;gt;Obligatory Parameter IS_ATTRIBUTES had no vlaue assigned to it.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i provided...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ts_attributes type CGPL_TS_ENTITY.&lt;/P&gt;&lt;P&gt;data tr_native_object type ref to CL_CGPL_HIERARCHY_NODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data my_class type ref to cl_cgpl_entity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT MY_CLASS.&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    IS_ATTRIBUTES = ts_attributes&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_ORIGIN_GUID =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_CREATE_NEW = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_UNIQUE_CHECK = CGPLC_CON_UNKNOWN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IR_NATIVE_OBJECT = tr_native_object&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the error:  &amp;lt;b&amp;gt;Exception condition "INVALID_APPLICATION" raised.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591676#M593298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T19:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591677#M593299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI aRs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is saying Field MY_Class is unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GIRI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591677#M593299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T19:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591678#M593300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT MY_CLASS.    "&amp;lt;---- Get Rid of the period here
EXPORTING&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591678#M593300</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-27T19:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591679#M593301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error is same rich...&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;  The following error text was processed in the system :  Exception condition "INVALID_APPLICATION" raised.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;The error occurred on the application server and in the work process 0 .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;The termination type was: RABAX_STATE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;The ABAP call stack was:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      Method: CONSTRUCTOR of program CL_CGPL_OBJECT_MANAGER========CP&lt;/P&gt;&lt;P&gt;      Method: CONSTRUCTOR of program CL_CGPL_ENTITIES==============CP&lt;/P&gt;&lt;P&gt;      Method: GET_INSTANCE of program CL_CGPL_ENTITIES==============CP&lt;/P&gt;&lt;P&gt;      Method: CONSTRUCTOR of program CL_CGPL_ENTITY================CP&lt;/P&gt;&lt;P&gt;      Method: IF_EX_DPR_EVENTS~ON_EVENT of program ZCL_IM_DPR_EVENTS=============CP&lt;/P&gt;&lt;P&gt;      Method: IF_EX_DPR_EVENTS~ON_EVENT of program CL_EX_DPR_EVENTS==============CP&lt;/P&gt;&lt;P&gt;      Method: EVENTS_ON_EVENT of program CL_DPR_BADI_SERVICES==========CP&lt;/P&gt;&lt;P&gt;      Method: ON_DPO_RELEASED of program CL_DPR_EVENT_OBSERVER=========CP&lt;/P&gt;&lt;P&gt;      Method: RESET_CANCELLED of program CL_DPR_PROJECT_O==============CP&lt;/P&gt;&lt;P&gt;      Method: IF_DPR_STATUS_ELEMENT~EXECUTE_ACTIVITY of program CL_DPR_PROJECT_O==============CP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591679#M593301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T19:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591680#M593302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have this class in my system, so it would be hurt for me to tell what the problem is,  to stop the dump, you would need to handle that exception in the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Create object my_class
   exporting
        ......
        ....
   exceptions
          INVALID_APPLICATION = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still you would need to find the reason for this exception being raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591680#M593302</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-27T19:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Class execution problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591681#M593303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I provide you some more information, this might give you some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has Interface I_SENDER as importing method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this Interface, there are some classes and methods in classes from which i want to get some data in my tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea how to call interface in program. and access methods in classes. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide me some idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 20:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-execution-problem/m-p/2591681#M593303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T20:37:19Z</dc:date>
    </item>
  </channel>
</rss>

