cancel
Showing results for 
Search instead for 
Did you mean: 

Steps involved in defining Custom Modules

Former Member
0 Kudos

Could any one help me , the Steps involved in defining Custom Modules

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI

1.When we do not have any standard adapter to convert a format of Inbound and Outbound Message into the XML format.

We are developing an adapter module to convert that message into XML format.

2.To enhance the functionality of the existing adapters

3.Adapter module is used for Converting the payload, Changing encoding, Encryption and decryption and Creating and merging of additional attachments

4.

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

While dealing with adapter modules,

1. First, create an EJB Module.

2. You create a Stateless session bean.

3. You use the following attributes for the bean,

Remote Interface: com.sap.aii.af.mp.module.ModuleRemote

Home Interface: com.sap.aii.af.mp.module.ModuleHome

Local Interface: com.sap.aii.af.mp.module.ModuleLocal

LocalHome Interface: com.sap.aii.af.mp.module.ModuleLocalHome

4. Your class must implement,

Module.process(ModuleContext, ModuleData).

5. You buiild an EAR archive and an Application Archive and then deploy this on your J2EE engine.

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

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2d...

take a look at this page on WIKI to understand all thestandard modules avalable in XI currently , and where to read documents on them

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/xi_adapter_notesbelow links

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/xi_adapter_notes

https://websmp108.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf

Dynamic configuration in adapter modules -

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bf...

XML-to-Text Conversion Module : http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/96/f04142099eb76be10000000a155106/frameset.htm

Take a look at following documents:

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

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2d...

How to create modules -

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d7...

Testing

http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Go thro the following links. Will be of great help.

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

How to Guide: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b...

cheers

GabrielSagaya
Active Contributor
0 Kudos

Steps in the SAP NetWeaver Developer Studio:

1.Create an EJB Module Project

2.Apply the libraries (at least aii_af_mp.jarand aii_af_ms_api.jar)

3.Create a package (in folder ejbModule)

4.Create a Java class (not an EJB). Use template on the following pages

5.Write the code of the Java class

6.Adjust the ejb-jar.xml

7.Adjust the ejb-j2ee-engine.xml

8.Build the EJB archive (JAR)

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

Former Member
0 Kudos

ADAPTER MODULES

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

Alerts from adapter modules - the JRA way!!

Alerts from adapter modules - the JRA way! RFC calls from Adapter modules...the Web Service Way"/>

TechEd 2007: EPI351 - Developing User Enhancement Modules in the Adapter Engine

TechEd 2006: EPI350 - Developing and Testing Adapter Modules in SAP NetWeaver Exchange Infrastructure

Migrate from Java embedding in Oracle BPEL to Adapter modules in SAP XI

XI Mapping Module for AFW

XI: Dynamic configuration in adapter modules - one step further

Adapter Module Development & Module Configuration

Dynamic configuration in adapter modules

Rename Attachment Adapter Module

regards

kummari