<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: call winhelp from ABAP programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872330#M50113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to see the repository used in this way (I think it is often overlooked).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2005 11:29:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-26T11:29:21Z</dc:date>
    <item>
      <title>call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872327#M50110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to display a windows help file in my ABAP application.&lt;/P&gt;&lt;P&gt;The idea: by pressing the info-button it should display the file "Info.chm".&lt;/P&gt;&lt;P&gt;I can display the file, if it is placed locally on the client machine, but I&lt;/P&gt;&lt;P&gt;want to store it in the system somehow, so that it is available to all of the&lt;/P&gt;&lt;P&gt;users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I place it in some repository, and later call the HtmlHelp Application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw an old example calling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WIN_HELP' FROM 'SAP_GUI'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stanimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2005 12:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872327#M50110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-22T12:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872328#M50111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanimir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try putting the help into the SAP Web repository (transaction SMW0).  It has a section for storing binary (MIME) objects.  This will store the help as a binary object within the SAP database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you do is upload the help file into the repository, and then assign an application (MIME editor) to the object based on its extension.  In your case you could assign the HTML help to .chm extensions (first you may have to maintain .chm as a MIME type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to execute the application by calling function SHOW_WEB_OBJECT and passing the attributes of the object using the KEY parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2005 12:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872328#M50111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-22T12:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872329#M50112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;thank you very much! &lt;/P&gt;&lt;P&gt;It works exactly as I wanted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stanimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2005 11:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872329#M50112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-26T11:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872330#M50113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to see the repository used in this way (I think it is often overlooked).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2005 11:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872330#M50113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-26T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872331#M50114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the object in the SAP Web repository, transaction SMW0.  These are the attributes of the object.&lt;/P&gt;&lt;P&gt;Z_SAP_HELP	fileextension	.chm&lt;/P&gt;&lt;P&gt;Z_SAP_HELP	filename	C:\Temp\SAP_help.chm&lt;/P&gt;&lt;P&gt;Z_SAP_HELP	filesize	28686&lt;/P&gt;&lt;P&gt;Z_SAP_HELP	mimetype	chm&lt;/P&gt;&lt;P&gt;Z_SAP_HELP	version		00001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new Mine type: chm  with extension  *.chm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I associated %SystemRoot%\hh.exe as the editor for Mime type chm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked fine for me, but my colleague was unable to successfully run SHOW_WEB_OBJECT until he also set up the editor associated with Mime type chm.  Is there a way to systemically set up the association between a mime type and the editor so that each person does not have to go through this process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 18:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872331#M50114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872332#M50115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked it out.  When you record your MIME editor for a MIME type it exports it to the database table WWWDATA with the key:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELID: ST&lt;/P&gt;&lt;P&gt;OBJID: mimeappl&amp;lt;username&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There doesn't seem any way to automate this using standard functionality, but you could write your own program to export the correct contents to database for each of your users.  I think you could achieve this by doing an external perform on the subroutine SET_MIMETYPES in program SAPLSHTM (function group SHTM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2005 13:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872332#M50115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-28T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: call winhelp from ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872333#M50116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.  It wasn't the answer that I was hoping for, but you did provide me with a solution.  It does seem silly that this association can't be set up systemically.  But who were we to question the decisions that SAP developers made in the dark of night as they developed the product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy your weekend.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2005 16:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-winhelp-from-abap-programs/m-p/872333#M50116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-29T16:35:44Z</dc:date>
    </item>
  </channel>
</rss>

