‎2007 Sep 12 8:40 AM
Look my code class :
CLASS myclass DEFINITION.
PUBLIC SECTION.
METHODS:
get_data_list.
get_data_list_spe.
ENDCLASS.
CLASS myclass IMPLEMENTATION.
METHOD get_data_list.
... my code
ENDMETHOD.
METHOD get_data_list_spe.
me->get_data_list.
ENDMETHOD.
ENDCLASS.
The ABAP compilator reject this code because me->get_data_list is not defined. Is it possible to call a other method ? if yes how can i get this in my code ?
Thanks
Cheers
‎2007 Sep 12 9:22 AM
Hi,
you have tho call the oder method like this:
call method me->get_data_list.and not
me->get_data_list.then it works..
Regards,
Gianpietro
‎2007 Sep 12 9:22 AM
Hi,
you have tho call the oder method like this:
call method me->get_data_list.and not
me->get_data_list.then it works..
Regards,
Gianpietro
‎2007 Sep 12 9:39 AM
‎2007 Sep 12 6:26 PM
Actually, there are two valid syntaxes:
You can use this syntax as already suggested:
CALL METHOD me->get_data_list.
And this one is also valid:
me->get_data_list( ).
Notice the space between the braces.
Regards