Post a Reply

Weblog:  Adapter Module to stop processing of duplicate file (FTP Location)
Subject: Excellent Blog!
Date: 2008-05-13 02:32:01
From: sandeep jaiswalBusiness Card
Response to: Excellent Blog!


Hi,


u can implement the same just by using file methods in ur module code.
String FileLocation = moduleContext.getContextData("FileLocation"); //pass the complete path for the file.
and then call
DeleteFile(FileLocation);


and implementation of method will be as:


public void DeleteFile(String FileLocation)throws Exception { try
{
File f1 = new File(filename);
f1.delete();
}
catch (Exception e){}
}


No Previous Message Previous Message Next Message No Next Message

SAP, mySAP, mySAP.com, xApps, xApp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product, service names, trademarks and registered trademarks mentioned are the trademarks of their respective owners.