Tuesday, October 26, 2010

Problems with SAP Help files (.chm)

If you have landed on this page you might have been facing the problem with opening SAP Help files using "Application Help" menu in SAP GUI. The right panel of the Help viewer is blank with message "Navigation to the webpage was canceled".

Reason: This is being caused by a security update to Windows and it has nothing to do with SAP Help files.
Usually the SAP Help files are stored on a shared drive and a configuration in transaction SR13 will point to this shared drive. The Microsoft's security update prevents accessing HTML help files(.chm) that are stored remotely.



Solution:
We need to make settings in the local PC(where your GUI is installed) to allow access to remote files on Shared drive. This is done by modify the Registry values in REGEDIT.

Follow the below steps to modify the registry entries

1. Goto Start Menu -> Run
2. Type REGEDIT and hit enter
3. Navigate to folder “HKEY_LOCAL_MACHINE””SOFTWARE””MICROSOFT””HTMLHelp”1.X”” ItssRestrictions”
4. If there is no subfolder(subkey) “ItssRestrictions”, create one by right clicking on “1.x” folder , choose “New” and then “ Key”
5. Right click the “ ItssRestrictions” subfolder , choose “ New” and then “ DWORD Value”. You would see a new entry on the right panel with name “New Value #1”
6. Rename “New Value #1” to “ MaxAllowedZone”
7. Double click on “ MaxAllowedZone” and enter “1” in the Value data and hit “OK” - leave the default option “Hexdecimal” as is
8. Close the REGEDIT window

That’s it; you should now be able to access the HELP files from the SAP GUI.


Disclaimer: This blog only points to the problem and a possible way to correct this, please talk to your system administrator for further details. This blog will help the SAP Basis team and Windows administration teams to know where exactly the problem is.

Reference- SAP Note- 857216-SAP help files (.chm) not displayed correctly
- http://support.microsoft.com/kb/896358
- MS05-001: Vulnerability in HTML Help could allow code execution
-http://www.drexplain.com/press/chm-files-the-page-cannot-be-displayed-error/