‎2008 Sep 29 5:48 PM
I have a method that returns two parameters. One of them is an type ref to a class and other is type char1. the coding is fine but when i activate the method it gives following error :
Type ref to type and type type cannot be specified together, any ideas what this is please ?
‎2008 Sep 29 5:52 PM
I am not getting that error:
This is the code generated when I have created a Method in SE24 which returns two parameters:
methods TEST
exporting
!O_REF type ref to ZCL_TEST_NP_01
!I_CHAR type CHAR1 .
Regards,
Naimesh Patel
‎2008 Sep 29 6:01 PM
Hello,
You cannot have two RETURNING parameters, just one. Instead use EXPORTING parameters.
Regards.