Skip to Content
0
Former Member
Jun 10, 2008 at 08:28 AM

Error with Receiving Parameter

20 Views

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