Skip to Content
avatar image
Former Member

passing parameter to an Input Help Component

Hi ,

Someone knows a way to pass parameters or any value to an Input Help Component that is built in a separate WDP application ?

Thanks in advance for your help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 19, 2011 at 06:56 PM

    You may have to explain more about what you are asking here.

    Input help component ? I assume you mean a Webdynpro component here.

    How do you want to pass the parameter ?. If it is a cross component communication then the parameters should be part of the interface.

    If you are calling a URL then you can pass the URL parameters and get it retrieved in the window start up plug.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Thanks a lot for your response.

      I find another easier way to know wich is the calling input field.

      Here is the code :

      DATA lo_listener TYPE REF TO if_wd_value_help_listener.
        DATA lv_attrib_name   Type String.
      
        lo_listener = WD_THIS->value_help_listener.
        lv_attrib_name = lo_listener->f4_attribute_info-name.
      
        CASE lv_attrib_name.
          when 'COLOR'.
            TCG66_ATNAM = 'SAP_EHS_1013_008_VALUE'.
          when 'ODOR'.
            TCG66_ATNAM = 'SAP_EHS_1013_010_VALUE'.

      ....