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

Call an rfc or function module as another user?

Former Member
0 Likes
5,678

hi, gurus,

I am wondering is that possible to call an rfc or function module, in an abap program, as another user? i mean with an user account with more authorization maybe?

for example, user A running a report, but he has not enough authorization to update certain data, but is it possible to call an rfc to update using another account with more authorization?

thx and best regards.

jun

1 REPLY 1
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
2,306

Hi,

There is one way of doing it,

When you create RFC connection the transaction SM59 you can assign there username and password using which we should connect to the remote sytstem. SO in your RFC connection give the USERNAME and PASSWORD Of the USER who has more authorizations.

SO when you make a call (any user) this user ID is used to make the CALL.

Regards,

Sesh

.