Create New BW Web Printing Controls Your Users Will Love

  • by David Fox, Platinum Solution Consultant, SAP America
  • March 1, 2004
In the Microsoft Internet Explorer (IE) application, the Web browser controls such print settings as page setup, paper size, and page orientation. These settings are not accessible to scripting function, which is problematic for BW teams because they limit end users' printing options. The author shows how to provide more printing controls to BW 3.x users with the code provided.

 

Web applications in the SAP BW 3.x Web Application Server (Web AS) environment run much the same way they do everywhere — via a Web browser. The technology within the browser governs the way that Web pages are displayed on screen and the way that they print. As a result, most limitations that BW users encounter displaying and printing their Web-based queries and reports result from the browser.

The browser of choice at most companies is Microsoft Internet Explorer (IE). Because Microsoft considers printing a security risk, settings such as page setup, paper size, and page orientation are not accessible to scripting functions on a Web page within IE. This presents a problem for BW teams.

Most teams would like to programmatically change the print settings in IE to accommodate a Web page’s layout, orientation, margins, and so forth. Web pages often require unique settings to print correctly. It would be nice for settings to change from Web page to Web page to prevent page clipping or other problems. Unfortunately, the only way to control these IE settings programmatically is to write a custom ActiveX1 control to interface with the Web browser. It requires advanced programming knowledge beyond the scope of this article. You have other options, however.

David Fox

David Fox is a platinum solution consultant within the enterprise management business intelligence solution area at SAP. He specializes in the design, implementation, and support of SAP BW both stand-alone and integrated with SAP Strategic Enterprise Management, SAP Customer Relationship Management, SAP Enterprise Portal, SAP R/3, and mySAP Retail. He has more than four years of experience implementing SAP BW. In addition to implementation support, David provides SAP BW implementation strategy consultation to plan and identify related risks, resources, costs, and scope.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.