on 03-14-2016 2:56 PM
Hi All ,
I need to have Button on FORM UIBB, which should open URL in separate Browser Window . I have used CALL_BROWSER , but that works well if I call it directly through Program .
However ,if I use CALL_BROWSER on button click ,nothing happens even if I have passed NEW_WINDOW = 'X'
How to work on this
Hi Deepa,
It is better to use Launch pads.
Hope the below links will be useful :
https://scn.sap.com/thread/3512753
Regards,
Dhivya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thank you for reply .Below code helped get solution.
DATA :
if_fpm TYPE REF TO if_fpm ,
if_nav TYPE REF TO if_fpm_navigate_to ,
ls_url_wa TYPE fpm_s_launch_url.
if_fpm = cl_fpm_factory=>get_instance( ).
if_nav = if_fpm->get_navigate_to( ).
*fill the structure with url
* ls_url_wa-header_text = 'TestPage'.
ls_url_wa-url = lv_url_c .
CALL METHOD if_nav->launch_url
EXPORTING
is_url_fields = ls_url_wa.
Hi Deepa,
you can use the FPM / Launchpad navigation API IF_FPM_NAVIGATE_TO in order to navigate to a URL. For this, you can get an instance o IF_FPM_NAVIGATE_TO first by calling IF_FPM->GET_NAVIGATE_TO, and then you have to call IF_FPM_NAVIGATE_TO->LAUNCH_URL, passing the appropriate parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.