Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: How to change standard search help to custom SH in webdynpro?

$
0
0

Hi Jack,

 

     Put the code mentioned by Oliver in view method enhancement WDDOINIT(POSTEXIT), This makes sure that the code is executed only when the application launches.

 

 

DATA: node_org_data  TYPE REF TO  if_wd_context_node,

        node_info TYPE REF TO if_wd_context_node_info.

 

  node_org_data = wd_context->get_child_node( name = wd_this->wdctx_org_data ).

  if node_org_data is bound.

    node_info = node_org_data->get_node_info( ).

    if node_info is bound.

      CALL METHOD lo_nd_info->set_attribute_value_help

        EXPORTING

          name            = 'PURCH_ORG_TEXT'

          value_help_mode = 'C_VALUE_HELP_MODE-AUTOMATIC'                 " Valid value help mode

          value_help      = 'z Search help name'.

    endif.

  endif.

 

 

and also make sure the search help has the same structure as in the standard search help(return structure).

PURCH_ORGTypesBBP_PROC_ORGCHAR140Responsible Purchasing Organization
PURCH_ORG_TEXTTypesBBP_PURCH_ORG_DESCCHAR400Purchasing Organization

 

 

With this it should work.

 

Regards,

Tashi


Viewing all articles
Browse latest Browse all 9656

Trending Articles