Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

deriving an application class

Former Member
0 Likes
348

Hi,

I am new to BSP.Kindly provide me details.

Can we derive a application class from both CL_BSP_APPLICATION and our own derived components for the same application class.

If we need to add more components to the same appplication class ,how do we do it.Should we derive our own application class by not using CL_BSP_APPLICATION,or can we use CL_BSP_APPLICATION and add more components which are not there in CL_BSP_APPLICATION.

Edited by: benumartin on Sep 18, 2010 1:37 PM

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
316

By "deriving an application class" do you mean to inherit from it and add new components and later use that new class as a template to BSP application? If so you can simply create a new ZCLASS inheriting from the above + your components and next time use this ZCLASS as the parent application class. All components and methods from CL_BSP_APPLCATION are required to clasify the class as BSP application one, so inherinting from ZCLASS should satisfy this prerequisite.

Regards

Marcin

1 REPLY 1
Read only

MarcinPciak
Active Contributor
0 Likes
317

By "deriving an application class" do you mean to inherit from it and add new components and later use that new class as a template to BSP application? If so you can simply create a new ZCLASS inheriting from the above + your components and next time use this ZCLASS as the parent application class. All components and methods from CL_BSP_APPLCATION are required to clasify the class as BSP application one, so inherinting from ZCLASS should satisfy this prerequisite.

Regards

Marcin