cancel
Showing results for 
Search instead for 
Did you mean: 

SuccessFactors Session ID (Length) in PI

adnanmaqbool
Contributor
0 Kudos

Dear All

I am using login/logout and upsert request interfaces to connect SAP HCM with Sucessfactor using PI.

Scenario which I am applying is employee profile scenario.

I am able to connect with Sucessfactor successfully and also receiving the Session ID back. It is same session ID which SOAP UI third party utility is returning. Which means there is no issue with session id.

Now when I am passing this session id to upsert Request our logout mapping , it is generating error that session id length is too long.

I am getting following error,

Message Mapping Error in Integration Repository.

mapping /ns1:logout. The message is: Exception:[java.lang.IllegalArgumentException: Value is too long (248/200): $Version=0; BIGipServerP; $path=/,$Version=0; BIGipServerP-API2; $path=/,$Version=0; JSESSIONID=E; $Path=/sfapi] in class com.sap.xi.tf._HCMlogoutRequest_to_SFSFlogoutRequest_ method setHTTPHeaderCookies$[$Version=0; BIGipServerP_hcm2preview.sapsf.eu-80=2115240458.20480.0000; $path=/,$Version=0; BIGipServerP; $path=/,$Version=0; JSESSIONID=E2; $Path=/sfapi, com.sap.aii.mappingtool.tf3.rt.Context@771b32b4]

MONI Error Logout Interface

  <SAP:Category>Application</SAP:Category>

  <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

  <SAP:P1>com/sap/xi/tf/_HCMlogoutRequest_to_SFSFlogoutRequ~</SAP:P1>

  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>

  <SAP:P3>RuntimeException in Message-Mapping transformation</SAP:P3>

  <SAP:P4>: Runtime exception during processing target fiel~</SAP:P4>

  <SAP:AdditionalText />

  <SAP:ApplicationFaultMessage namespace="" />

  <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_HCMlogoutRequest_to_SFSFlogoutRequ~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:RuntimeException in Message-Mapping transformation: Runtime exception during processing target fiel~</SAP:Stack>

  <SAP:Retry>M</SAP:Retry>

Moni Error Upsert Interface

<SAP:Category>Application</SAP:Category>

  <SAP:Code area="MAPPING">TRANSFORMER_EXCEPTION</SAP:Code>

  <SAP:P1>upsert_mapping</SAP:P1>

  <SAP:P2>http://sap.com/xi/SFIHCM01/IC</SAP:P2>

  <SAP:P3>01666576-78e4-11e1-c35c-cf350a4290b1</SAP:P3>

  <SAP:P4>-1</SAP:P4>

  <SAP:AdditionalText />

  <SAP:ApplicationFaultMessage namespace="" />

  <SAP:Stack>TransformerException occurred during XSLT mapping upsert_mapping (http://sap.com/xi/SFIHCM01/IC, 01666576-78e4-11e1-c35c-cf350a4290b1, -1)</SAP:Stack>

  <SAP:Retry>M</SAP:Retry>

Accepted Solutions (1)

Accepted Solutions (1)

adnanmaqbool
Contributor
0 Kudos

Dear All

Issue resolved by changing the mapping. We were connecting PI with HCI. Standard PI Content available in PI is for SAP to SSF so there is a need to map it according to HCI,

Answers (2)

Answers (2)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Adnan,

See also 2323611 Known issue notes/fixes for PI SuccessFactors integrations.

Regards
Mark

former_member204100
Active Participant
0 Kudos

Dear Adnan,

to solve this error you will need to implement these fixes from these notes:

#2038366 - Enhancing the dynamic header for SuccessFactors

#2028742 - XI runtime: Enhancing the dynamic header for SuccessFactors

Best Regards,

Viktor