cancel
Showing results for 
Search instead for 
Did you mean: 

Values not copying in Ship-to-Address Search help

Former Member
0 Kudos

Hi Experts,

I have created a elementary custom search help for delivery address (BBP_ADDR_BUPA_SHIPTO) and successfully getting the selection in the pop-up. But the selection is not copying into the screen.

I have also created a collective search help and added this elementary search help to it.

I have done the Parameter assignment as well.

When I execute the collective search help in SE11, the entries are getting copied.

But when I am executing it in WD component. the selection entries are not getting copied.

I have added the below code on WDINIT post-exit:

  1. Data: lo_nd_attrib type ref to if_wd_context_node, 
  2.          lo_nd_attrib_info type ref to if_wd_context_node_info. 
  3. *  Get the Node and Attribute Information 
  4. lo_nd_attrib = wd_context->path_get_node( path = `Node PATH` ). 
  5. lo_nd_attrib_info = lo_nd_attrib->get_node_info( ). 
  6. * Set the custom search help that need to be executed for the context attribute 
  7. lo_nd_attrib_info->set_attribute_value_help( name = 'ATTRIBUTE_NAME' value_help_mode = '121' value_help = 'ZCUSTOM_SEARCHHELP' ). 

Can you please help me in this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi,

the reason is, that the search help returns only one key field to your attribute. You have to read the rest of the data with your own code and fulfill the context.

Regards

Konstantin