<?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 HTML SAP LOGON in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-sap-logon/m-p/740542#M35356</link>
    <description>&lt;P&gt;hi i get some code in online i try to use in html while i got an error message,like "uncaught referenceerror" and search in internet based on some blog ans ,i change my browser settings for active x enable then i try in browser but same error occurred.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;script language="JavaScript"&amp;gt;
retcd = 0;
exceptions = 0;
function SAPlogon()  
	{  
	fns = new ActiveXObject("SAP.Functions");  
	trans = fns.Transactions;  
	conn = fns.connection;  
	conn.System = "DEV";  
	conn.user = "ABAP";  
	conn.password = "*****";  
	conn.Client = "100";  
	conn.Language = "EN";  
	conn.tracelevel = 6;  
	conn.RFCWithDialog = 1;  
	conn.logon(0, 0);  
	exceptions = 0;  
	};
function SAPlogoff()
{
conn.logoff(0, 0);
exceptions = 0;
};
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;button type="button" onclick="SAPlogon()"&amp;gt;Logon&amp;lt;/button&amp;gt;
&amp;lt;button type="button" onclick="SAPlogoff()"&amp;gt;Logoff&amp;lt;/button&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt; error on "fns = new ActiveXObject("SAP.Functions"); " this line.&lt;/P&gt;
  &lt;P&gt;Can you give some idea to resolve this problem .&lt;/P&gt;
  &lt;P&gt;Thanks and regard,&lt;/P&gt;
  &lt;P&gt;B.Umayaraj.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 08:20:19 GMT</pubDate>
    <dc:creator>umayaraj</dc:creator>
    <dc:date>2018-09-25T08:20:19Z</dc:date>
    <item>
      <title>HTML SAP LOGON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-sap-logon/m-p/740542#M35356</link>
      <description>&lt;P&gt;hi i get some code in online i try to use in html while i got an error message,like "uncaught referenceerror" and search in internet based on some blog ans ,i change my browser settings for active x enable then i try in browser but same error occurred.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;script language="JavaScript"&amp;gt;
retcd = 0;
exceptions = 0;
function SAPlogon()  
	{  
	fns = new ActiveXObject("SAP.Functions");  
	trans = fns.Transactions;  
	conn = fns.connection;  
	conn.System = "DEV";  
	conn.user = "ABAP";  
	conn.password = "*****";  
	conn.Client = "100";  
	conn.Language = "EN";  
	conn.tracelevel = 6;  
	conn.RFCWithDialog = 1;  
	conn.logon(0, 0);  
	exceptions = 0;  
	};
function SAPlogoff()
{
conn.logoff(0, 0);
exceptions = 0;
};
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;button type="button" onclick="SAPlogon()"&amp;gt;Logon&amp;lt;/button&amp;gt;
&amp;lt;button type="button" onclick="SAPlogoff()"&amp;gt;Logoff&amp;lt;/button&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt; error on "fns = new ActiveXObject("SAP.Functions"); " this line.&lt;/P&gt;
  &lt;P&gt;Can you give some idea to resolve this problem .&lt;/P&gt;
  &lt;P&gt;Thanks and regard,&lt;/P&gt;
  &lt;P&gt;B.Umayaraj.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 08:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-sap-logon/m-p/740542#M35356</guid>
      <dc:creator>umayaraj</dc:creator>
      <dc:date>2018-09-25T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTML SAP LOGON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/html-sap-logon/m-p/740543#M35357</link>
      <description>&lt;P&gt;That's not HMTL. It's JavaScript. The HTML even tells you this.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;script language="JavaScript"&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Sep 2018 11:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/html-sap-logon/m-p/740543#M35357</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-09-25T11:20:58Z</dc:date>
    </item>
  </channel>
</rss>

