cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro EJB model and Enum types

Former Member
0 Kudos

I have a question about Web Dynpro EJB models and the mapping of Enum types to model classes.

I've seen that when you import a model that has Enum types,for example as method argument of a session bean, it generates a corresponding model class with the name of the Enum type and one property named “declaringClass” . I don’t understand how I can assign an Enum instance value to this class.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Sergi,

Currently enums are not supported by EJB CMI Model. It is planned to have this functionality in the next SAP NetWeaver CE release.

As a short term solution, use properties of type String or Integer instead of enumeration.

Best regards,

Vesselin