cancel
Showing results for 
Search instead for 
Did you mean: 

Display URL parameters of application to View elements....

Former Member
0 Kudos

Dear All,

I have designed a ABAP webdynpro application.

With one parameter in application so that I can pass data to webdynpro to views elements.

Can any one help how to pass data from URL additional parameters to Views context elements?

For Example:

WebDynpro Application URL: http://XXXX.com:YYYY/sap/bc/webdynpro/sap/zumruf4?zdata=909090

So Can I display parameter zdata '909090' to main view?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rohan,

check this code.write it in HandleDefault method of window

data lv_workid type string.

  • Get the Application Parameter to determine the workitem id

lv_workid = wdr_task=>client_window->get_parameter( 'zdata')

Thanks

Bala Duvvuri

Former Member
0 Kudos

..

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

1. go to the window's Default Plug event handler

2. add the new parameter with the name ZDATA type string

3. simply access the parameter inside the method and save it in the context( the parameter is automatically passed by the framework )

Abhi