Skip to Content
avatar image
Former Member

How can a (Plain) HTTP POST Request traced (maybe by SAP PI)?

Hello experts,

i am Facing the problemto connect to a HTTP Server via a syncrhonous HTTP POST Request call, cause ia am always getting the error: "errorcode=1202 | errormessage=Parameter (request) faulty or missing".

Sceanrio: sender: SAP ERP (ABAP Proxy -SOAP) over sap pi dual stack to the receiver http server. the plain http adapter is manmdatory.

where can i see the full reuest (with header and body) of the htt post request?

thanks an kind regards

Henry.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 05, 2017 at 03:26 PM

    Hi Henry,

    Have a look into SAP Note: 856597.

    In short, they recommend using a very useful tool: TCP Gateway (tcpgw.zip attached in that note). Then, you have to edit your receiver channel pointing to you own machine (on an specific port). This tool will record the whole request and response so you can analyse it.

    The scenario would be:

    ERP->PO->TCPGW->Receiver

    Best regards,

    Ariel Bravo Ayala

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 05, 2017 at 05:01 PM

    Hi Ariel Bravo Ayla,

    thanks for your reply.

    You are right with that tool, but so far we are using https i thought there could be a way in the sap pi to see the request.

    thanks and kind regards

    Henry

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 06, 2017 at 06:59 AM

    Henry,

    I think you can also use the xpi_inspector. It will store the request after the TLS/SSL handshake. Have you used that before?

    Best,

    Ariel Bravo Ayala

    Add comment
    10|10000 characters needed characters exceeded