Using an Exit Plug in Web Dynpro for ABAP

...Previous

Step 7

Now using the code wizard write down the following code in the action declared in the view i.e  A_EXIT.

method ONACTIONA_EXIT .
  
DATA LO_ZEXAMPLE_W TYPE REF TO IG_ZEXAMPLE_W .
  LO_ZEXAMPLE_W =   WD_THIS->GET_ZEXAMPLE_W_CTR( ).

    LO_ZEXAMPLE_W->FIRE_OUT_WINDOW_PLG(
      
URL 'HTTP://WWW.GOOGLE.COM'                        " string
    ).

endmethod.

Step 8

Create an application as shown below and test it. As I have passed the URL of Google, The same will be opened in the same window after the parent window is closed.

 

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