cancel
Showing results for 
Search instead for 
Did you mean: 

Dictionary SH not working after upgrdae

former_member184111
Active Contributor
0 Kudos

Hi Forum,

We have upgraded from SRM 701 to SRM 713. After upgrade search help for a custom field is not returning values to the field.

I have checked and the SH is attached to the respective context attribute and also to the dictionary structure field to which this context attribute refers but when a value is selected on SH pop up it is not returned to input field.

It is an elementary search help.

Issue in system:

SAP_BASIS - release 740 - SP8

Any pointers?

Thanks,

Anubhav

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

Hi,

Found a preexit of wddomodify view


DATA lv_flag                  TYPE abap_bool.

  DATA lo_nd_item_basic_data    TYPE REF TO if_wd_context_node.

* Check if z field Tax usage code is changes by user - HIWAN001 16/3/12

  lo_nd_item_basic_data = wd_context->get_child_node( name = wd_this->wdctx_limit_item ).

  lo_nd_item_basic_data->is_changed_by_client( RECEIVING flag = lv_flag ).

  IF lv_flag IS NOT INITIAL.

    wd_comp_controller->mo_bom->/sapsrm/if_cll_mapper~update( ) .

    wd_comp_controller->mo_bom->/sapsrm/if_cll_mapper~refresh( ) .

  ENDIF.

Because of

wd_comp_controller->mo_bom->/sapsrm/if_cll_mapper~refresh( ) .

the data was refrehsed and set to default values after selection in search help. Now after the value selection the selected value is sent to input field but on Check or Save the data is refreshed again.

My question is:

What is the standard behaviour of handling custom fields? Mapper update is called when ever a field value is changed?

Why the value is set back to default even if mapper update/refresh is not called?

Thanks,

Anubhav