<?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: create agent in init method of persistent class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-agent-in-init-method-of-persistent-class/m-p/6929440#M1485567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ooopps..sorry.. I have to admit, that there is a mistake within my special persistent class.. I just have to find it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;post can be deleted by admin! sorry again.. &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt; &lt;/P&gt;&lt;P&gt;I found my mistake..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: winnerin on May 7, 2010 6:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 May 2010 15:56:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-07T15:56:21Z</dc:date>
    <item>
      <title>create agent in init method of persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-agent-in-init-method-of-persistent-class/m-p/6929439#M1485566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with persistence objects (object services) and want to enhance INIT method of my persistent class ZCL_CLASS1. &lt;/P&gt;&lt;P&gt;Whenever I try to create a new agent of another persistent class ZCL_CLASS2 in my INIT method, I will get a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lo_agent TYPE REF TO ZCA_CLASS2.

 lo_agent = ZCA_CLASS2=&amp;gt;agent.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't find the mistake. I don't understand why it doesn't work. Is it not allowed to call another agent in INIT method?!&lt;/P&gt;&lt;P&gt;By the way, working with the get_class_agent method doesn't work either.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know something about it?&lt;/P&gt;&lt;P&gt;Thx!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 15:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-agent-in-init-method-of-persistent-class/m-p/6929439#M1485566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: create agent in init method of persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-agent-in-init-method-of-persistent-class/m-p/6929440#M1485567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ooopps..sorry.. I have to admit, that there is a mistake within my special persistent class.. I just have to find it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;post can be deleted by admin! sorry again.. &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt; &lt;/P&gt;&lt;P&gt;I found my mistake..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: winnerin on May 7, 2010 6:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 15:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-agent-in-init-method-of-persistent-class/m-p/6929440#M1485567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T15:56:21Z</dc:date>
    </item>
  </channel>
</rss>

