Skip to Content

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

Use the "Description" of a drop down list value

Hi there,

I made a simple type (name: ClassType) to use it for an drop down list. For example the drop down list looks like this:

Value -Description

E - Economy class

B - Business class

and so on.

I want to make use of the description and not the value.

If i use the following statement:

wdContext.CurrentContextElement().getClassType()

i only get the value "E" of "B". Is it possible to use the Description? If so, how do i do it.

Thx in advance.

Regards Maarten.

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