cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Outbound plugs dynamically

Former Member
0 Kudos

Hi,

I need to create Outbound plugs during the runtime dynamically.

I would appreciate if someone could post some examples how to do this sinds WebDynpro is new to me.

Thanks in advance.

Regards,

Amel

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member215843
Active Participant
0 Kudos

Hi Amel,

Normally in Web Dynpro you can declare outbound plugs and inbound plugs for your views and windows, and then you should draw a navigation link between them in your window editor. One outboundplug can be connected to more than one inbound plugs.

At runtime you can decide, which outbound plug should be fired. You can also fire more than one outbound plugs, which are put in a queue and handled one after the other.

So in standard Web Dynpro applications there is no need for dynamical creation of outbound plugs.

If your application is special, please tell us your business case.

Regards, Regina

Former Member
0 Kudos

Hi,

if you mean you want to navigate to different pages/urls:

create an interface exit outboundplug in your window with url parameter,

and fire that from within your application with the at runtime desired value:

lv_url = 'your url'.

l_ref_window = wd_this->get_window_ctr( ).

l_ref_window->fire_yourplug_plg(

url = lv_url " String

).

grtz

Koen