Skip to Content
author's profile photo Former Member
Former Member

MODULES

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:08 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • Posted on Jun 16, 2008 at 07:34 AM

    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-dbfc0ffd83b3

    This may help you

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

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:07 AM

    Hi,

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 07:09 AM

    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-ac25e74c4c81

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.