on 01-07-2014 1:12 PM
Hello Folks,
I am using the same WebDynpro Component for providing the value help for different fields in the FPM Forms.
I need to identify the field name for which the F4 help is triggered. I am using the standard WDA component 'IWD_VALUE_HELP' in my WDA component.
Hi Mohan,
Please refer the standard component WDR_TEST_APPLDEF_VH1 which implements IWD_VALUE_HELP.
It has attribute VALUE_HELP_LISTENER of type IF_WD_VALUE_HELP_LISTENER in component controller.
You can get the attribute name for which F4 is triggered as below
WD_COMP_CONTROLLER->VALUE_HELP_LISTENER->IF_WD_VALUE_HELP_LISTENER~F4_ATTRIBUTE_INFO-NAME
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can create an attribute in the componenet controller of type ref to IF_WD_VALUE_HELP_LISTENER in the search help component.
All the detsils i.e from which attribute the F4 has called can be fetched from the atrribute F4_ATTRIBUTE_INFO of interface IF_WD_VALUE_HELP_LISTENER.
Hope this help you.
Regards,
Inder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the event handler method for VH_WINDOW_OPENED event of Value help, create an importing parameter ( say ATTR_INFO) of type WDR_CONTEXT_ATTRIBUTE_INFO
Now the field 'NAME' of the importing parameter ATTR_INFO ( ATTR_INFO-NAME) will have the name of context attribute for which the F4 is opened.
Hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.