Skip to Content
0
Dec 01, 2008 at 08:03 AM

How to create the URL with OWN parameters and How to HIDE those parameters

180 Views

Hi,

I have Requirement like this.

This application is for Resetting the Password.

I have a link ( Forgot Password ) on my first page of my home page ( Like where we are entering the USER ID and Password ).

Whenever I click on that link ( Forgot password ), one window has to open, where we are entering the Date of Birth and Password, after validating these two values, it generates the password and it sends a mail. All this happening good if I am testing the webdynpro application from SE80.

The problem I am facing here is when test same webdynrpo application from SICF transaction.

When I test my service from SICF, I have URL in the browser as below.

" http://ecc.mycompany.com:8001/sap/bc/webdynpro/sap/zwd_password_reset?sap-client=730 "

In this situation it is asking me the USER ID and PASSWORD in the screen opened.

And If I use the below URL, I am getting the above popup. Because I am hard coding the user id and password as URL parameters. so it is not asking.

" http://ecc.mycompany.com:8001/sap/bc/webdynpro/sap/zwd_password_reset?sap-client=720&sap-language=EN&sap-user=p9010398&sap-password=jumbopack "

Here If I create a link on first page of my home page ( Forgot Password ), If I attach the above URL to that link, every one can see the USER ID and PASSWORD in the opened browser.

Hope I expressed my problem. .. 😊

Is there any possibility to hide the URL parameters. ?

or Can we generate our own URL with required parameters while developing the WebDynpro Component itself ?

Help me regarding this.

Thanks & Regards,

Veerendra Nath

IBM Consultant

0 99896 00018