cancel
Showing results for 
Search instead for 
Did you mean: 

SFDC-SAP Integration

former_member869
Participant
0 Kudos

Hello Experts,

For the Salesforce integration with SAP using PI  ,we have started to test the  Account details transfer to SAP and scenario choosed is SOAP-IDOC

Now the Salesforce  Successfully consumes the PI WSDL and sends the data for which the customer is created at SAP.

But while SAP sends the Customer number back to Salesforce, receiving an error at PI as

: SOAP: Response message contains an errorApplication/UNKNOWN/APPLICATION_ERROR - application fault





1)Do we have to do successful login  to Salesforce ,before sending any data to Salesforce.

2)All operations can be done only after successful login



Please suggest.







Regards,

Rama

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

If the error is HTTP/1.1 500 Internal Server Error, The message with Action '' cannot be...

  • This will be a problem with SoapAction.

Also check the url

former_member186851
Active Contributor
0 Kudos

I believe the same points I discussed.

former_member869
Participant
0 Kudos

Hello All,

While trying with only the login method able to get the response of login,which confirms able to connect to Salesforce.But while testing for getservertimestamp,as per the below blog,

HTTP 500 Internal Server Error occurs.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a76cfa-4966-2d10-aba7-da496d9b5....

Kindly Suggest.

Regards,

Rama

former_member186851
Active Contributor
0 Kudos

Check ur Endpoint and soapaction.

former_member869
Participant
0 Kudos

Hello All,

While testing with XPI inspector,filtered with XI channel

and checked

Messaging system

XI module Processor

HTTP provider

and selected the channel used for login method.got the below error

Verify Local SSL Client Key Pair

View: ICM_SSL_86475 or Entry: ssl-credentials  ERROR: NOT FOUND

But we have already installed  .cert certificate of salesforce

Please suggest.

Regards,

Rama.

nitindeshpande
Active Contributor
0 Kudos

Hello Ramashish,

This is the keystore view to deploy your PI system SSL certificates. Please go through the below link and check with your Basis team, if SSL is enabled in your system -

Regards,

Nitin

former_member869
Participant
0 Kudos

Hello All,

I have created the java mapping and  while testing in operation mapping received the empty payload result for the session ID and I believe Session ID will be obtained when actual testing is done.

But now in receiver channel for login method ,recieving the below error

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Communication over HTTPS. Unable to create a socket.



Please note the SSL certificate is already installed and the firewall is open for outbound and inbound.


Kindly suggest your inputs.


Regards,

Rama.


former_member186851
Active Contributor
0 Kudos

Use XPI Inspector Ramashish and get the exact issue.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Rama,

                 Please check this discussion on the error you are getting

https://scn.sap.com/thread/3214761

Regards

Anupam

former_member869
Participant
0 Kudos

Hello Raghuraman,

For the mentioned blog..there is a  code available for java mapping

SFDC Integration using PI 7.1 - How to add SOAP Envelope in Java Mapping - Process Integration - SCN...

When placing the same code in Netweaver Developer studio..Getting an error for StreamTransformation cannot be resolved and the method which is using the StreamTransformation gives the same error..

and even in the statement

import com.sap.aii.mapping.lookup.*;

Throws an error that com.sap cannot be resolved.

Should StreamTransformation interface needs to be created java class.

Please suggest.

Regards,

Rama.

former_member186851
Active Contributor
0 Kudos


Hello Ramashish,

Import the Package com.sap.aii.mapping.lookup.* in your Java mapping.

check the below discussion

nitindeshpande
Active Contributor
0 Kudos

Hello Rama,

There are specific libraries to be added to your build path, before you begin coding. Please find the below video which explains all the steps to add the standard libraries -

Regards,

Nitin

former_member869
Participant
0 Kudos

Hello All,

Thanks for your reply.


For getting the session ID ,can we achieve it without using BPM.

Regards,

Rama

former_member186851
Active Contributor
former_member186851
Active Contributor
0 Kudos

Hello Rama,

As Avinash said session Id is required if your using SOAP adapter for Integration.

Former Member
0 Kudos

Hello Rama,

Yes, you have to get session id first using login credentials. then Operations can be done.

there are plenty of documents in SAP SCN, Search once please.

reg, avinash