on 02-09-2012 5:13 AM
Hi All,
I need to have a custom value (f4) help on product category id on products assignment block in campaigns.
component : CPGOE_ABLOCKS
view : CPGOE_ABLOCKS/OVELProducts
filed: STRUCT.PRODUCT_CAT .
when i select the value from the custom f4 help ,im getting a strange values getting appened to the category id and getting displayed.
Product id and product text is hided.
like in the f4 help i select the category id as '003100510' ,
the value displayed is '031005100131E78CP0'
nt sure y this behaviour.
how the category id and product id releated?
any configuration issue.?
Thanks,
Anitha.
Hi Anitha,
Check the return value of your F4 help. See how the return value is formed.
Regards,
Leon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
its returning the value appened with 0131E78CP0,
nt sure from where the this value is picked up and being appened to the category id 003100510.
its also adding 10-11 rows with category id +some appened value and displaying these 17 rows when i select only 1 value.
it is taking the hirachy ,and the category and the products under that category?.
how to rectify this?
Thanks,
Antha.
Hi ,
DATA:
lv_str_index TYPE char2,
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.
lv_str_index = iv_index.
condense lv_str_index no-gaps.
CONCATENATE 'table[' lv_str_index '].PRODUCT_CAT' INTO
ls_map-context_attr.
ls_map-f4_attr = 'CATEGORY_ID'.
APPEND ls_map TO: lt_inmap, lt_outmap.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'YSH_FSCRM_PRODSEL'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_TRIGGER_SUBMIT = abap_true
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
endmethod.
'YSH_FSCRM_PRODSEL' -serach help
and table used is the custom table ...
having fields
CATEGORY_ID -
points to f4 attribute.
CATEGORY_DESC
PARENT_CATEGORY
Thanks,
Anitha.
User | Count |
---|---|
6 | |
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.