on 09-08-2009 8:48 PM
Hi,
I need to implement a value help for description field in view BP_DATA/MarketingAttributesEOVP. For that i created on custom search help through SE11, now i need to assign this z search help to description field. I implemented the GET_V method for this field and added this code to this method
method GET_V_DESCRIPTION.
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.
ls_map-context_attr = 'DESCRIPTION'.
ls_map-f4_attr = 'ATBEZ'.
append ls_map to: lt_inmap, lt_outmap.
create object rv_valuehelp_descriptor type CL_BSP_WD_VALUEHELP_F4DESCR
exporting
iv_help_id = 'ZMKT_ATTR_DESC'
iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
endmethod.
I am able to see the search help window in Web UI but when i select any value in search help, its not passing that value to the field.
Regards,
Kamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes i did checked the import and export parameters for ATBEZ in my search help. i tried to implement the same search help in BP_HEAD component for NAME2 and it is working there. same code... i don't know why it is not working in BP_DATA/MarketingAttributesEOVP context node attributes-description
Regards,
Kamesh Bathla
User | Count |
---|---|
5 | |
1 | |
1 | |
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.