Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Mixed Java Bean - RFC Model

Hi developers,

I have a RFC generated model (RFCModel) with one class (Z_Employer).

I have a plain java class (Employee) with several attributes, getters and setters.

An attribute of type Z_Employer has been defined for Employee.

Employee

|--- String: name

|--- String: surname

|--- String: address

|--- Z_Employer: the_employer

Upon importing Employee in NWDS as Java Bean model, I found out that the Z_Employer field was modelled as a node attribute and not with a relationship/association. As a consequence, a model node based on Employee class would not have a childnode Employer, but only a model attribute Employer.

Build dependency and paths are appropriately set.

Can anyone please explain how to get Employer to be a childnode and not an attribute?

Thanks indeed,

Vincenzo

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question