on 06-09-2010 5:10 AM
Hello..
Is there a way to change browser window title at runtime? I am using WD ABAP with FPM
Please suggest an API.
Thanks in Advance
Hi Hari,
For changing the application title you need to configure, which i assume u know and have configured.
now you can use the following code to change the title.
DATA lo_idr TYPE REF TO if_fpm_idr.
get idr instance*
lo_idr ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_idr ).
IF lo_idr IS NOT INITIAL.
lo_idr->set_application_title(
EXPORTING
iv_title = lv_heading
iv_title_tooltip = lv_heading ).
ENDIF.
where lv_heading is the new heading.
for any other question on FPM post it in Floorplan Manager for WebDynpro Abap fourm
Hope this will help you.
Thanks & Regards,
Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Arvind.
But using idr object I can set only identification area title, not the browser window title. Browser window title is set statically from iView name of in portal, and PFCG contect if in NWBC client.
But in my case, I want to set it at runtime, for eg. in case of Purchase Order window, I want to set it as 'Purchase Order:<PO number>
Is there any API to set this?
Thanks again,
Hari
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.