Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change current user with another user

Former Member
0 Likes
1,129

Hi,

we need to change logon user with any other user.

How can modify sy-uname? there is a bapi or RFC that can do it?

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
660

Hi Maria,

I think its not possible to change the user name, because, if that is possible, then the purpose of having a password is meaningless.

Can you let us know what is your exact requirement?

Thanks,

Ravi

Read only

Former Member
0 Likes
660

Thanks Ravi,

i have an adapter R/3 (Tibco) which call an RFC that register an invoice in sap.

But is tibco's user that register this invoice, i need to register this invoice with an user that i obtain from web logon (not equal to tibco user).

It's possible?

thanks.

Read only

0 Likes
660

Hi Maria!

Before I would change handling of every document, which will be created via this adapter, I would look for a different setting:

I would expect, it's possible to use the actual user for the RFC-connection, too.

Otherwise it's not so easy to exchange the user-id for the document creation. Some BAPIs / FM have a parameter for the user-id, but this might be quite deep inside of the document creation.

Regards,

Christian