cancel
Showing results for 
Search instead for 
Did you mean: 

Changing portal user

Former Member
0 Kudos

Hi,

Is it possible to change the logged in user of the portal (change of user id and password) for one particular RFC.

I use a single JCO (ticket) connection for multiple applications. Now in one of these applications, there are two RFC calls, one for read and one for write, the read rfc needs to take place with the already establish JCO(ticket) which is mentioned earlier, but for the other i.e. write rfc, i need to use a particular user (technical user) to establish the RFC.

Since I use a JCO (ticket), is it possible to change the Portal user id and password programmitacally in order to acheive the above?

Or is there any other way to handle this scenario, without having to establish two JCO's?

Shradha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Shradha,

You are trying to apply wrong solution to quite common problem

Instead, I would like to suggest the following:

1. Define 2 JCo data destinations in SLD using WebDynpro content administrator -- one with SSO login, second with dedicated user.

2. At run-time use one or another destination depending on task (read or write)

Check this for brief introduction to [2]:

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Hi,

Thanks a lot for the reply!

Actually, the requirement is to have a single JCO, hence was trying out such an approach.

Is it really possible to acheive the mentioned requirement with a single JCO?

Shradha

Former Member
0 Kudos

Shradha,

Actually, I see no other way besides this. User re-login is impossible at least with existing public API.

What is the problem to have 2 JCo destination configured?

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

Hi Shradha,

For this particular requirement, you can also make use of SAP Enterprise Connector instead of JCo

Mahesh