Skip to Content
author's profile photo Former Member
Former Member

How to find the field for which the F4 help is triggered

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 08, 2014 at 06:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 02:52 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2014 at 04:45 AM


    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

    Add a comment
    10|10000 characters needed characters exceeded

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.