cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Adapter Development

Former Member
0 Kudos

Hi,

I want to develop a custom adapter to read excel file .

For this development I need some jar files , but I am not getting the jar files in internet .

Basis team was not able to provide me the jar files.

If any one have these jar files please attach here.It will be very beneficial for my development .

The jar files are as follows -

aii_af_mp.jar
aii_af_ms_api.jar
aii_af_trace.jar
aii_af_svc.jar
aii_af_cpa.jar
aii_af_ms_spi.jar
aii_af_cci.jar

jxl.jar

Thanks,

Apu Das


Accepted Solutions (1)

Accepted Solutions (1)

JaySchwendemann
Active Contributor
0 Kudos

Hi,

a (google) search would have gotten you this

http://wiki.scn.sap.com/wiki/display/XI/Where+to+get+the+libraries+for+XI+development

HTH

Cheers

Former Member
0 Kudos

Hi,

I already got all the necessary jar files for custom adapter development .

Could you please give me any input regarding the java code for the custom adapter which will read a excel file.

A little bit confuse regarding the development as this is first time I am developing a custom adapter.

Thanks,

Apu

Former Member
0 Kudos

Hi,

Could you please tell me for which jar file these imports are not working as all other imports are working fine except the below mentioned imports -

import com.sap.aii.af.service.auditlog.AuditDirection;

import com.sap.aii.af.service.auditlog.AuditLogStatus;

import com.sap.aii.af.service.auditlog.AuditMessageKey;

Thanks,

Former Member
0 Kudos

Hello,

Which version of PI u r using? PI7.0?

import com.sap.aii.af.service.auditlog.*;

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi,

I am using PI 7.3.

This import is not doing any help.

Thanks,

Former Member
0 Kudos

Hello,

Then why u have imported PI7.0 libraries?

U have to look for these libraries:

  1. com.sap.aii.af.cpa.svc.api.jar
  2. com.sap.aii.af.lib.mod.jar
  3. com.sap.aii.af.ms.ifc_api.jar
  4. com.sap.aii.af.svc_api.jar
  5. sap.com~tc~logging~java~impl.jar

and ur import statement should be:


import com.sap.aii.af.lib.mp.module.*;

import com.sap.engine.interfaces.messaging.api.*;

import com.sap.engine.interfaces.messaging.api.auditlog.*;

import com.sap.tc.logging.*;

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi,

I have already imported all these jar files.

The code is giving me error in the following imports -

import com.sap.aii.af.service.auditlog.AuditDirection;

import com.sap.aii.af.service.auditlog.AuditLogStatus;

import com.sap.aii.af.service.auditlog.AuditMessageKey;

and it is not allowing me to define this -

AuditMessageKey amk;

I am referring this link ... It is of 7.0 , but I have imported the jar files of 7.3

http://www.saptechnical.com/Tutorials/XI/Adapter/Index.htm

If possible please share a already developed code in 7.3 .. I think that will be beneficial for me to get an idea.

Thanks,

Former Member
0 Kudos

Hello,

I think u r not reading reply properly? The import statements which u r copying from the code are relevant only for PI7.0, so u have to adjust the code according to PI7.3 (and i have already provided you the import statements for PI7.3 which u can refer in ur code)

>>and it is not allowing me to define this -AuditMessageKey amk;

From PI7.1 onwards, u have to use MessageKey...

Refer below article and adjust AM code accordingly (this article is for PI7.1 but will alos be applicable for PI7.3):

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ac06cf-6ee2-2c10-df98-e17430ca5...

Thanks

Amit Srivastava

Answers (0)