cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web Dispatcher - hide URL string on web browser

Former Member
0 Kudos

Hi

We want to setup SAP Web Dispatcher to hide part of the URL string for ABAP Web Dynpro as detailed below. We don't want users to see the full URL string as they navigate on the web browser.

Eg

Actual URL full string:

http://<fqdn>:<port>/sap/bc/webdynpro/sap/zw123da_summary_app?sap-language=ENetc

URL string that we want users to see on their web browser:

http://<fqdn>:<port>/sap/bc/webdynpro

This is to prevent people from knowing the string and attempting to type it in. Is there a way this can be setup without the need to introduce Apache or MS IIS??

Thanks

Dave

Accepted Solutions (0)

Answers (2)

Answers (2)

gill367
Active Contributor
0 Kudos

you can declare external alias for this ..

here is the procedure for th same


To simplify calling up individual WAS applications, you can also define an alias for each WAS application. The user then only
 has to add the character string that was defined as an alias to the standard URL, for example, if the alias for the Balanced 
Scorecard WAS application is /bsc): http://pwdf0479.wdf.sap-ag.de:1081/bsc.


--> Choose the transaction SICF.
--> Choose  External Aliases.
--> Select a host.
--> Choose  to create a new alias for the selected host.
--> Enter the character string for the alias in the  External Alias field.
--> Enter a description for the alias.
--> Choose the Target Element tab page.
--> Under Virt.Hosts / Services, navigate to the default_host - sap - public - bsp - sap node.
--> If you want to define an alias for the Balanced Scorecard WAS application, choose the entry bsc under the sap node; if 
you want to define an alias for the Management Cockpit WAS application, choose mc; if you want to define an alias for the 
Value Driver Tree WAS application, choose vdt.

--> Save your entries.

thanks

Edited by: sarbjeet singh on Feb 8, 2011 10:55 PM

Former Member
0 Kudos

Thanks sarbjeet

Will this hide the string as detailed on my original post. I am not concerned about hiding the hostname or port number. I want to hide the URL string that follows eg..

Actual URL full string:

http://<fqdn>:<port>/sap/bc/webdynpro/sap/zw123da_summary_app?sap-language=ENetc

URL string that we want users to see on their web browser:

http://<fqdn>:<port>/sap/bc/webdynpro

Hide string: sap/zw123da_summary_app?sap-language=ENetc

or

Hide string: zw123da_summary_app?sap-language=ENetc

regards

Dave

gill367
Active Contributor
0 Kudos

Yeah it will do exaclty that thing only.

give the new external alias name as /webdynpro

and proceed as instructed

if /webdynpro is not available give something like /webdynpro_

thanks

sarbjeet singh

Former Member
0 Kudos

HI sarbjeeth ,

Intresting way.

I did not know this.

I tried hiding the url value of a web dynpro ABAP application as told by your above post.

But still the url is not hidden . The entire URL is visible.

What might have gone wrong??

Thanks,

Aditya.

gill367
Active Contributor
0 Kudos

From where are you testing the applciation after creating the external alias.

you should right click on the alias created an test.

it will access the same applcaition with shortened URL.

thanks

sarbjeet singh

Former Member
0 Kudos

HI ,

Its working fine..

But can we do somthing like this when we pass application paramaters in the URL??

And also , please post the help link if possible for the above concept.

Thanks,

Aditya.

Former Member
0 Kudos

Hello

I created the alias but when i right click to test I get a short dump.

Runtime Errors CALL_METHOD_CONFLICT_TYPE

Exception CX_SY_DYN_CALL_ILLEGAL_TYPE

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was

not caught in

procedure "ADD_CTXT_FUNCTION" "(FORM)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

The call of the method "ADD_FUNCTION" of the class "CL_CTMENU" is incorrect. It

was tried

to transfer a non-compatible variable to the formal parameter "TEXT".

How to correct the error

If the error occurred in your own ABAP program or in an SAP

program you modified, try to remove the error.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"CALL_METHOD_CONFLICT_TYPE" "CX_SY_DYN_CALL_ILLEGAL_TYPE"

"RSICFTREE" or "ICFTREE_HANDLER"

"ADD_CTXT_FUNCTION"

gill367
Active Contributor
0 Kudos

http://help.sap.com/saphelp_sem320bw/helpdata/en/55/361a3c9c004866e10000000a11402f/content.htm

here is the help link

in this page check the procedure and see whether you have followed all the steps.

thanks

sarbjeet singh

Former Member
0 Kudos

Hi,

Check out the URL Shortner [https://cw.sdn.sap.com/cw/groups/url-shortener|https://cw.sdn.sap.com/cw/groups/url-shortener]