Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

window.open

Hello,

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:

1)

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.

2)

Is it possible instead of a new browser window to open the report somehow in a new browser tab?

Thank you.

Kind regards

Manfred

Tags:
Former Member
Former Member replied

Hi Mannif,

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]

Thanks.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question