cancel
Showing results for 
Search instead for 
Did you mean: 

C4C to CRM replication issue

Former Member
0 Kudos

Hi,

We have SAP Hybris C4C (Cloud for sales) integrated with our on premise SAP CRM system via HCI. All this while everything was working fine. However off late, we are facing issues with replication of data from SAP C4C to SAP CRM.

After much testing, I have found that:

1. Data is replicating successfully from SAP CRM to SAP C4C

     a. However the confirmations from C4C to SAP CRM are failing.

2. Nothing is replicating from SAP C4C to SAP CRM.

I have also learnt that all the replication (data and confirmations) from C4C to SAP CRM are failing with the same socket exception error. The error that I see in HCI is:

Inbound processing in endpoint at /COD/CRM/OpportunityReplicationInitiatedByExternalOut failed with message "Fault: Could not send Message", caused by "SocketException: Connection reset:

The error that I get in C4C webservice monitoring tool is:

HTTP Code: 500 ( Internal Server Error ) : An internal error occured during message processing. For error details check MPL ID AFdk..... in message mon.

I also tried a "check connection" from C4C to SAP business suite and that too is failing with the following messages:

Checking connection failed

Ping failed

Error accessing service; Service Ping ERRORL Method Not Allowed (405)

I had reached out to SAP via a C4C incident. They came back saying that this is related to basis or firewall on our side. And did not have any other inputs.

Can you please share your thoughts on this?

This issue has been going on for quite some time now an we fear that we will be going into the 1608 release with these issues. Any help or ideas/ pointers as to where we should look to fix this is greatly appreciated.

Thanks,

Julius

P.S:

Error details of confirmation from C4C to CRM that is failing:

Inbound processing in endpoint at /COD/CRM/BusinessPartnerReplicateConfirmationOut failed with message "Fault:Sequential processing failed for number 0. Exchange[ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649][Message: [Body is not logged]]. Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.]", caused by "SocketException:Connection reset"

