cancel
Showing results for 
Search instead for 
Did you mean: 

ICM fails with parameter=http://xxxx

Former Member
0 Kudos

SAP Web AS (ABAP) does not like a parameter with value = "http://<anystring>" in the query string.

I'm getting following error:

************************

500 Internal Server Error

Error: 9

Version: 6040

Component: HTTP_PLG

Date/Time: Thu Jan 20 12:03:57 2005

Module: http_plg_mt.c

Line: 3878

Server: xi_EN4_04

Detail: Error in HTTP Request

************************

If you try:

http://<host>/sap/bc/bsp/sap/it00/default.htm?byebye=www.sap.com

do you get the same?

Sergio

Accepted Solutions (1)

Accepted Solutions (1)

rainer_liebisch
Contributor
0 Kudos

Hi Sergio,

please don't forget: The URL has to look like this

http://<host>.<domain>:<port>/sap/bc.

Regards,

Rainer

SergioFerrari
Active Contributor
0 Kudos

Hi,

slow, slow, the important part of the URL is after the question mark.

Append "?byebye=http://www.sap.com" to any of your URLs and let me know.

Sergio

Former Member
0 Kudos

Hi Sergio

yes...i am also getting same type of error. if i am putting"http" in the parameter.without "http" its going.

Naresh

Former Member
0 Kudos

if you debug the code you will see that SAP determines if it's HTTP or HTTPS protocol then removes http:// or https://

I would say it's problably getting confused at some point. I had similiar problems with the HTTP Client in the beginning.

former_member181879
Active Contributor
0 Kudos

I suspect that the reason for the failure is just a minor parsing bug somewhere. But this is not important, as the URL parameters should be encoded.

Instead of: "http://www.xyz.com?abc=http://www.sap.com", change the URL to "http://www.xyz.com?abc=http%3A%2F%2Fwww.sap.com". See CL_HTTP_UTILITIES for an URL encoder.

That all said and done, I notice that the IE does not URL encode these parameters (anymore?). Hmmm... do I have somewhere an error in my knowledge base?

brian

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

The link is working for me.

Naresh

SergioFerrari
Active Contributor
0 Kudos

Thanks Naresh,

I'm sorry, I did a mistake typing the message.

Pls try with following URL:

http://<host>/sap/bc/bsp/sap/it00/default.htm?byebye=http://www.sap.com

Sergio

Former Member
0 Kudos

It's a standard link and if you've activated all the necessary nodes in transaction SICF should come up OK. Have you turned off your "Friendly HTTP Errors" under Internet Options (Advanced tab)?