Skip to Content
avatar image
Former Member

RFC to plain HTTP Sync scenario on PI 7.0

m3.png m4.png http.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

m3.png (21.0 kB)
m4.png (10.9 kB)
http.png (200.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 25, 2017 at 08:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member
      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

      m5.png (11.6 kB)