cancel
Showing results for 
Search instead for 
Did you mean: 

Url in Same Window

Former Member
0 Kudos

Hi Experts,

Is ther any other option to open URL in same window apart from Sespend/Resume method?

Thanks In Advance

Regards,

Amol

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

Use the following code :

DATA lo_zexit TYPE REF TO ig_zexit .

lo_zexit = wd_this->get_zexit_ctr( ).

lo_zexit->fire_out_window_plg(

url = 'http://www.google.com' " string

).

Replace ig_zexit with ig_<Your Application Name>

->Make an Outbound plug into your window of type Exit.

-> Add URLparameter of type string to this Plug.

-> Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont be possiblel).

Write the above code in the OnAction of button.

This way you will be able to open browser in the same window.

I hope it helps.

arjun_thakur
Active Contributor
0 Kudos

Hi Amol,

Refer to the code provided by Ihar Partuhalau in this [thread|].

I hope it helps.

Regards

Arjun

former_member262988
Active Contributor
0 Kudos

Hi,

Use Exit plug ......

Have a look on standard Component WDR_TEST_EXIT_PLUG

Thanks,

Shailaja Ainala.

Former Member
0 Kudos

hi Shailaja,

thanks for reply, ya my url is opening on the same window but my problem is still not solved, i need need to add this Url application on ICH navigation window which comes up from T-Code /SCF/UNAVCFG, here the same application shows blank result, do you have any idea about this?.

Thanks,

Amol