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.
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.
Add PageHeader UI Element. Provide appropriate title to the page header.
Insert Title Content in the Page Header.
Insert LinkToAction UI Element.
Create Action for the Link to Action UI element.
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
Activate WD component and execute the application. It will display the Page Header with title and Help Link as displayed below.
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)
You can add FAQs etc. There is option available if you want to display this information for this application or for all application.
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.
Normal User will just be able to see the content. But will have access to change and delete the Note content.
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.
In NW 7.0, EhP 1, This method checks for the authorization objects S_DOKU_AUT and S_TABU_DIS.
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.