cancel
Showing results for 
Search instead for 
Did you mean: 

CallSAPAdapter

Former Member
0 Kudos
865

Hi friends,

Can anyone tell what is the functionality of CallSapAdapter.Is it for module processor entry and exit ejb.

Regards,

Gowtham K

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

The module CallSapAdapter sends the message from AF to XI.

Former Member
0 Kudos

Hi Stefan,

(1). In file adapter CallSapAdapter has been used in both directions.So is it like in sender direction it is used to send message from AF to XI and in receiver direction Vice-Versa.

(2). If so what the Module processor exit & Entry ejbs are used.

(3). Calling the Entry and Exit ejbs will be taken care by adapter???? I mean in the adapter code will it call?

(4). In the structure of AF diagram it has been given that Messaging service will communicate with Integration Server.But you said CallSapAdapter will take care of it.

stefan_grube
Active Contributor
0 Kudos

Hi Gowtham,

1) The CallSapAdapter sends the message only in sender direction. In receiver direction it works different and can be used only for FILE and JDBC (hardcoded). But I cannot tell you, what it does exactly.

2) In sender case the entry bean provides the XI message from arriving message:

http://help.sap.com/saphelp_nw04/helpdata/en/1b/89d24032f68231e10000000a1550b0/frameset.htm

In receiver case the exit bean does it:

http://help.sap.com/saphelp_nw04/helpdata/en/a4/31d940f52f7e7fe10000000a1550b0/frameset.htm

3) I think it is part of the adapter meta data, I have not found the right place.

4) CallSapAdapter uses the messaging service.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

Do you mean to say --

(1). In Sedner Direction ->

(a). So no involvement of Exit ejb in Sender Direction?

(b). If we are developing the adapter we can call the entry Ejb in Adapter code or we can also write own entry Ejb and put it under Module tab(may be through MetaData).After that the CallSapAdapter will call Messaging service.

(2). In Receiver Direction ->

(a). No involvement of Entry Ejb ??

(b). CallSapAdapter is placed as the last module in receiver direction also.So Can i assume that it will call Exit Ejb in this case.

regards,

Gowtham K.

Former Member
0 Kudos

CallSaPAdater can be used in sender direction and receiver direction. for sender direction, it can be used for sap jca adapter or file adapter inherent in pck(in fact file adapter is a service that implementation is something different from sap jca adater) and it should be the last module in the module chain for sender direction. for receiver direction, it can only be used for file adpater. when you want to use your jca adapter as receiver, you need to use exit bean. the exit bean can only be used for jca adapter for receiver direction, it will be the last moule in your module chain.

hope it helps

Former Member
0 Kudos

Hi Spring,

Thanks for the reply.

For Sample adapter configuration on receiver side we are giving only one module i.e exit bean. But where the actual code has been written to create the output file.In the Adapter(Sample Adapter) code i can't see the code to create Output file on receiver side. But how it is getting created while testing the sample adapter.

regards,

Gowtham K.

Former Member
0 Kudos

Hi, Gowtham

for the receiver side on sap sample adapter, you need to follow:

CCIInteraction.execute()->CCIInteraction.send. in this method, it will use java io stream to persist the message to the file

Former Member
0 Kudos

Hi Stefan,

I am still confused about CallSAPAdapter and Module Processor Entry bean.I can see the CallSapAdapter called in sender direction for File Adapter, but where the Module Processor Entry bean is called.It is not written there under Module tab of any Adapter.

regards,

Gowtham K.

Answers (2)

Answers (2)

animesh_kumar2
Active Participant
0 Kudos

Hi,

CallSAPAdapter is a default module shipped with the Adapter Framework.This module must be called In the sender direction as the last module in the module chain to forward the message to XI. It does not use any configuration parameters.

Regards,

Animesh

former_member91687
Active Contributor
0 Kudos

Hi Gowtham,

Information about the CallSAPAdapter can be found in the following links:

http://help.sap.com/saphelp_nw04/helpdata/en/32/43d84072378031e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/30/f0c94055708231e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm

In the sender direction, this module must be called last in the module chain and it does not use any configuration parameters.

Cheers,

Chandra