05-07-2010 4:45 PM
hello everybody,
I am working with persistence objects (object services) and want to enhance INIT method of my persistent class ZCL_CLASS1.
Whenever I try to create a new agent of another persistent class ZCL_CLASS2 in my INIT method, I will get a short dump.
lo_agent TYPE REF TO ZCA_CLASS2.
lo_agent = ZCA_CLASS2=>agent.
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?!
By the way, working with the get_class_agent method doesn't work either..
Does anybody know something about it?
Thx!!
Kind regards,
Anne
05-07-2010 4:56 PM
ooopps..sorry.. I have to admit, that there is a mistake within my special persistent class.. I just have to find it...
post can be deleted by admin! sorry again.. 😮
I found my mistake..
Edited by: winnerin on May 7, 2010 6:20 PM