cancel
Showing results for 
Search instead for 
Did you mean: 

Add new JavaBean Model

Former Member
0 Kudos

Hello Everybody,

In my Web Dynpro project I have imported a JavaBean model (including relations and

the associated helper classes). Now, I want to create a new JavaBean model in the same project and also use some of the model classes from the previous model to define the

relations belonging to the new model. I tried importing the new JavaBean model with the

same helper classes, but that is some how not possible (Error :"Model class already exists") . On the other hand, if I do not include the helper classes, the previously imported

model class are not available in the new model - so how do I define the relations?

Thanks for the feedback.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

A.H.,

This is a limitation of WebDynpro JavaBean model wizard -- you may not use same JavaBean more then in one model.

The only possible but unsupported workaround is to create your *.wdmodel file manually using text/xml editor, then reload project and get new model. It's better to start with new model without same beans, then copy necessary lines from "old" model.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net