cancel
Showing results for 
Search instead for 
Did you mean: 

Populating description field in selection-screen

Former Member
0 Kudos

Hi Experts,

My WD report has a selection-screen with select-options and parameters built using IF_WD_SELECT_OPTIONS.

One of the select-options has a search help, but the value it returns is a guid, so I want to have a new read-only description field, populated with the description of the selected value, next to the input field for the guid.

How can I do this?

I tried adding a new read-only parameter field and populating it in WDDOMODIFYVIEW but I got a short dump when I tried to set the value, because the new field is not in the context of the component controller.

Many thanks, Ben

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ben,

You will have to define the new field in the context and then programatically bind the value of the description field to this attribute.

But ideally, you can have a structure, which the two fiels (guid & description), and define a search help which is mapped to the structure, then you do not need to do any programming, the description field should get populated automatically.

Hope this helps.

Regards

Wenonah