cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

ArielBravo
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

ArielBravo
Active Participant
0 Kudos

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

ArielBravo
Active Participant
0 Kudos

Update1: This won't work on HTTPS communications as the messages are ciphered.