cancel
Showing results for 
Search instead for 
Did you mean: 

F4 help for Created By attribute

Former Member
0 Kudos

Hi All,

i have requirement to alter the search result of F4 help of created by attribute.

Now as Created by attribute has F4 help by default there is no custom coding for it.

so how can i alter the search result of the F4 help pop-up?

the component from where the F4 pop-up is launching is BT116S_SRVO view BT116S_SRVO/AdvancedSP .

- Saloni

Accepted Solutions (1)

Accepted Solutions (1)

ocpjcp
Active Participant
0 Kudos

Hello Saloni,

This F4 comes from the SAP search help defined in SE11 transaction. "USER_ADDR"

You can either enhance the FM : F4IF_USER_ADDR_SUID_EXIT

or see if implementing the BADI  BADI_IDENTITY_F4_AUTH_CHECK similar to the

example provided in class CL_EXM_IM_IDENTITY_F4_AUTH can fulfill your requirement.

Hope this helps.

Parveen

Former Member
0 Kudos

HI Praveen,

thanks for your reply.

i thought of copying the standard help exit in a custom one and modify my changes in that.

So how can we call a search help exit in get_v of any attribute? in this help exit there are no importing parameters, but when i tried calling the standard help exit in get_v then its not returning any values.

How can i call it in my custom code?

- Saloni

ocpjcp
Active Participant
0 Kudos

Hello Saloni,

Create a new Data element , zcrm_e_attr and attach a new Z search help with the custom exit you have created to it.

In this way you can first test if the custom exit is working fine in SAP GUI.

Put the following code in the get_v.

    METHOD get_v_attr.

     DATA:   lr_attr    TYPE REF TO cl_crm_uiu_ddlb.

     CREATE OBJECT lr_attr     EXPORTING       iv_source_type = 'T'.

     lr_attr->set_data_element( iv_data_element      = 'ZCRM_E_ATTR'

                                    iv_add_initial_entry = abap_true ).

    rv_valuehelp_descriptor ?= lr_attr.

  ENDMETHOD.

Hope this helps.

Parveen

Answers (1)

Answers (1)

ashik_k2
Contributor
0 Kudos
Former Member
0 Kudos

Hi Ashik,

thanks for your reply.

My requirement is not provide the F4 help, its already present by standard..

My requirement is to filter out the result of search in pop-up.

- Saloni