cancel
Showing results for 
Search instead for 
Did you mean: 

Maximize Window of Webreport

andreas_appelt
Explorer
0 Kudos

Hi,

if I execute a webreport the webreport shall appear in a maximized browser window. I used this scrpting:

<html>

<head>

<title>test</title>

<script language="JavaScript">

<!--

window.resizeTo(screen.availWidth,screen.availHeight);

window.moveTo(0,0);

//-->

</script>

</head>

<body>

test

</body>

</html>

Unfortunately, if I have a webreport in my HTML, the webreport isn't displayed, only the window is maximized. Do you a know a solution?

Thanks for the info.

BR, Andreas

Message was edited by: Andreas Appelt

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184494
Active Contributor
0 Kudos

Andreas ,

You can specify the window size and all other parameters you want for any web item or the template as such using the command line URLs. You will have to refer the Web API for the same , there you can get the requisite command line URLs and you can fix the size of the window there .

Arun

athavanraja
Active Contributor
0 Kudos

just call the javascript after the </body> tag of your webtemplate

Regards

Raja

Former Member
0 Kudos

Hello Andreas,

Each web item in the template has its own hieght and width properties. Try blanking them out.

If that does not work, then have a look at the Web API reference in Service Marketplace. Service.sap.com/bi --> InfoIndex.

Cheers

Aneesh