cancel
Showing results for 
Search instead for 
Did you mean: 

Problem calling ITS URL from ASP

Former Member
0 Kudos

We are in the process of migration from Stand-alone ITS (R3 4.7) to Integrated ITS in ECC6.

There is an ASP application that was sitting on the Wgate of the standalone ITS. This app used a OCXhttp control (http://flicks.com/OCXHttp/) to call the URL for an ITS service and get the returned html as a string.

After migrating to the Integrated ITS, the ASP application is sitting on a separate web server and when it invokes the OCXhttp Get(URL) function, SAP threw an error in the system log with message ITS_P 013 "This browser is not supported". We found SAP Note 972116 and disabled this checking. Now we are getting a Timeout error. The URL works fine when accessed directly from a browser.

This is the piece of asp code that accesses the OCXhttp control.

Function httpget(URL)

Dim OcxHttp, tmp, result

Set OCXHttp = Server.CreateObject("OCXHTTP.OCXHttpCtrl.1")

OCXHttp.FlagReload = 1 'ForceReload Turn On

OCXHttp.FlagDontCache = 1 'No Cache

OCXHttp.FlagUseExistingConnect = 0 'Use Existing Connection

Turned Off

OCXHttp.UserAgent = "SP E-Services"

OCXHttp.Timeout = 0

tmp = OCXHttp.SetHeader ("UA-pixels", "1152x882") '

headkey,

headervaluestrURL =

result = OCXHttp.GET(cstr(URL))

response.write result

httpget = OCXHttp.Content

End Function

Documentation link for the OCXhttp control

http://flicks.com/OCXHttp/docs/OCXHttpRef.htm

Pls help.

Regds

Thiru

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I changed the tyoe of the template from Webdynpro to GenerateDynpro and it works