Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a 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'.

      ....

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.