Message Processing Log{

  ContextName         = com.sap.scenarios.cod2crm.businesspartner.confirmation

  CorrelationId       = AFdsL4EgRXUC7yZa8fbYuvvXO0Y-

  ID                  = 00163E08B8CA1ED68EAE6C46D259B4A7

  IntermediateError   = true

  MessageGuid         = AFdsL4FMW-86yROOF9DFXq54tD6q

  Node                = vsa1161311.ash.od.sap.biz

  OverallStatus       = FAILED

  ReceiverId          = CRM_

  StartTime           = Thu Jun 23 18:50:41 UTC 2016

  StopTime            = Thu Jun 23 18:50:41 UTC 2016

  LastError           = Inbound processing in endpoint at /COD/CRM/BusinessPartnerReplicateConfirmationOut failed with message "Fault:Sequential processing failed for number 0. Exchange[ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649][Message: [Body is not logged]]. Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.]", caused by "SocketException:Connection reset"

  Children [

    Invoked endpoint{

      Cxf.EndpointAddress = /COD/CRM/BusinessPartnerReplicateConfirmationOut

      Error               = Inbound processing in endpoint at /COD/CRM/BusinessPartnerReplicateConfirmationOut failed with message "Fault:Sequential processing failed for number 0. Exchange[ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649][Message: [Body is not logged]]. Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.]", caused by "SocketException:Connection reset"

      StartTime           = Thu Jun 23 18:50:41 UTC 2016

      Status              = FAILED

      StopTime            = Thu Jun 23 18:50:41 UTC 2016

      Children [

        Entering Camel route route24{

          StartTime           = Thu Jun 23 18:50:41 UTC 2016

          Children [

            Exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 created in Endpoint[cxf://bean:COD_]{

              StartTime           = Thu Jun 23 18:50:41 UTC 2016

              Children [

                Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in ref:encodingProcessor{

                  StartTime           = Thu Jun 23 18:50:41 UTC 2016

                  StepId              = process82

                  StopTime            = Thu Jun 23 18:50:41 UTC 2016

                  Children [

                    Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in removeHeaders[*]{

                      StartTime           = Thu Jun 23 18:50:41 UTC 2016

                      StepId              = removeHeaders22

                      StopTime            = Thu Jun 23 18:50:41 UTC 2016

                      Children [

                        Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in setHeader[MessageId]{

                          StartTime           = Thu Jun 23 18:50:41 UTC 2016

                          StepId              = setHeader41

                          StopTime            = Thu Jun 23 18:50:41 UTC 2016

                          Children [

                            Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in sap-map-pi:COD_CRM_BusinessPartner_Confirmation{

                              Sent To URI         = sap-map-pi://COD_CRM_BusinessPartner_Confirmation

                              StartTime           = Thu Jun 23 18:50:41 UTC 2016

                              StepId              = CallActivity_1

                              StopTime            = Thu Jun 23 18:50:41 UTC 2016

                              Time Taken          = 2

                              Children [

                                Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in ref:idocOutboundRequest{

                                  StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                  StepId              = process83

                                  StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                  com.sap.sod.utils.idoc.soap.messageid= 00163E08B8CA1ED68EAE6C46D259B4A7

                                  Children [

                                    Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 in split[bean{idocPackageSplitter, method=split}]{

                                      Error               = org.apache.camel.CamelExchangeException: Sequential processing failed for number 0. Exchange[ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649][Message: [Body is not logged]]. Caused by: [org.apache.cxf.interceptor.Fault - Could not send Message.], cause: java.net.SocketException: Connection reset

                                      StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                      StepId              = CallActivity_2

                                      StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                      Children [

                                        Successor Exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 created with reference to Exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647{

                                          StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                          StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                          Children [

                                            Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 in setHeader[SAP_ApplicationID]{

                                              StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                              StepId              = CallActivity_3

                                              StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                              Children [

                                                Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 in setHeader[SapIDocContentType]{

                                                  StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                  StepId              = setHeader42

                                                  StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                                  Children [

                                                    Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 in removeHeader[operationName]{

                                                      StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                      StepId              = removeHeader65

                                                      StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                                      Children [

                                                        Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 in removeHeader[operationNamespace]{

                                                          StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                          StepId              = removeHeader66

                                                          StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                                          Children [

                                                            Processing exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 in cxf:bean:CRM_{

                                                              Error               = org.apache.cxf.interceptor.Fault: Could not send Message., cause: java.net.SocketException: Connection reset

                                                              Sent To URI         = cxf://bean:CRM_

                                                              StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                              StepId              = MessageFlow_2

                                                              StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                                              Time Taken          = 106

                                                              Children [

                                                                Sent message to endpoint{

                                                                  Cxf.EndpointAddress = https://saprx8.jjkeller.com:443/sap/bc/srt/idoc?sap-client=400

                                                                  Error               = Inbound processing in endpoint at https://saprx8.jjkeller.com:443/sap/bc/srt/idoc?sap-client=400 failed with message "Fault:Could not send Message.", caused by "SocketException:Connection reset"

                                                                  StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                                  Status              = FAILED

                                                                  StopTime            = Thu Jun 23 18:50:41 UTC 2016

                                                               }

                                                                Exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39649 failed{

                                                                  StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                                                  Status              = FAILED

                                        } ] } ] } ] } ] } ] } ] }

                                        Exchange ID-vsa1161311-ash-od-sap-biz-39369-1465654828562-22-39647 failed{

                                          StartTime           = Thu Jun 23 18:50:41 UTC 2016

                                          Status              = FAILED

                                          Children [

                                            Exiting Camel route route24{

                                              StartTime           = Thu Jun 23 18:50:41 UTC 2016

  } ] } ] } ] } ] } ] } ] } ] } ] } ] } ] } ]

  ReceiverIds [

    CRM_

] }

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any thoughts anyone?

Thanks,

Julius

Former Member
0 Kudos

Hello Julius,

Not sure but the following therad http://scn.sap.com/thread/3730723 may help.

Thanks & Regards,

Meghna

Former Member
0 Kudos

Thank you Meghna. I have already visited this thread in vain. At this point we are refreshing the SSL certificate from the on premise system and will then reload that in the C4C system and hopefully that works.

Thanks for your inputs though.

Regards,

Julius