cancel
Showing results for 
Search instead for 
Did you mean: 

send HTTP request via R/3

Former Member
0 Kudos

HI,

is it possible to send an external HTTP request via R/3 ?

I want to test the url(only unlocked via R/3) before setting up the XI environment.

thx.

Gordon

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Using the link below you can do this!!!

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/e5/4d3514c11411d4ad310000e83539c3/frameset.htm">HTTP Requests</a>

Regards,

Former Member
0 Kudos

can someone explain how to use it ?

Thx,

Gordon

Former Member
0 Kudos

hi

Go through this may be useful.

You can call a BAPI using the RFC adapter synchronously. This is an all synchronous scenario and you do not need a BPM for this. (The R/3 system is synchronous in this case)

go thru my blog on RFC Scenario using BPM --Starter Kit

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

But if u want to use BPM then u hav to use Sync-Async Bridge in ur BPM.For this go thru this blog

https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

create a datatype for the HTTP call

Create Datatype for the To receive the RFC Response

Create the Syn Message interface for these Data type

Create Syn Message Interface For RFC

Mapping

You will have 2 mapping one for HTTP Call to RFC

and another or RFC Resonse back to HTTP

Thanks & Regards

Sridhar

Former Member
0 Kudos

I think my request is not clear.

I have an input file (for exampel an IDoc and for another exampel and RFC call from an SAP system) which is sent to XI.

XI uses 2 field of this IDoc and posts an http request like

http://host:port/function.cgi?param1=<field1>&param2=<field2>;

without adding an xml file.

Is there a blog for this ?

Gordon

Former Member
0 Kudos

hi

Try with this may be useful.

you can use xsl mapping for this in which u xtract

the contents only but not the xml tag.

The http adapter does a post to the url

so manipulated the payload so that i got 'mykey=<myString>' in the http body...

what i did is had a java mapping, which took my final xml message, created a string out of it in such a way that it looked like this '&mykey=<myString>', the '&' at the start closes key 'loaderXML' with a blank value....

check the section on "Enhancing the Payload" in the following link

http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm

Thanks & Regards

Sridhar.B

Former Member
0 Kudos

sorry ... but i cant follow you.

can you explain more detailed ?

Gordon