Skip to Content
Former Member
Oct 08, 2010 at 09:31 AM

Initializing Instance Attributes of a Class


Dear Experts,

I want to know how can i initialize the instance attributes of a ZClass?

I have copied the standard class "CL_WB_MIME_REPOSITORY" into my ZClass as "ZCL_WB_MIME_REPOSITORY".

In the standard class we have private instance attributes as "HTML_VIEWER" and "KW_EXPLORER" and these gets initialized

automatically when i run the standard tcode SE80.

Now, when i am running my ZTcode having my ZClass, these attributes are not initialized and are NULL.

Can you please tell me how should i initialize these attributes in my ZClass and where should i write the code and what will be that code?

Thanks a lot,