Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Pass values to parameters through URL in Webdynpro and read them

Hi,

Request for help on ABAP WEBDYNPRO URL with Parameter values.

My requirement is:

An email would be sent to the recipients with an unique URL. This URL contains carries certain parameter values.

Clicking on this URL must open my webdynpro application. I need to read the parameter values from this URL and tweak my logic accordingly inside the code.

Could anybody please let me know, :

1. How to set up parameters in webdynpro applications to capture the parameters from the link. Say for example, the URL contains MATNR and MJAHR, in order to read these values, how should the set up be on the webdynpro application.

2. How to read these values and apply the logic in the method HANDLEDEFAULT.

3. Since the URL also has to be created how do i additionally add the parameter to the webdynpro application URL.

Thanks,

Deepak.

Tags:
Former Member
Former Member replied

Hi Deepak,

Q :- How to set up parameters in webdynpro applications to capture the parameters from the link. Say for example, the URL contains MATNR and MJAHR, in order to read these values, how should the set up be on the webdynpro application.

Ans:- For this you have to define two importing parameter's in the handle default method of the calling window.

If you can define system automatic transfer the both element value in the importing parameter. But ensure that parameter defined in the URL must have same name.

2. How to read these values and apply the logic in the method HANDLEDEFAULT.

I think read logic i have already told you, create two attributes in the Component container and pass the importing value to the Global Container,

3. Since the URL also has to be created how do i additionally add the parameter to the webdynpro application URL.

You don't need to bother about the how URL is generated. When user click the LINK system automatic transfer the parameter to the handle default method.

Thanks

Nishant

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question