cancel
Showing results for 
Search instead for 
Did you mean: 

SessionID Storing in SAP PO 7.4 for Sales Force Integration

1,564

Hi All,

I have developed SAP PO with Sales Force integration scenario.Here as all you know every time before posting data into sales force we need to get the session ID. i wrote a simple udf for getting dynamic url and sessionID. As a standard the sessionId will expires for every 2 hours.

Now my requirement is to store the sessionID in SAP PO and use the same ID for two hours until it gets expired. This requirement is to reduce the number hits on sales force.Kindly let me know how can we store sessionId dynamially and reuse it.

It will be great if someone can guide me in this regard.

Thanks,

Siva.

0 Kudos

Hi Siva,

I saw your solution here..

Yes, the solution was identified.

We have written a dynamic configuration UDF for calling a receiver SOAP communication channel. And, we have configured this channel in one dummy ICO.

So, during the execution of the message mapping step udf will trigger the channel, and it goes and fetch the session id back. Then, retrieved this session-id from udf and mapped it at the header field and it worked.

Can you please share me with the java program you tried and in message mapping between source and target headers did you write any UDF example like get session-id? or it's just 1 to 1 mapping.

0 Kudos

posting Screenshots will be better to understand.

View Entire Topic
0 Kudos

Do solution is identified?

Yes, solution was identified.

We have written a dynamic configuration UDF for calling a receiver SOAP communication channel. And, we have configured this channel in one dummy ICO.

So, during the execution of message mapping step udf will trigger the channel, and it goes and fetch the session id back. Then, retrieved this session id from udf and mapped at the header field and it worked.

Thanks,

Siva.