cancel
Showing results for 
Search instead for 
Did you mean: 

access to parameters passed into the web dynpro

former_member186444
Participant
0 Kudos

If I call a web dynpro application from the gui using function module 'WDY_EXECUTE_IN_PLACE' and pass in some parameters, could someone then tell me how I get access to the parameters from within the web dynpro ?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186444
Participant
0 Kudos

I see I can do this in the HANDLEDEFAULT method of the default window with this code:

DATA: wa_url TYPE LINE OF tihttpnvp,

int_url TYPE tihttpnvp.

wdevent->get_data(

EXPORTING

name = if_wd_application=>all_url_parameters

IMPORTING

value = int_url ).

However, I'm not sure how I get access to this in the main view itself. Any ideas ?

thanks.

Former Member
0 Kudos

Hi,

I think it is not possible to access the data directly in the view . But you can get the data in the window and bind the data to the context in comp controller.

Ranganathan.

Former Member
0 Kudos

Once you have got them here, you can bind the value to some context node, store them as class attribute or even as component controller public attributes.