Application Development and Automation 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: 
Read only

Searchhelp ---text

Former Member
0 Likes
728

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
Read only

Former Member
0 Likes
697

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

Read only

0 Likes
697

Yes I am using on the selection screen,using parameteres

Read only

0 Likes
697

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

Read only

0 Likes
697

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

Read only

0 Likes
697

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.