Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Searchhelp ---text

Former Member
0 Kudos
103

Hi group,

In the report after selecting the item from search help(or Drop down),how to display the text beside this.I am using the field from Z-table.

like

eg: 01 -- material group

5 REPLIES 5

Former Member
0 Kudos
72

You can have a display only field next to the key value, get the description and assign the description to the display only field.

Where are you using this, on the selection screen?

Regards,

Ravi

0 Kudos
72

Yes I am using on the selection screen,using parameteres

0 Kudos
72

I guess you are handling the search help yourself in the event of that specific field.

Have a display only field next to the parameter, and then in your code, once you get the key get the description and assign that to the display only field.

Regards,

Ravi

Note - Please mark the helpful answers

0 Kudos
72

Declare a parameter beside the key field for the description like :

PARAMETERS p_param_text TYPE (data_element) MODIF ID b.

and restrict the display of that field at initialization

INITIALIZATION.

LOOP AT SCREEN.

IF screen-group1 = b.

screen-input = 0.

screen-display_3d = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

Now use some logic to get the description against the field and do something like this :

IF NOT p_param is INITIAL.

p_param_text = desc.

ENDIF.

where p_param = parameter for which u need desc.

p_param_text = parameter for description

desc = description

0 Kudos
72

Hi Ravi,

I am adding the search help for the field in my Z-table.

I am bit unclear with this method which you suggested,can

please elaborate.