cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to communicate a view with another view directly

Former Member
0 Kudos

Hi Fndz ...

Is it possible to communicate a view with another view directly with out taking help of controler..if it is .....plz tell me how

THANKS & REGARDS

RAJESH KUMAR

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Not in the sense of calling methods of one view from another. This is a design decision to decouple views from each other.

By triggering a navigation (firing outbound plug) you can nevertheless pass values (plug parameters) from one view to another.

But without knowing your use case, difficult to say...

Armin

Former Member
0 Kudos

Hi Rajesh,

It is not possible to communicate between two views directly.

If you can elaborate your requirement then we can find some alternatives.

Regards,

Murtuza

Former Member
0 Kudos

Hi Rajesh,

I dont think so it is possible.

FYI

1. wdDoInit().

this will be called only once when the view is displayed for the first time. In subsequent displays of the view this method will not be called.

3. wdDOModifyView()

this method will be called all the times before rendering the view. This method used for

creating / modifying the UI Elements dynamically.

4. OnAction<>()

This is an event handler, which will be called on the events like Clicking of the button, Selection in dropdown element etc.

5. onPlug<>()

this method will be called on firing either in bound or out bound plug,

Control Flow

1. When you open a WD iView if reads the System object behind the iVew - collects the J2EE engine name, port number and access protocol from it. So it gets the initial part of the application URL i.e. http://myhost:myport

2. Then it reads the iVew property to find out the application namespace and application name. So it forms the complete URL of the application i.e. http://myhost:myport/webdynpro/dispatcher/mynamespace/myapplication.

3. The iView fires the complete URL and opens whatever be the response from that URL execution.

4. The Web Dynpro application in turn checks the JCo destinations (if there are any) from WD Content Administrator.

5. The JCo destinations in turn read the backend R/3 system details from SLD and use the connection details maintained in the JCo destination profile to connect them.

Check nice Bertram`s article

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/yet%20an... (Figure 2. Web Dynpro Phase Model and Calling Context Calculation Methods).

Hope that helps,

regards

Anil

Message was edited by:

Armin Reichert