cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to plain HTTP Sync scenario on PI 7.0

Former Member
0 Kudos
m3.pngm4.pnghttp.png

Hi All

It is a new scenario.Requirement is below:

From RFC request PI will be passing Vehicle number(VIN) to Receiver system(ECC->PI->Target)

Receiver system will send back the information related to that particular VIN to ECC via PI(Target->PI->ECC).

Design and configuration part is completed.But while testing I am facing below error in SXMB_MONI

As we have to fetch information for dynamic VIN's in HTTP adapter I have used Address type URL:

http://portal/api/vin/49HAACAE26D123123

Screen shot of channel is given below:

Addressing type:URL

TargetHost:portal

Servicenumber:80 (as there is no path we provided 80 as it is default for HTTP)

Pathprefix:/api/vin

ASMA

Parameter1: URLParamOne

in Request Message mapping Dynamic configuration UDF is used.

Regards

Anitha

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

Use the technical name "TargetURL" instead of URLParamOne. URL parameters are after the query string, your requirement is to place the value in the URL path.

https://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm

Regards,

Mark

Former Member
0 Kudos
m5.png

Hi Mark

Thanks for your reply!!

Please let me know where should I use "TargetURL".I did as shown in screen shot because I dont see any field to update under URL in ASMA.

But it failed with "HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED" error.

Awaiting for your response.

Regards

Anitha