If you are using your SAP System as an HTTP client or server, you can record the HTTP requests.
You can then evaluate the resulting log file.
The following components of the SAP System support HTTP logging:
· Internet Communication Manager (ICM). For details see Logging in ICM.
· SAP Message Server. The section below explains how to activate logging in the message server.
You activate logging in the parameter ms/http_logging(default = 0, no logging), by setting the value to 1. You can change the parameter value in transaction SMMS (Message Server Monitor) or RZ11. If you deactivate logging, the log file will not be closed - all the buffered data is written to the hard drive so that it is available in the file.
You can define the log format in parameter ms/HTTP/logging_0.
The syntax is the same as in icm/HTTP/logging_<xx>, though only index 0 is supported.
The standard value is
PREFIX=/, LOGFILE=dev_ms_logging, LOGFORMAT=SAPMSG
whereby the format string for SAPMSG is:
%h %l %u %t "%r" %s %b %{location}o
Set the parameter as described above.
The content of a log file will look like:
10.18.200.77 - - [01/Oct/2003:13:29:57+0200] "GET /msgserver/text/logon HTTP/1.1" 200 - ls3022
10.17.69.0 - - [01/Oct/2003:14:10:05+0200] "GET /sap/bc/ping HTTP/1.0" 301 - <http://binmain:8080/sap/bc/ping>
10.17.69.0 - - [01/Oct/2003:14:11:15+0200] "GET /sap/bc/ping HTTP/1.0" 301 - <http://ls3022:8080/sap/bc/ping>