cancel
Showing results for 
Search instead for 
Did you mean: 

Logic Reuseability in different web dynpro applicaitons

Former Member
0 Kudos

I've some Web Dynpro Application, and I've the case to grab some data from the user before he can use the application. I did that successfully through popup-ing some used component and every thing works fine.

However, I do want to implement the same logic to all the set of web dynpro applications I have.

You know instead of mapping context copying some method creating events...etc

Isn't there any way to do that, like coding my code into interface application and implement it through the other application.

Thank you very much

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can also create a Utility Class and just use this class's method in all components.

Former Member
0 Kudos

Hi,

You can create a component with the checking functionality and reuse it as a usage in different components. You can use the methods of the component controller of your reusable component in other components to do the validation.

You can refer the following document: http://scn.sap.com/docs/DOC-2191

Regards,

Sayan

Former Member
0 Kudos

Hi

Yes you can . By putting your code in a new component and then

using this component in whatever new application you are

writing you achieve what is called  "reusability".

Have a look at this nice tutorial.

regards

yuval peery