in CRM WebUI (BP_HEAD) i use "window.open" to open a BI-report for the current BUPA.
This works but i have two questions:
The report opens in a new browser session. It loads in foreground like a popup but after it is fully loaded it is for some reason in background and CRM is on front. Any idea on this? The BI-report should stay on front.
Is it possible instead of a new browser window to open the report somehow in a new browser tab?
Abhishek Gupta replied
I think you can do that but you will need to do some JS coding.
You need to set the window focus to the new window.
For opening in the tab i think this can also be controlled with the browser settings. Alternatively somewhere in the code SAP would have done a new window creation which creates a new browser session. You might have to look up relevant code or parameters for the browser you are using.
If you are new to Java Script look up the JS files in UI Component UICMP_LTX...this is the component for Transaction Launcher.
Look at the admin.js file under "Pages with Flow Logic "
Similar to this the UI component being used in your case will have JS files which will need to be modfied[ this will create a Workbench TR]