2009 May 12 10:05 AM
Hello Experts,
I am calling a method of a class in my program,after the successful creation of
the object for that class.
call method gr_mat_valid->get_charinfo
importing
et_charinfo = p_gi_class_char_api.
It gives the error as follows,
In Unicode program the character ">" cannot appear in the names, as it does here
in the name "gr_mat_valid->get_charinfo"
Can anybody please help.
Thanks in advance.
2009 May 12 10:37 AM
2009 May 12 10:37 AM
2009 May 12 10:47 AM
Hi,
Please use the Following.
call method gr_mat_valid =>get_charinfo
importing
et_charinfo = p_gi_class_char_api.
While using the classes and methods, the method of a class has to be called using the symbol =>.
Not ->.
Regards,
Lohitha
2009 May 12 12:02 PM
2009 May 12 1:19 PM
Hi,
If the method is:
'Instance Method' use -> to refer to the method of the class
If the method is :
'Static Method' use => assignment to refer to the method.
Could you specify the class and method details so that if the error can ba analyzed.
Regards,
George
2009 May 15 1:29 PM
I have found the solution.
Actually it was an issue of not passing the table to be fetched from this method in the changing parameters of the form.
Thanks to all for responding
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |