code: function openReport(oData) {
  		// Create a hidden anchor. Open window outside of the promise otherwise browsers blocks the window.open.
  		var content = '';
  		var a = jQuery('<a style="display: none;"/>');
  		a.on('click', function () {
  			var reportWindow = window.open('', '_blank');
  			jQuery(reportWindow.document).ready(function () {
  				// Sometimes document.write overwrites the document html and sometimes it appends to it so we need a wrapper div.
  				if (reportWindow.document.getElementById('sap-report-content')) {
  					reportWindow.document.getElementById('sap-report-content').innerHtml = content;
  				} else {
  					reportWindow.document.write('<div id="sap-report-content">' + content + '</div>');
  				}
  				reportWindow.document.title = 'Report';
  			});
  		});
  		jQuery('body').append(a);
  
  		this.getReportHtml(oData).then(function (html) {
  			content = html;
  			a[0].click();
  			a.remove();
  		});
  	}
docs: Opens a report in a new window.
  @param {Object} oData - the data required to create a report