06-16-2008 6:52 AM
06-16-2008 8:46 AM
to change instance attribute
<reference variable>->atribute = <value> .
to change static attribute
<class name>->atribute = <value>.
remember attribute you want to change must be in public section of the class
and not read only and not constant
06-16-2008 8:46 AM
to change instance attribute
<reference variable>->atribute = <value> .
to change static attribute
<class name>->atribute = <value>.
remember attribute you want to change must be in public section of the class
and not read only and not constant
06-16-2008 9:18 AM
hi, Marat,
Sorry , my question is how to add a method by ABAP code, for example ,
I have a new method with the method name 'Add_speed' with return value rv_tmp return 'Hello World'.
Is it possible to add the method by ABAP code?
Best regards,
Blake Le
06-16-2008 9:40 AM
06-16-2008 9:47 AM
Hi,
you can use function modules under SEOK function group to add methods to your class.
Eg: SEO_METHOD_CREATE to create methods
Reward points if useful.
Regards,
Siva.
06-17-2008 3:32 AM
HI, Siva
Thanks very much. It's what we want .
Best regards,
Blake Le
06-16-2008 9:15 AM
Hi,
maybe this is helpful:
[Object Handling|http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5f54f411d194a60000e8353423/frameset.htm]
Regards Rudi