cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module

Former Member
0 Kudos

Hi ,

What is use of Adapter Module?

Please dont send any links

Thanks,

Bhavya

Accepted Solutions (1)

Accepted Solutions (1)

former_member208856
Active Contributor
0 Kudos

Hi,

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.

Regards,

Sandeep Kaushik

Answers (6)

Answers (6)

GabrielSagaya
Active Contributor
0 Kudos

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

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.

Take a look at this document,

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

Former Member
0 Kudos

Hi Bhavya,

The simplest concept about adapter module is-----

message is transfered from source to target using adapter

now question is how the adapter will understand how to convert the message???

first message is received by messaging system then this is transfered to adapter module.

Now this is the work of the adapter module to convert the source message into the target message

means here the logic of the adapter is applied

adapter module contains the EJB which is required to convert

source message to target according to the user requirement

hope this may clear you work of adapter module

Thanks

sandeep

if helpful reward points

vijay_b4
Active Contributor
0 Kudos

Hi Bhavya,

well i wud like to explain it by giving an example.

see consider a scenario where u want to send an EDI file from EDI system to any other R3 system.

so u wil use XI to integrate these two systems.

now EDI system follows File formats like EDIFACT or ANSI X12 .

your aim will be to convert these file formats into XML format .

in order to do so u need to develop a module first that contains the logic to convert the incoming EDI file into the corresponding XML format.

this module that u develop is then attached to the sender communication channel in XI and it converts to XML , XI maps this to the target structure and then sends it to the R3 system.

The above procedure can also be done by developing an adapter .

but developing a module for the adapter is preferable.

also the scenario that i have described above is done for EDI to XML conversion and attached to the sender adapter

u wil hav to develop another module that is used for XML to EDI conversion and this will be attached to the receiver adapter.

hope u atleast hav got a brief idea with this eg.

Reward points if this helps

Regards

Pragathi.

Former Member
0 Kudos

Hi,

*SAP Business Connector Adapter Modules *

Use

The following standard modules are used for the SAP Business Connector adapter in the specified sequence:

● BcAdapterModuleConverterBean

● BcAdapterModuleSenderBean

● BcAdapterModuleConverterBean

If you insert your own modules in the module processor, you must integrate them at different places in the module chain, depending on the direction of the adapter.

Integration

You configure the adapter on the Parameters tab page during the definition of a communication channel. You define the module processor on the Module tab page. For information about creating additional modules, see Module Processor and Extending the Module Chain in the Module Processor.

Activities

You integrate your own modules as follows, depending on the direction (sender/receiver):

Sender Adapter

● BcAdapterModuleConverterBean

● Own modules

● BcAdapterModuleSenderBean

● Own modules for the synchronous response message

● BcAdapterModuleConverterBean

Receiver Adapter

● Own modules

● BcAdapterModuleConverterBean

● BcAdapterModuleSenderBean

● BcAdapterModuleConverterBean

● Own modules for the synchronous response message

Reward points if helpful

Regards,

Soumya

former_member556603
Active Contributor
0 Kudos

Hi,

Any more explanations,

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

Thanks,

satya

Edited by: SATYA KUMAR AKKARABOYANA on May 22, 2008 2:29 PM

prateek
Active Contributor
0 Kudos

To enhance the functionality of the existing adapters

Regards,

Prateek