on 04-19-2011 3:36 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Baskaran,
I have a WDP component that implements "".
Then, i use it as search help (F4 function) for an input field in another WDP component.
I would like to use the same " search help component " for many input fields.
In this purpose, I would like to pass a parameter to specify the caller input field.
So, do you know a way to pass parameters to "the search help component" ?
Here is the tutorial that i followed, for the first part.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fd6096-a4b6-2d10-bfa8-bbd9001e0d0e?quicklink=index&overridelayout=true ]
You can create a interface node and attributes in provider component. Use these attributes for your business logic inside your Provider component.
In the consumer component do a context mapping to the above interface node from provider component.
There is a interface event VH_WINDOW_OPENED available from the provider component. So create a handler method for this event in your view.
In this event handler set the attributes of the interface node .
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'.
....
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.