
If you want to set help links to an application configuration, or use a filter to restrict the help link display in the Help Center for Web Dynpro applications and/or application configurations, you have to implement a BAdI.
You can find an example of the display of multiple links in the system. To do this, open page WDR_TEST_PAGE_HELP_LINKS, which you can find in application configurations of the Page Builder (Web Dynpro component WDR_CHIP_PAGE), in order to Test.
Creating Enhancement Implementations
Navigate in transaction SE18 to BAdI definition WD_BADI_HELP_LINK, and open it.
To create an enhancement implementation, select node Implementation, open the context menu, and choose Create BAdI Implementation.
On the next screen, choose New, and define a name and short text for the enhancement implementation.
Define the name of the implementing class, and save it.
Select your enhancement implementation, and choose tab Enhancement Spot Element Definitions.
Defining Filters
With the filter you can define the Web Dynpro applications and/or application configurations for which one or more specified help links are displayed in the Help Center. For example, you can define a filter that specifies these links for a specific set of applications.
Without a filter your implementation would be valid for every Web Dynpro application. Therefore, make sure that you set the filter very precisely.
Select Filter Values and choose Create Filter Combination.
Choose:
APPLICATION_NAME to set a filter on a Web Dynpro application
APPLICATION_CONFIGURATION to set a filter on an application configuration.
Repeat this step for further filter criteria and define the filter values and comparators.
Implementing Links to the Help Center
Navigate to the implementing class and set the help links there.
In class CL_TEST_CHIP_HELP_LINK of the enhancement implementation CHIP_TEST_HELP_LINK you can find the source code and implementation notes.
For more information: Parameters for Links to Documents in Knowledge Warehouse
To implement BAdIs, read: Business Add-Ins (BAdIs)