Skip to Content
author's profile photo Former Member
Former Member

"Invalid SFAPI session!" in HCM and Successfactors Integration

Dear All,

I am facing the error as "Invalid SFAPI session!" while running Employee data scenario program(RH_SFI_SYNCHRONIZE_EMPL_DATA) in HCM system.

As per my investigation the SF Session ID is not being retrieved from PI to back-end HCM system after the Pipeline step " XML validation Inbound Channel Response", instead its sending the below message.

<result>

<sessionId>$Version=0;</sessionId>

<msUntilPwdExpiration>2248719920</msUntilPwdExpiration>

</result>

After searching this error on SCN I found the below discussion for the same error, where its been advised to modify the standard UDF, but its not been mentioned as which UDF and in which Message mapping exactly needs to modify.

Kindly advice, as its the standard content provided by SAP. Anyone has faced this issue, please let me know which UDF and message mapping needs to be corrected.

Thanks and regards,

Farhan Khan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2015 at 07:25 AM

    Dear All,

    I have found a SAP note and attached pdf guide in the note((Manual_changes_for_note_1869807) for the above issue, where some manual changes needs to apply in messages mapping, delete the existing UDF and write a new UDF as shown below.

    However, when I am trying to apply this manual changes, I am not able to make the UDF accept multiple input as shown in the guide,

    setHTTPHeaderCookies is the UDF which is taking input from fields( concat, constant[Cookie] and constant[http://sap.com/xi/System/HTTP]).


    I have written the UDF as per the guide(Manual_changes_for_note_1869807) . However, I am not able to feed 3 inputs rather its accepting only one.


    SAP Note link https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361


    Could you please let me know how to make this UDF to accept 3 inputs?

    Thanks,

    Farhan


    UDF.PNG (31.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      According to SAP, this is the fix for our case: "SAP Note 2233772 - Axis XI30DynamicConfigurationHandler does not handle composite values correctly".

      Just as a reminder, in our case everything was working for more than one year without any recent channel adjusment, so it wasn't because of any channel configuration change.

      As I mentioned before, we recently applied the SP16 to our PI 7.31 Java SP08, and one of the notes contained in that SP (2174163) had a side effect, fixed by the recent 2233772 above.

      Regards,

      Douglas

  • Posted on Nov 07, 2015 at 03:45 PM

    Hi,

    Can you please let me know ID configuration as I am facing same issue.

    I am using ico with one soap axis receiver channel.

    Please help me to solve this issue.

    Regards,

    Mani

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2015 at 01:18 PM

    Hi Farhan,

    Can you please share the ID configuration screenshot with module as i m facing same issue.

    Regards,

    Mani

    Add a comment
    10|10000 characters needed characters exceeded

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.