cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while creating Assistance class?

Former Member
0 Kudos

Hi Experts,

I am trying to use one class in my wd component, in component properties in the place of Assistance class i am giving name of the class which is alredy created by someone. its not creating, giving message "Assistance class "CL_ABC" does in inherit from CL_WD_COMPONENT_ASSISTANCE?? what is the problem?? Any suggetions please...

Thanks and Regards,

Venkat.

Accepted Solutions (0)

Answers (2)

Answers (2)

Madhu2004
Active Contributor
0 Kudos

HI,

If you want assign a class as assistance class it should and miust be inherited from the CL_WD_COMPONENT_ASSISTANCE.the super class of the newly created assistance class is alwaysCL_WD_COMPONENT_ASSISTANCE class.

Regards,

MAdhu

Former Member
0 Kudos

Thank you manas and madhu,

From where i can check class is inherited or not from CL_WD_COMPONENT_ASSISTANCE. In class CL_ABC at properties section superclass button is there but in nonedit mode.I have to define super class from here? or any other way? tel me please...

Regards,

venkat.

Former Member
0 Kudos

Question is very basic in nature...

I would recommend you to go through OO ABAP study material and find out this thing yourself.

Regards

Manas Dua

Madhu2004
Active Contributor
0 Kudos

You ahve to do it from properties Tab only. Try in edit mode you will get the SUPERCLASS button in enabled mode and the add CL_WD_COMPONENT_ASSISTANCE as super class

Former Member
0 Kudos

Thanks Madhu and Manas.

Regards,

venkat

Former Member
0 Kudos

Check whether in you class CL_ABC properties, class CL_WD_COMPONENT_ASSISTANCE is mentioned as superclass .

For creation of assistance class one should inherit from CL_WD_COMPONENT_ASSISTANCE.

Regards

Manas Dua