I am importing a bean as model in my webdynpro project.
This bean is having a List(customerList) and a currosponding getter method. This List will become a relation. Can anybody tell me how to use this relation in my Webdynpro project when I import this bean as a model to my project?
If the Customer class you want to put in your List and to which your relation will point is in the same Java package as the other bean (OB) you have to add the Customer class to the Java model, too. Then in the editor of the OB model class there is a tab for relations. There you can select the Customer class (assuming you have a getter for customerList) as target type.
If Customer and OB are not in the same package I'm afraid it won't work. If you can move them to the same package you are lucky, else you have to think about workarounds (e.g. manually create sub nodes and use supply functions in WD context)
Hope this helps