Skip to Content
avatar image
Former Member

How to map search help dinamically to a context attribute

Hi,

I need to map search help dynamically based on selection screen radio button, Please let me know how to map search help dinamically to a context attribute

Best regards,

Alleiah

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 08, 2008 at 12:09 PM

    use in this way....

    data:lr_input type ref to cl_wd_input_field.

    lr_input ?= view->get_element( 'FIELD' ).

    lr_input->bind_value( 'NODE.ATTRIBUTE' ).

    Thanks

    Suman

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 01:08 PM

    data lo_node_info ty

    CALL METHOD lo_nd_clnt_skna1_info->set_attribute_value_help

    EXPORTING

    name = 'KTONR'

    value_help_mode = '121'

    value_help = 'PREMJ'.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2008 at 01:11 PM

    Here is the sample code,

    data lo_nd_info  type if_wd_context_node_info.
      lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
            EXPORTING
              name            = 'KTONR' (attribute Name)
              value_help_mode = '121'
              value_help      = 'PREMJ'.(Help Name)
    

    Regards

    Vishal

    Add comment
    10|10000 characters needed characters exceeded