Howdy,
Objects is really getting me down.
I had a program that worked really nicely when I'd created the classes locally within the program.
Now I've created the class globally via SE24 and whenever I try to run the program I get a dump beacuse of a null value (?).
Anyway I think this is occuring because I have this code:
DATA: r_html TYPE REF TO zzcl_http_assign.
and then when I try to create the object via:
CREATE object r_html.
I get an error saying that:
"You cannot create an instance of the class "ZZCL_HTTP_ASSIGN" outside the class. -"
Anyone have any idea what is going on????
In SE24, under the properties tab, make sure that the instantiation field is set to "Public".
Regards,
Rich Heilman
Also, I know that it is a little confusing now(ABAP objects), but keep working with it, eventually it will just click. Good Luck.
Regards,
Rich Heilman
Add a comment