09-26-2008 11:06 AM
Hi Experts,
I have a class test, in that "request" one attribute ( type of abc class).
class name : test
attribute : request ( type ref to test1 class)
In my program, the following code gives complie error
"The type of "ABC" cannot be converted to the type of "me->request".
code is :
data : abc type ref to test1.
create object abc.
move me->request to abc.
Here me->request and abc are same type.
Please help me..
Thanks
Sridhar
09-26-2008 11:11 AM
Hello Sridhar
To me the following would make more sense:
data : abc type ref to test1.
create object abc.
"move me->request to abc.
me->request = abc.
Regards
Uwe
09-26-2008 11:13 AM
Hi,
Thanks your for time.
I need to copy the contents of me->request to abc.
Thanks
Sridhar
09-26-2008 12:59 PM
Hi Sridhar,
If you want to copy Me->request to Abc then do this way..
Data :
abc TYPE REF TO test1.
CREATE OBJECT abc.
abc = me->request. " Moving contents of me->request to abc
Good luck
Narin
10-03-2008 8:40 AM