Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

application help

Former Member
0 Kudos

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

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

0 Kudos

I know about this documentation .But This is not our requirement.

Any way thanks

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

This posting may be of interest to you:

Can you tell us why you need a Word document? Is there some feature in Word that you want to use that is not available in standard SAP documentation?