cancel
Showing results for 
Search instead for 
Did you mean: 

user defined data type generated class

Former Member
0 Kudos

Hi

When defining a new data type in the local dictionary, one has to option of generating a representation class.

I have done this and indeed received the class in my app.

However, I fail to understand how I can use this class to retrieve values set in the data type.

Thank you for your assistance

Regadrs

yuval

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hello Y PEERY

I am not clear which context you are talking about .

Are you taking about simple type inside local dictonary ?

or

A project with data dictonary type ?

(for webdynpro only)

In both the case no need to deal with internal generated class, this is somethig which is requrired to framework itself , end developer not at all using /modifiying it.

or

Might you are dealing with EJB so in this case representation class is generated once we provide the basic(name , package etc) to it , further you can modify it according to your use.

Please clarify

BR

Satish Kumar

Former Member
0 Kudos

Hi Kumar

I WDJ you can define local types in the dictionary.

Usually this kind of type is used to fill out dropdown lists or other UI elements.

In the process of creating such data types you can also select whether you want to generate a java

class to represent this data type. This class is now visibe to you wd controller. You may use it to get the values

you assigned to this data ttype but not the description.

My question: is it possible to read the description of each item in the list too?

Regards

yuval