cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module Development

Former Member
0 Kudos

Hi All

I am new to adapter development and I need to understand how it works and what can and can not be done in a adapter module. I have code that I wrote in java that I now need to implement into my adapter module. The java code has classes where I manupilate the data. The code work fine in a normal java developing tool but gives me error when I try to implement it nwds in my adapter module. Example Code:

public void ejbCreate() throws CreateException {}

public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException {

Object obj = null;

try {

obj = inputModuleData.getPrincipalData();

} catch (Exception e) {

ModuleException me = new ModuleException(e);

throw me;

}

return inputModuleData;

class sftp extends SftpAdapter{

It give me error on the class sftp extends SftpAdapter{

Is there any documentation on adapter module programing? Or anyone that can give me info on how adapter module handles classes?

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Have a look into this document- step by step guide!

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b9...

regards,

francis