cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a view from another view

Former Member
0 Kudos

Hi,

I have a view in which i'll input the data and press update button. Upon updation( through web services model) i need to disply the response or some acknowledgement message on another view. I have created another view. Now how will i call the view during runtime. Any code snippet? pls help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Why cant you use fire plug and navigate to that view.

And u can pass the values as plug parameters...

Go to plugs.. Create a outbound plug in first view..create a inbound plug in second.. connect then using a navigation link.. and in each plug define the parameters u want to pass..

Use wdThis.wdFirePlug<>(plug parameters) to fire the plug.

Regards

Bharathwaj

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Sujesh,

Your scenario is addressed in the Web DynPro Help, part of SAP NetWeaver Developer Studio.

You can also access the required material from :

sdn.sap.com -> WAS -> Web DynPro

Click "Sample Applications and Tutorials" in the navigation panel in right side of the page.

In the new page, select the tutorial (1), titled

"Creating Your First Web Dynpro Application".

Hope this helps.

-srini

0 Kudos

Hi Sujesh,

If your second view is in another application then you need to fire the exit/outbound plug from the interface view of the first component.Is this what you want?

Regards,

Shyam.

Former Member
0 Kudos

Create outboundplug from view1 to view2 and

fireplug in the view1.

Ex: wdThis.wdfirePlugView2();

Regards, Anilkumar