Skip to Content
Author's profile photo Chandrashekhar Mahajan

Help Center Usage in Webdynpro ABAP

Introduction –

This article shows you the way to integrate Help Center feature into your Webdynpro ABAP application without SAP Knowledge Warehouse Setup in place.

This article also focuses on authorization objects required to determine key user and normal user.

Background –

The Help Center application shipped with Enhancement Package 1 of SAP NetWeaver 7.0 is suitable for use with applications in SAP Business Suite. The Help Center is available in a first version for applications of ERP 6.0 Enhancement Package 4. Its features will be improved and extended in future versions.

Refer http://wiki.sdn.sap.com/wiki/display/Found/Help+Center to know more about Help Center.

As per SAP help http://help.sap.com/saphelp_nw70ehp2/helpdata/en/4a/e65f266f4a635ee10000000a421937/content.htm , Help Center can be called in your application by adding application parameter WDHELPCENTERDISPLAY. This is avaiable in SAP NetWeaver 7.0, Ehancement Package 2.

Apart from this you should have SAP Knowledge Warehouse (SAP KW) setup ready so that you can navigate to help documents that are maintained in SAP Knowledge Warehouse. Refer http://scn.sap.com/docs/DOC-8992 to know more about SAP KW

In case you do not have knowledge articles stored in SAP KW and want to use Help Center feature then there is way to integrate it. This is explained in more details as below.

Help Center Usage in WD ABAP –

Create WD Component and Application.

Image1.JPG

Add PageHeader UI Element. Provide appropriate title to the page header.

Image2.JPG

Insert Title Content in the Page Header.

Image3.JPG

Insert LinkToAction UI Element.

Image4.JPG

Create Action for the Link to Action UI element.

Image5.JPG

Add below code to Call the method open_help_center

DATA: l_api_componentcontroller TYPE REF TO if_wd_component,
           l_appl                               TYPE REF TO if_wd_application.

l_api_componentcontroller = wd_comp_controller->wd_get_api( ).
l_appl = l_api_componentcontroller->get_application( ).

l_appl->open_help_center( ). “Call method open_help_center

Image6.JPG

Activate WD component and execute the application. It will display the Page Header with title and Help Link as displayed below.

Image7.JPG

On click of Help link, it will display the Help Center Page with sections such as Note, FAQs, Worth Knowing and Learnig Content (Learning Content is not available in NW 7.0, EhP 1)

Image8.JPG

You can add FAQs etc. There is option available if you want to display this information for this application or for all application.

Image9.JPG

Based on authorization object and roles, user can be categorized as key users and normal users.

Key user will have access to create, change and delete the content.

Image10.JPG

Normal User will just be able to see the content. But will have access to change and delete the Note content.

Image11.JPG

Authorization Objects to Determine Key User –

Whether a user is Key user or normal user is determined in the method IS_KEY_USER of class CL_WDHC_AUTH.

In NW 7.0, EhP 2, This method checks for the authorization object S_WDHC_ADM.

Below is the snap of this authorization object with permitted values.

Image12.JPG

In NW 7.0, EhP 1, This method checks for the authorization objects S_DOKU_AUT and  S_TABU_DIS.

Conclusion –

As discussed in this document, we can integrate Help Center in WD ABAP application. If appropriate authorizations are assigned to user roles then users will be able to access it accordingly.

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Is it possible to transport the content of Help center from Dev to QA to Production?

      Author's profile photo Chandrashekhar Mahajan
      Chandrashekhar Mahajan
      Blog Post Author

      Hi,

      It is possible to move the content from Dev to Quality to Production. Please refer my document http://scn.sap.com/docs/DOC-33913

      Thanks,

      Chandra

      Author's profile photo Ilya Sychev
      Ilya Sychev

      Hello,

      By default links added in Worth Knowing section are sorted in alphabetical order.

      Can it be changed?

      Thank you,

      Ilya

      Author's profile photo Richard Presz
      Richard Presz

      Awesome document.  Thank you for sharing.

      Author's profile photo Former Member
      Former Member

      Hi,

      I guess help center is not useful in case of FPM where we make component configurations out of components. I see same help showing up for different applications which is confusing.

      raghav

      Author's profile photo Ilya Sychev
      Ilya Sychev

      Hi Raghav

      You may configure what to show in Help Center of an application via transaction SHC_ADMIN.

      Regards,

      Ilya