on 06-09-2011 5:54 AM
Hi All,
How to provide the default value for the F4 helps.
That component is in WEB IC,its component name is IUICMDC and it's view is searchall , context node is search, context node attribute is STRUCT.X_COUNTRY . This attribute is for countries ,in this F4 Help it should show default drop down as 'us'.
What can i do for this?
Regards,
Venkatabharath Voona
Redefine the GET_V method : Put following Code
Copy Search Help CRM_COUNTRY into some Zname from SE11.
go to change Mode and in search help give DEFAULT as US in DEFAULT VALUE column for LAND1.
Then put following code and comment other code.
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.
data: F4_ADDR1_X_COUNTRY type ref to CL_BSP_WD_VALUEHELP_F4DESCR.
IF NOT f4_addr1_x_country IS BOUND.
ls_map-context_attr = 'struct.x_country'. "#EC NOTEXT
ls_map-f4_attr = 'LAND1'. "#EC NOTEXT
APPEND ls_map TO: lt_inmap, lt_outmap.
CREATE OBJECT f4_addr1_x_country TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = Give Z Search HElp Name
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
ENDIF.
rv_valuehelp_descriptor ?= f4_addr1_x_country.
Regards,
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.