Skip to Content
0
Former Member
Apr 27, 2009 at 08:30 PM

calling method in another method in class

106 Views

Hi,

I am getting error when i call the method . Plz give some guidance. whether i am calling comb_data method in right way.

error:

Class ZCL_REP,Method RET_REST

The format of field specification "ME->COMB_DATA()" is not

supported. Only field...(...) is possible, e.g. KTNRA2(6).

code:

COMB_DATA is another method(public) in same class.

ret_data is returning parameter in ret_rest methos.

method RET_REST.

RET_DATA = me->COMB_DATA().

endmethod.

Thanks

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on Apr 27, 2009 4:47 PM