Skip to Content
0
Dec 05, 2011 at 12:02 PM

Created By F4 issue in opportunity search

34 Views

Hi,

In opportunuty search we have search attribute as 'CREATED_BY'. This gives the user name who has created the opportunity.

For this field we have F4 help window and the logic is as follows in GET_DQUERY_VALUEHELPS:

when 'CREATED_BY'.

<rs_result>-output_mapping-context_attr = 'CREATED_BY'.

<rs_result>-output_mapping-f4_attr = 'BNAME'.

<rs_result>-help_id-help_id = 'USER_ADDR'.

<rs_result>-help_id-help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name.

Above ''USER_ADDR' is an elementary search help which is assigned for this field.

Now When we press F4 on the CREATED_BY field, we have First name and Last name fields on it. And user is able to search the user ids when he/she knows the exact first/last name.

We can use wildcard operator * on it, but our users are not used to using it as for other applications they have operators.

Now the requirement is to make the First name and last name by "Start With" as default parameter in BACK GROUND.

As I have mentioned above, our search help for CREATED_BY uses the ''USER_ADDR' search help and the search help has the first name and last name field.

Is there any way to make the 'STARTS WITH' parametr as default for FIRST NAME and LAST NAME field in BACK GROUND or if there is any other solution, please guide me.

Thanks.