cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a URL from backend systems through a web dispatcher?

Former Member
0 Kudos

Hello Experts,

 

I installed SAP Web Dispatcher 7.20 on Windows 2008 R2.  We have 3 backend systems - ECC, PI and BW.  I would like these backend systems to be accessed via the Web Dispatcher (webdisp).  For example, I should be able to access the ECC backend systems by just typing http://webdisp:port/ECC, the PI system via http://webdisp:port/PI, and the BW system via http://webdisp:port/BW.

 

I was able to redirect to these systems by using the following parameters:

 

icm/HTTP/redirect_0 = PREFIX=/, FROM=/ECC, TO=/, PROT=HTTP, HOST=ecchost.domain.com, PORT=8000

icm/HTTP/redirect_1 = PREFIX=/, FROM=/PI, TO=/, PROT=HTTP, HOST=pihost.domain.com, PORT=50000

icm/HTTP/redirect_2 = PREFIX=/, FROM=/BW, TO=/, PROT=HTTP, HOST=bwhost.domain.com, PORT=8000

 

However, I am unable to execute or call any URL.  For example, if I type http://webdisp:port/PI/nwa, I get a 500 Internal server error.

 

How can I call the URL from the backend systems via the web dispatcher using the format http://webdisp:port/<system>/<URL>?  I'm checking the Manipulating URL guide from http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/92688baa6b17cee10000000a421937/content.htm, but it seems overwhelming or confusing for a newbie like me.

 

Has anyone successfully configured a similar scenario?  I'd appreciate if you could share the parameters you used to attain this requirement.  Any additional pointers which I may have not yet considered at this time would be much appreciated.

 

Thank you.

Rey

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

Have a look here

http://scn.sap.com/thread/1122572

Regards

RB

Former Member
0 Kudos

Thanks for this link, Reagan.  It looks very helpful and informative.  I will try them out.

Kind regards,

Rey

Answers (1)

Answers (1)

Former Member
0 Kudos

Redirects won't help since any URL generated by the respective backend system will not have the custom prefix. Instead of spending time to figure out URL rewriting and still face the problem of backend systems not generating the custom prefix, create DNS aliases for the backend systems and use hostnames for server selection.

Former Member
0 Kudos

Hello Samuli,

Thanks for your email.

You are right, redirect alone won't work.  I think I should not have used the term "redirect".  I think the term "forward" or route is more appropriate.

Kind regards,

Rey