06-10-2008 9:28 AM
Hi,
I've created a class called ZTEST_CLASS which has a method. SET_TYPE with Importing parameters im1 and im2 and a returning parameter ret. I've created an Object of the class using CREATE OBJECT myObj. When I'm callling the method as below
CALL METHOD myInstance->set_type EXPORTING im1 = '1982' im2 = 'Field Symbol' RECEIVING car = RET.
It is giving me a syntax error saying that RET is unknown. Please help me in this regard.
Thanks,
FS
06-10-2008 9:31 AM
06-10-2008 9:48 AM
Hi,
U need to declare RET .
Otherwise it will give error.
Regards,
Jagadish