src/sap.ui.support/src/sap/ui/support/supportRules/report/ReportProvider.js
function downloadReportZip(oData) {
		this.getReportHtml(oData).done(function (html) {
			var report = '<!DOCTYPE HTML><html><head><title>Report</title></head><body><div id="sap-report-content">' + html + '</div></body></html>';
			var issues = { 'issues': oData.issues };
			var appInfos = { 'appInfos': oData.application };
			var technicalInfo = { 'technicalInfo': oData.technical };
			var archiver = new Archiver();
			archiver.add('technicalInfo.json', technicalInfo, 'json');
			archiver.add('issues.json', issues, 'json');
			archiver.add('appInfos.json', appInfos, 'json');
			archiver.add('report.html', report);
			archiver.add('abap.json', oData.abap, 'json');
			archiver.download("SupportAssistantReport");
			archiver.clear();
		});
	}
function downloadReportZip(oData) {
		this.getReportHtml(oData).done(function (html) {
			var report = '<!DOCTYPE HTML><html><head><title>Report</title></head><body><div id="sap-report-content">' + html + '</div></body></html>';
			var issues = { 'issues': oData.issues };
			var appInfos = { 'appInfos': oData.application };
			var technicalInfo = { 'technicalInfo': oData.technical };
			var archiver = new Archiver();
			archiver.add('technicalInfo.json', technicalInfo, 'json');
			archiver.add('issues.json', issues, 'json');
			archiver.add('appInfos.json', appInfos, 'json');
			archiver.add('report.html', report);
			archiver.add('abap.json', oData.abap, 'json');
			archiver.download("SupportAssistantReport");
			archiver.clear();
		});
	}
function downloadReportZip ( oData ) { this . getReportHtml ( oData ) . done ( function ( html ) { var report = '<!DOCTYPE HTML><html><head><title>Report</title></head><body><div id="sap-report-content">' + html + '</div></body></html>' ; var issues = { 'issues' : oData . issues } ; var appInfos = { 'appInfos' : oData . application } ; var technicalInfo = { 'technicalInfo' : oData . technical } ; var archiver = new Archiver ( ) ; archiver . add ( 'technicalInfo.json' , technicalInfo , 'json' ) ; archiver . add ( 'issues.json' , issues , 'json' ) ; archiver . add ( 'appInfos.json' , appInfos , 'json' ) ; archiver . add ( 'report.html' , report ) ; archiver . add ( 'abap.json' , oData . abap , 'json' ) ; archiver . download ( "SupportAssistantReport" ) ; archiver . clear ( ) ; } ) ; }
Creates a zip file containing the report.html, appInfo.json, technicalInfo.json, issues.json.
@param {Object} oData - the data required to create a report
Creates a zip file containing the report . html appInfo . json technicalInfo . json issues . json .