cancel
Showing results for 
Search instead for 
Did you mean: 

MODULES

Former Member
0 Kudos

Hi XI Team,

I am developing the Modules, wen i am developing in SNDS, i am getting lot of errors in that. like it is showing all IMPORTS errors which r related to SAP.

error Lines are below once:-

import com.sap.aii.af.mp.module.Module;

import com.sap.aii.af.mp.module.ModuleData;

import com.sap.aii.af.mp.module.ModuleException;

import com.sap.aii.af.ra.ms.api.Message;

import com.sap.aii.af.ra.ms.api.MessageDirection;

import com.sap.aii.af.ra.ms.api.XMLPayload;

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

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

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

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

but i am getting one doubt i tnk i have to follow the below steps:-

1) Download the libraries for XI from SAP Service Marketplace.

2) Open the downloaded file using WinZip and extract

u2022 aii_af_lib.sda

u2022 aii_af_svc.sda

u2022 aii_af_cpa_svc.sda.

A) Open the above file aii_af_lib.sda using WinZip and extract the following library

files:

u2022 aii_af_cci.jar

u2022 aii_af_mp.jar

u2022 aii_af_ms_api.jar

u2022 aii_af_ms_spi.jar

u2022 aii_af_trace.jar

B) Extract the following library file from aii_af_svc.sda:

u2022 aii_af_svc.jar

C) Extract the following library file from aii_af_cpa_svc.sda:

u2022 aii_af_cpa.jar

but where to Download this libraries, please any one can tel me where to download this in SNDS...

please any one can snd me the step-by-step procedure how to develop the modules.....

Thanks & Regards

Venkat Anil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to add this jar file in your lib folder of your project

aii_map_api.jar

Copy this file from desktop to lib folder

Then right click to your project, propertis--> Java Build path -->

click to add JARs, then add this above jar file

Former Member
0 Kudos

Hi Mk,

Thanks for u r Reply, but its showing me error at the add jar.

Like no entries available..

Thanks & Regards

Anil

Former Member
0 Kudos

Right click to your project> New> Folder

name it as lib...

copy that jar file from your desktop to this folder simply by copy, right click to lib folder.. paste...

after doing this ... you will get entry of your project in add jars....

here again select path from lib folder

Answers (3)

Answers (3)

GabrielSagaya
Active Contributor
0 Kudos

The easiest way to obtain these libraries is by downloading the newest patch of XI ADAPTER FRAMEWORK CORE 3.0 from SAP Service Marketplace (check for the same patch level as your XI). Open the file with WinZip and extract the following SDAs:

• aii_af_lib.sda, aii_af_svc.sda

• aii_af_cpa_svc.sda

Open the SDA aii_af_lib.sda with WinZip and extract the following library files:

• aii_af_cci.jar

• aii_af_mp.jar

• aii_af_ms_api.jar

• aii_af_ms_spi.jar

• aii_af_trace.jar

Open the SDA aii_af_svc.sda and extract the following library file:

• aii_af_svc.jar

Open the SDA aii_af_cpa_svc.sda and extract the following library file:

• aii_af_cpa.jar

Also see this url:

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6

Copy the JAR file of the example adapter locally to your computer. The JAR file contains the Java Doc and the source text of the example adapter.

1.Copy the file sample_ra.jarfrom <serverDir>appssap.comcom.sap.aii.af.sample.raconnectorconnectorssample_ra.rarto a separate directory on your computer.

2.<serverDir> is C:usrsapJ2EJC00j2eeclusterserver0, for example.

3.Extract the JAR file to the same directory.

4.Open index.htmlto display the Java Doc.

5.The source text for the example adapter is located in a subdirectory comsapaiiafsampleadapter a.

XI 3.0 Adapter Module Development

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e21106cc-0c01-0010-db95-dbfc0ffd...

This may help you

http://www.alphaworks.ibm.com/tech/jarclassfinder/download

/people/kirupanand.venkatapathi2/blog/2006/01/02/using-jar-class-finder

Former Member
0 Kudos

hi venkat

go thru the below blogs

*how to create modules on j2ee engine *

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c...

Adapter Module Development & Module Configuration

/people/ganesh.karicharla2/blog/2008/02/20/adapter-module-development-module-configuration

*Dynamic configuration in adapter modules *

/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules

regards

Chandra

Former Member
0 Kudos

Hi,

First you should import the " com.sap.aii.af.* " jar files and place in the XI server