Skip to Content

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

Can't Add Import redline error


I want test transfer data to Excel.but when copy the code from this sap forum. appear some Error.


public void onActionToExcel( wdEvent )
	String fileName = "vishal" + ".xls";
	IWDCachedWebResource cachedExcelResource = null;
	{ f = new"output.xls");
	    WritableWorkbook workbook = Workbook.createWorkbook(f);
	catch(Exception ex)

now have redline under WritableWorkbook & Workbook , I use click right----Add Import to sloved, but failed

can you help me ?

Former Member
Not what you were looking for? View more on this topic or Ask a question