cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting ICMENOSESSION error while calling SAP S4 webservice from SAP CPI

SinhaSouvik
Participant
0 Kudos
184

Hi Expert,

We are working on scenarios in SAP CPI to call SAP S4 webservice to get the data in request/reply way. There are multiple calls happening to S4 webservice using SOAP 1.x receiver adapter.

FLOW:  SAP CPI <-> SAP SCC <-> SAP S4 (on-prem)

Modernize RFC Receiver Communications into API-Based Protocols in Cloud Integration. Link to understand the scenario in details: https://developers.sap.com/tutorials/modernize-rfc-receiver.html

In S4, webservice is linked to function module based on the request payload we are sending from CPI function module is getting executed based on the logic written in it then giving back the response immediately.

Problem statement:

  • Webservice calls are getting executed successfully for few initial calls. Some of the execution whole integration is getting executed successfully without failure.
    But sometimes suddenly getting failed with error: "org.apache.cxf.interceptor.Fault: Could not send Message., cause: org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad Request. <!-- This error page was generated by ICM (-)! -->
    <!-- Error code: ICMENOSESSION "
  • We are not able to see any logs in SRT_MONI or SXMB_MONI about this failure in S4. Also tried to check in SRT_UTIL but no luck.

From our end we have tried to execute the integration by doing multiple changes:

  • Made HTTP session reuse 'none' in CPI and enableSession parameter false in S4 wsdl setting. (KBA:

    https://me.sap.com/notes/0003419590)

  • Also tried to remove allow chunking in SAP CPI SOAP adapter configuration.
  • All cases we are throwing same error.

Please suggest further if you also encountered similar kind of issues. let me know possible resolution of this issue.

Regards,

Souvik

Accepted Solutions (0)

Answers (0)