cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture the parameter in webdynpro application?

Former Member
0 Kudos

Hi ,

We have a requirement like this :

the scenario is :

user will get a mail to inbox(here mail is coming from SAP Workflow) saying that :"proposal is waiting for your approval".for details please click on the below link:

once user clicks on the link it has to open up the webdynpro application and has to display the details of the particular proposal no.

how to pass the proposal no to the webdynpro application URL and how to capture the proposalno in webdynpro java?

Thanks in advance.

Regards,

Pavani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

From the workflow when you create the link, also add the proposal number as an url parameter.

For example if the url for requesting WD application is <WD_URL>, then URL with parameter would be

<WD_URL>?PROPOSAL_NO=<actual_proposal_number>

In the webdynpro, you can access this parameter with the following piece of code(ideally in wdDoInit of component controller).

String proposalNo = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("PROPOSAL_NO");

Regards

kk..

Answers (0)