02-24-2005 5:37 PM
Please let me know how can I link the application help to Word Document.For e.g.
I have a report ZREPORT. When I execute the report and click on HELP->Application help (from the MENU), it should open word document. Please let me know if this is possible and if possible where I can attached the word document.
Thanks
02-24-2005 6:05 PM
Don't know if thats possible. I would suggest using program documentation. In SE38, type program name, click change. Now click GO TO, click DOCUMENTATION. Put your documentation here. By doing this, when executing the program, when the selection screen is displayed, you will see an "information" icon in the status bar. Clicking that button will bring up your documentation.
Regards,
Rich Heilman
02-24-2005 6:50 PM
I know about this documentation .But This is not our requirement.
Any way thanks
02-24-2005 7:05 PM
Ok, then create a button on your gui status. When user clicks it, do the following code.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
DOCUMENT = 'C:/yourfile.doc'
MAXIMIZED = 'X'
SYNCHRONOUS = 'X'
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
BAD_PARAMETER = 3
FILE_NOT_FOUND = 4
PATH_NOT_FOUND = 5
FILE_EXTENSION_UNKNOWN = 6
ERROR_EXECUTE_FAILED = 7
OTHERS = 8.
I really don't think that you can "customize" what gets open up when user click the "Help"----->"Application Help".
Regards,
Rich Heilman
02-24-2005 7:09 PM
Hi,
that's exactly what comes up into my mind, when hearing this requirement.
I just wonder, how all PCs will be filled with all documents for all reports... even network folders don't need necessarily be mounted.
Christian
02-24-2005 9:01 PM
I also don't believe you can customize that specific menu path. That key is used to send a specific string to the SAP helper application (check help_04.exe) which uses sapdoccd.ini to lookup the help files. Check by with the BASIS folks to find out how you can customize it.
HTH
Swapan
02-24-2005 9:46 PM