Calling a Webdynpro application from another Webdynpro Application (Web Dynpro for ABAP)

By Suman Kumar Chinnam 


Webdynpro application to demonstrate how to call one Webdynpro application from another Webdynpro application. We will develop two applications one is to show flight details ZDEMO_FLIGHTS and the other one is to show booking details ZDEMO_BOOKINGS, on click of lead selection of a table FLIGHTS in ZDEMO_FLIGHTS it will call another application ZDEMO_BOOKINGS. 

Application One:

  1. Create a Webdynpro component using TCode SE80 with name ZDEMO_FLIGHTS.
  2. Create a View with name FLIGHTS.
    1. Go to context tab of view and then create context node with name FLIGHTS.
    2.  Add attributes to the node from structure SFLIGHT.

  1. Go to Layout tab of view to design the view.

a. Add table element with name FLIGHTS to the Layout container.


b. Now bind the table with context node FLIGHTS. The result will be like.


c. Create an Action to the Table (when user clicks on lead selection it will call another application). Give event name is CLICK

 Go to the properties of table FLIGHTS click onLeadSelect to create action to the table.



Now it will generate a method (ONACTIONCLICK) to handle the Event. Later we will Implement the Method.

4. Poplate table FLIGHTS with flights details.

    a. Go to methods tab of view FLIGHTS and implement DOINIT method to get Flight details from table SFLIGHT. 


5. Assign view FLIGHTS to window, activate the component and then create an application.

Click here to continue....


Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image