on 02-27-2009 12:21 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.