cancel
Showing results for 
Search instead for 
Did you mean: 

posting a message directly to abap engine

paolo_romano2
Participant
0 Kudos

Hi all,

I'm developing an adapter and I wish to post directly my message to an abap engine via http, not passing through the http adapter; does anyone know how to make it? Which is the receiver service's parameters? and how to communicate using the abap proxy engine(of course via java, not via XI service)

thanx

Paolo

Accepted Solutions (1)

Accepted Solutions (1)

paolo_romano2
Participant
0 Kudos

that's another great idea michal and I will try it. I'll let you know if this work and eventually I'll update the message.

regards

Paolo

MichalKrawczyk
Active Contributor
0 Kudos

hi Paolo,

>>>> I'll let you know if this work and eventually I'll update the message.

great you do that:)

thanks

Regards,

michal

Answers (1)

Answers (1)

Former Member
0 Kudos

Paolo,

If you wish to put the message directly into the pipeline then you can make use of the html code that is used in sender HTTP scenarios, just search on SDN forums and you will get the code. Since, in your case you want to make use of it in your custom adapter, you will need to write java code to do a HTTP POST to the pipeline.

-- Amol

paolo_romano2
Participant
0 Kudos

Hi amol,

thanks for your suggestion, but perhaps I didn't explained the problem very well. I don't want to post the message to the XI pipeline, but directly into the target system pipeline, bypassing XI, via http. is this possible?

thanx again

Paolo

MichalKrawczyk
Active Contributor
0 Kudos

hi,

if you want to post directly to the ERP

system you can create an RFC and expose it as

a web service and post the data via this web service

Regards,

michal

paolo_romano2
Participant
0 Kudos

good idea michal, and surely I can use it, but I wish to find a way to communicate directly with the http engine of the receiver system...is this possible for you?

thanx again

Paolo

MichalKrawczyk
Active Contributor
0 Kudos

hi,

I belive you can copy a service from SICF

and put your class in the handler list

you can try copying adapter_plain

and the default CL_HTTP_PLAIN_INBOUND

handler and replace it with your code

but I've never done it yet so I don't know

if this is a suitable way

more:

http://help.sap.com/saphelp_nw04/helpdata/en/c6/839c4eea6f374b8e230ef4b152b110/content.htm

Regards,

michal