03-19-2015 4:49 PM
Hi Abapeers
how to communicate view two different weddynpro components?
comp1 comp2
main view
create button-------------------------------------------------> Create view
display button -------------------------------------------------> Display view
my Reqiurement
the create button click it will open create view on 2nd component.
the display button click it will open display view on 2nd component.
03-19-2015 7:31 PM
hi Ram,
There are posts/docs on scn describing Component usage.
an simple example is here.
http://www.saptechnical.com/Tutorials/WebDynproABAP/Reusability/demo.htm
Your next webdynpro questions pls post in
Thank you,
Kiran
03-20-2015 7:23 AM
HI,
You need to use component 2 inside component 1 i.e. component usage concept.
In component 2, you have to create 2 windows ....
W_create where view V_create is embedded
W_display where view V_display is embedded
and mark both windows as interface, so that these can be available when component usage is done
On button click, now navigate to the respective window using navigation plugs
Refer this link:
Regards,
Rama
03-23-2015 3:11 PM
Hi
Rama,
Thanks for u r replay.
I am create 2 different views and windows in 2nd component.
the create button(comp1) ----- target_plug_name = 'DEFAULT' ------>create view(comp2).
the 2nd display button(comp1) ----- target_plug_name = ' ' ------>display view(comp2).
i declared window default plug (DEFAULT)create button(comp1) to create view (comp2).it is working fine.
when i use same default plug(display button(comp1) to Display view (comp2).) it will triggerd crate view only.
what is 2nd target plug name? and how to create 2nd target plug? is it possible to create 2nd target plug? more than one default plugs r create is possible?
Regards
Ram