Skip to Content

Success Factors implementation through PI errors

Hi all

I am trying to connect an ECC system to Success Factors through SAP PI and we are facing issues. I am on dual stack SAP PI and I aam doing Employee Data INtegration.

There are three interfaces, Login Query , Usetupsert and Logout query.

The Login query is taking the company ID, user ID and password to the Success Factors. The session ID from Success Factors is sent in payload and it is not being passed to the ECC system. The mapping is using two UDFs. I changed that and did a field to field mapping and now the session ID is reaching SAP ECC.

However I am getting error in userupsert. Invalid SFAPI session. SFWebserviceFaultException.

I also see three Login Query sessions being triggered from ECC.

Does anyone knows why this is happening?

Harish

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 27, 2016 at 03:47 AM

    I assume you are using the standard SFIHCM01 content and you have modified the login response mapping to copy the SessionID from the payload response. I have had this issue as well.

    If that is the case, then make sure you concat the content JSESSIONID= to this, ie your login response mapping output for sessionID should be JESSIONID=<actualSESSIONID from the LoginResponse payload> .


    Use a Concat statement with a Constant JSESSIONID= and /loginResponse/result/sessionId and map this to /loginResponse/result/sessionId

    This will make sure that ECC when trigger the Upsert will also send JSESSIONID=<sessionID> to PI and then this will get added to the HTTP Header "Cookie"

    Regards

    Bhavesh


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Bhavesh

      After a long troubleshooting the error is resolved and it's working fine!

      Fisrtly, there was problem with the standard content.

      Note 1869807 -SFSFI: PI Content Correction for HTTP Cookie Handling

      This deals with the incorrect handling of cookies.

      In this two patches are mentioned. I downloaded them and applied on the ESR.

      Secondly, applied note 1838921 in PI system which provides some correction for SOAP Axis adapter too.

      Finally, I had to do some changes as per the document attached to the first note. They have provided two screenshots for the LoginChannel and I updated accordingly.

      After this the interface started working perfectly.

      Thanks a lot for the help

      Regards

      Harish

  • Posted on Jul 26, 2016 at 03:34 PM

    Hi Harish,

    Please check note 2150199 - "Invalid SFAPI Session"...

    Best regards,

    Bence

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2016 at 03:08 AM

    Hi Harish,

    Can you check if in the Upsert request, the sessionId is included in the payload? We have had the same trouble here and the solution was to create another program that will include the sessionId. Another solution would be to use the SFSF adapter.

    Regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Mark

      I have read that the standard content will not work with SFSF adapter.

      If I am to use that, I have to create DT, MT, SI and also the proxy code, right?

      The scenario is not working and I face issues with the module configuration in SOAP Axis Receiver communication channel too

      Harish

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.