Skip to Content

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

Can't Add Import redline error

HI!,Everyone.

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

e.g.

public void onActionToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
  {
	String fileName = "vishal" + ".xls";
	IWDCachedWebResource cachedExcelResource = null;
	try
	{   
		java.io.File f = new java.io.File("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