cancel
Showing results for 
Search instead for 
Did you mean: 

change field name of standard field

Former Member
0 Kudos

Hi guys,

I know it is a very simple question but i am new to CRM and culdnt get to see this in SCN. Can some one suggest me as to how to change the field name of a standard field and also add f4 help to it.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Sijo and Shail, thanks a lot for your inputs. I am now able to change the field name. Can you also answer my other question pls as to how to set up a f4 help for the standard field.

Thanks.

Former Member
0 Kudos

Hi

For F4 help :

First find out whether there are any standard search help available in Data Dictionary.

Then go to Component workbench BSP_WD_CMPWB, Display the UI component View>Contetx node> Attribute--> Right click on the attribute >Generate getter & setter Methods> go to GET_V_xxxx method and us the below code to call the F4 help:

The below e.g is to call F4 help assignes to custom field for competitor f4 help from BP tables

data:
    ls_map    type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,
    lt_inmap  type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
    lt_outmap type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
    it_bpo    type BU_PARTNERROLE.

  ls_map-context_attr = 'STRUCT.ZZ_TIEBACK'. "*name attribute*"
  ls_map-f4_attr      = 'NAME1'.                            "*name of f4 help parameter for import export*"
  append ls_map to: lt_inmap, lt_outmap.

   create object rv_valuehelp_descriptor type CL_BSP_WD_VALUEHELP_F4DESCR
    exporting
      iv_help_id        = 'Z_COMPETITOR'               "*name of f4 help*"
      iv_help_id_kind   = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
      iv_input_mapping  = lt_inmap
      iv_output_mapping = lt_outmap.} 

Regards

Jignesh

Former Member
0 Kudos

Hi Prem,

1.To find out the name of the UI component and view place your cursor in an editable field on the web UI screen and press F2.

2.Component name, view name as well as Technical information about the current configuration will be displayed in popup window.

3.Go to Component workbench BSP_WD_CMPWB. Display the UI component (found above) in the component workbench and select the view you want to change. Go to tab "Configuration" in RHS.

4.Check if edit button is pressed, Click choose configutation and select the row having Context id same as the one found in the tech. info of view.

5. find the field u wanna change name of.Hold down the ALT key and click into the input field

6. Change the label here and save. The changes would be reflected on logging to web ui again.

Hope this helps!

Regards,

Shaili

former_member206299
Contributor
0 Kudos

Hi,

Press F2 and get all the details like component , view ,context ID etc...

Go to the corresponding Component , view , context ID ( confifguration )

There you can find the layout configuration -

Select the corresponding field and click on ' Show field properties ' there we have option to change the Field label.

Edit the name and 'Save' the configuration data.

Regards,

Sijo