cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Incoming SOAP Request Payload Trace.

ibrahim_2190
Explorer
0 Kudos

Hi Experts,

I want to see the SOAP Request payload coming to SAP(ECC 6.0) from my middleware system. The source system is ARIBA and this is an asynchronus call from ARIBA to create PO in ERP via middleware. Wanted to know the right tool for this. Tried the following:

SRT_UTIL => Activated the payload trace for my user. Not working. Activated the payload trace for the SICF URI. Not working.

SXMB_MONI => Only displaying the outbound payloads going out from SAP. Please advice if any config needed to enable the incoming requests.

SMICM => Not sure if payload can be traced here.

SICF(Recording option) => Not having authorisations for this. Please advice if this is the tool to trace the payload. If yes, will try for authorisations.

Thank You.

IS

Accepted Solutions (1)

Accepted Solutions (1)

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ibrahim,

You can follow KBA 2322379 - How to create payload trace using SRT_UTIL in AS ABAP.

If it is not working, maybe there is a missing correction in the system. If you share the SAP_BASIS version and SP level, then I can have a look whether I find a correction.

Regards,

Cris

ibrahim_2190
Explorer
0 Kudos

Hi Cris,

I am doing same steps as mentioned in KBA 2322379, but the incoming SOAP Requests to SAP are not getting logged. However i can see the payload trace for the outgoing requests from SAP in SRT_UTIL payload trace.

I am working on SAP_BASIS 701 release with SP level 0018.

Thank You for your help,

Ibrahim.

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ibrahim,

I couldn't find fixes for 701 release, which is quite old and almost no WS support exists (read more on SAP Note 1457547).

Maybe you can try find the information you need in the ICM trace (you can use SMICM to raise the trace level and, if HTTPS protocol is used, then set icm/trace_secured_data = 1 to have the content dumped into the trace - dev_icm, available via ST11).

Regards,

Cris

ibrahim_2190
Explorer
0 Kudos

Hi Cris,

Could not find the parameter icm/trace_secured_data in RZ11. Is RZ11 the correct transaction to look for this.? Also it would of great help if there is any note which gives me steps on how to log incoming SOAP payload using SMICM.

Thank You.

Ibrahim.

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ibrahim,

You can use RZ10 to set the parameter in the instance profile. It isn't a dynamically switchable parameter.

It exists, even though RZ11 cannot find it.

Regards,

Cris

ibrahim_2190
Explorer
0 Kudos

Hi Cris,

Can only find these parameters in my current system. Could not find the one you specified. Thanks for you help, Ibrahim.

icm/accept_remote_trace_level

icm/ccms_monitoring

icm/ccms_refresh_rate

icm/conn_timeout

icm/host_name_full

icm/HTTP/logging_0

icm/HTTP/server_cache_0/expiration

icm/HTTP/server_cache_0/memory_size_MB

icm/HTTP/server_cache_0

icm/HTTP/server_cache_0/size_MB

icm/HTTPS/verify_client

icm/keep_alive_timeout

icm/listen_queue_len icm/log_level

icm/max_services

icm/max_sockets

icm/min_spare_threads

icm/security_log icm/server_port_0

icm/server_port_1

icm/server_port_2

icm/stat_level

cris_hansen
Advisor
Advisor

Hi Ibrahim,

Even though you could not find it, you can set, via RZ10, icm/trace_secured_data = 1. It will dump the HTML code in dev_icm.

Remember to delete the parameter after you have collected the information you need.

Regards,

Cris

ibrahim_2190
Explorer
0 Kudos

Hi Cris,

Thanks a lot. That worked. Though not a very elegant way to see the payload by searching it in log file, but considering the system specs, can definitely make use of this. Just for reference for anyone facing similar issue: I had to set the trace level to maximum at 3 to make this work. Also, can you please confirm that in the latest S/4 versions, these incoming SOAP payloads can be traced via SRT_UTIL/SXMB_MONI ?

Regards,

Ibrahim

cris_hansen
Advisor
Advisor
0 Kudos

Hi Ibrahim,

New releases bring more features regarding web services in general, and tracing for sure.

The ICM trace is limited to level 3. Remember to set the trace back to 1 when you finished to collect the information you need.

Regards,

Cris

Answers (0)