cancel
Showing results for 
Search instead for 
Did you mean: 

Redefined/ Custom F4 help is not getting calles

Former Member
0 Kudos

Hi there,

I'm currently trying to "redefine" the F4 help of the attribut STRUCT.SALES_ORG of the search component BT116S_SRVO/AdvancedSP. The requirement is to limit the displayed sales orgs to the users authorisations.

I've created the v-getter and there I'm calling the methode if_bsp_custom_f4_callback~retrieve_custom_values from my Z-class where I implemented the filter logic.

When I open the serach view the custom coding gets processed.

However when I click on the actual F4 help icon it ends up in the sap standard routine (CL_THTMLB_F4HELP=>GET_HELP_VALUES) calling the sap standard class (CL_CRM_UIU_ORGSET_SLS_VH).

Any ideas what could be wrong?

Can it be related to my v-getter implementation?

Best regards,

Thea

Accepted Solutions (1)

Accepted Solutions (1)

corrine_guan
Employee
Employee
0 Kudos

Hello Thea,

It is because in Implementation Class CL_BT116S_S_ADVANCEDSP_IMPL, there is a GET_V_SALES_ORG method which is actually coming from CL_BTSRV_ADVS_CNTRL.

This leads to the call of CL_THTMLB_F4HELP=>GET_HELP_VALUES when you click on the F4 help icon. Please try to redefine this method GET_V_SALES_ORG in  CL_BT116S_S_ADVANCEDSP_IMPL.

Best Regards, Corrine

Former Member
0 Kudos

Hi Corrine,

thank you for your help

Sometimes you miss the most obvious things and get stucked.

I redefined the GET_V_SALES_ORG of the IMPL-Klasse and it works fine now.

Thank you

Thea

Answers (0)